Difference between revisions of "Template:Translation switching"

From Team Fortress Wiki
Jump to: navigation, search
m
m (sorted user templates)
Line 8: Line 8:
 
   }}<br />'''Supported languages for this template''': {{{1|none}}}&nbsp;([{{fullurl:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{PAGENAME}}|action=edit}} add])
 
   }}<br />'''Supported languages for this template''': {{{1|none}}}&nbsp;([{{fullurl:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{PAGENAME}}|action=edit}} add])
 
   }}
 
   }}
}}<includeonly>[[Category:Templates that use translation switching|{{PAGENAME}}]]<!--  
+
}}<includeonly>{{#ifeq:{{NAMESPACE}}|User|[[Category:User templates|{{PAGENAME}}]]|[[Category:Templates that use translation switching|{{PAGENAME}}]]}}<!--  
  
 
   // If no languages are listed, place the page in a category. If languages listed is "en", "none", etc, also add the category.
 
   // If no languages are listed, place the page in a category. If languages listed is "en", "none", etc, also add the category.
Line 20: Line 20:
 
  }}
 
  }}
 
| [[Category:Templates requiring translation|{{PAGENAME}}]]
 
| [[Category:Templates requiring translation|{{PAGENAME}}]]
}}{{#ifeq:{{NAMESPACE}}|User|[[Category:User templates]]}}</includeonly><noinclude>
+
}}</includeonly><noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
This template is used to mark the pages of other templates that use '''[[Help:Translation switching|translation switching]]'''. Pages are automatically placed into the category [[:Category:Templates that use translation switching|Templates that use translation switching]] to find them later with ease.
 
This template is used to mark the pages of other templates that use '''[[Help:Translation switching|translation switching]]'''. Pages are automatically placed into the category [[:Category:Templates that use translation switching|Templates that use translation switching]] to find them later with ease.

Revision as of 16:23, 26 September 2015

Documentation for Translation switching

This template is used to mark the pages of other templates that use translation switching. Pages are automatically placed into the category Templates that use translation switching to find them later with ease.

Usage

Place {{translation switching}} (or {{ts}}) inside the <noinclude> tags and above the documentation template (either {{doc begin}} or {{template doc}}).

See also