Difference between revisions of "Template:Data template"
From Kerbal Space Program Wiki
(+example;) |
m (+link/note to Template:Data template used;) |
||
Line 1: | Line 1: | ||
− | To avoid adding the information for each language this templates should be reused and with the suggested subpage name <tt>/{{{1}}}</tt>. The [[Kerbal_Space_Program_Wiki:Templates#Data templates|Templates]] help page contains additional information how to implement reusing. {{#if: {{{2|}}}|For example [[{{{2}}}/{{{1}}}]] can be used in [[{{{2}}}]] and all it's translation via {{[[{{{2}}}/{{{1}}}|:{{{2}}}/{{{1}}}]]}}.}} <includeonly>[[Category:Translating Templates|{{PAGENAME}}]]</includeonly><noinclude> | + | To avoid adding the information for each language this templates should be reused and with the suggested subpage name <tt>/{{{1}}}</tt>. The [[Kerbal_Space_Program_Wiki:Templates#Data templates|Templates]] help page contains additional information how to implement reusing. All page which use template directly should add the {{Tl|Data template used}} note. {{#if: {{{2|}}}|For example [[{{{2}}}/{{{1}}}]] can be used in [[{{{2}}}]] and all it's translation via {{[[{{{2}}}/{{{1}}}|:{{{2}}}/{{{1}}}]]}}.}}<includeonly>[[Category:Translating Templates|{{PAGENAME}}]]</includeonly><noinclude> |
---- | ---- |
Revision as of 09:59, 16 July 2013
To avoid adding the information for each language this templates should be reused and with the suggested subpage name /{{{1}}}. The Templates help page contains additional information how to implement reusing. All page which use template directly should add the {{Data template used}} note.
Adds the preceding notice and adds the template to Category:Translating Templates. Parameter {{{1}}} is the suggested subpage name and mandatory. The parameter {{{2}}} is optional and is an example page which uses this method. The page and subpage with the suggested suffix {{{1}}} should be exist.