Difference between revisions of "Template:Data template"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+link/note to Template:Data template used;)
m (*highlight where the documentation begins; *more specific category;)
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>
 
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.
 
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:Data template templates]]</noinclude>

Revision as of 14:59, 27 December 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.

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.