Difference between revisions of "Template:Data template"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+cat;)
(+example;)
Line 1: Line 1:
This templates should be reused in different translations and the suggested subpage name is {{{1}}}. The [[Kerbal_Space_Program_Wiki:Templates#Data templates|Templates]] help page contains additional information how to implement reusing. <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. {{#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>
  
 
----
 
----
Adds the preceding notice and adds the template to [[:Category:Translating Templates]]. Parameter {{{1}}} is the suggested subpage name.
+
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:Templates|Data Template]]</noinclude>
 
[[Category:Templates|Data Template]]</noinclude>

Revision as of 21:11, 1 May 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.


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.