Difference between revisions of "Template:Translation switching"

From Team Fortress Wiki
Jump to: navigation, search
Line 4: Line 4:
 
   | 2 = This template uses [[Help:Translation switching|translation switching]]. The correct language will be displayed automatically.
 
   | 2 = This template uses [[Help:Translation switching|translation switching]]. The correct language will be displayed automatically.
 
   | 3style = font-size: 90%;
 
   | 3style = font-size: 90%;
   | 3 = Localized versions of this template (e.g. ''Template:{{BASEPAGENAME}}/ru'') are not necessary. Add your translations directly to this template by [{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} editing it].<br />'''Supported languages for this template''': {{{1|none}}}&nbsp;([{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} add])
+
   | 3 = Localized versions of this template (e.g. ''Template:{{BASEPAGENAME}}/ru'') are not necessary. Add your translations directly to this template by [{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} editing it].{{#if:{{{2|}}}{{{note|yes}}}
 +
  | <br />'''Note''': {{{2|{{{note}}}}}}
 +
  }}<br />'''Supported languages for this template''': {{{1|none}}}&nbsp;([{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} add])
 
   }}
 
   }}
 
}}<includeonly>[[Category:Templates that use translation switching|{{PAGENAME}}]]<!--  
 
}}<includeonly>[[Category:Templates that use translation switching|{{PAGENAME}}]]<!--  
Line 25: Line 27:
 
* It will categorize them into [[:Category:Templates that use translation switching]].
 
* It will categorize them into [[:Category:Templates that use translation switching]].
 
* If no languages are defined, this template will categorize the page into [[:Category:Templates requiring translation]].
 
* If no languages are defined, this template will categorize the page into [[:Category:Templates requiring translation]].
 +
* You can also add a note to the template: e.g. {{tlx|translation switching|de, fr, ja, pl|Only one line needs to be translated.}}
  
 
[[Category:Language templates|Translation switching]]
 
[[Category:Language templates|Translation switching]]
 
[[Category:Maintenance templates|Translation switching]]
 
[[Category:Maintenance templates|Translation switching]]
 
</noinclude>
 
</noinclude>

Revision as of 22:45, 5 October 2010