Template:Translation: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(make template categorize in "Translations" and in "<language> translations")
(removed reference to sortkey in documentation)
Line 1: Line 1:
<b><big>[[Image:{{{1}}}.png]] {{{1}}} translation</big></b><br><includeonly>[[Category:Translations]][[Category:{{{1}}} translations]]</includeonly><noinclude>
<includeonly><b><big>[[Image:{{{1}}}.png]] {{{1}}} translation</big></b><br>[[Category:Translations]][[Category:{{{1}}} translations]]</includeonly><noinclude>
{{DisplayBox|bgcolor=g|text=
<nowiki>This template categorizes a page in [[:Category:Translations]] and in [[Category:<language> translations]].</nowiki>
;Usage:
<tt><nowiki>{{Translation|<language>}}</nowiki></tt>
}}<br>
{{prot-temp}}
{{prot-temp}}
{{DisplayBox|bgcolor=g|text=
'''Usage:'''
<pre>
{{Translation|<language>}}
or
{{Translation|<language>|9=<sortkey>}}
</pre>
This template categorizes a page in [[:Category:Translations]] and in [[Category:<language> translations]].
The second version is for providing an alternate sortkey (the default is the page name).
}}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 13:01, 15 December 2008


This template categorizes a page in [[:Category:Translations]] and in [[Category:<language> translations]].

Usage

{{Translation|<language>}}