Difference between revisions of "Template:Data template"
From Kerbal Space Program Wiki
(Created page with "This templates should be reused in different translations and the suggested subpage name is {{{1}}}. The Templates help ...") |
m (-random case;) |
||
(5 intermediate revisions by the same user not shown) | |||
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. 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> | |
+ | == Documentation == | ||
+ | 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. | ||
− | + | [[Category:Data template templates]]</noinclude> | |
− |
Latest revision as of 16:23, 26 January 2014
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.
Documentation
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.