Difference between revisions of "Template:CH"

From blackwiki
Jump to navigation Jump to search
imported>ZH8000
(Docu template)
imported>ZH8000
m
 
Line 1: Line 1:
 
<includeonly><span style="display:none;">{{{1|}}}</span>[[File:Wappen {{CH/canton|{{{1|}}}|de<!-- All cantonal flag files follow a German naming convention! -->}} matt.svg|20px|]]  [[Canton of {{CH/canton|{{{1|}}}<!-- in order to get a direct link to the article, use the default for the third argument -->}}|{{CH/canton|{{{1|}}}|{{{2|en}}}}}]]
 
<includeonly><span style="display:none;">{{{1|}}}</span>[[File:Wappen {{CH/canton|{{{1|}}}|de<!-- All cantonal flag files follow a German naming convention! -->}} matt.svg|20px|]]  [[Canton of {{CH/canton|{{{1|}}}<!-- in order to get a direct link to the article, use the default for the third argument -->}}|{{CH/canton|{{{1|}}}|{{{2|en}}}}}]]
</includeonly>
+
</includeonly><noinclude>
 
 
<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 10:35, 10 April 2018

Template documentation[view] [edit] [history] [purge]

Usage

Convert cantonal code to coat of arms plus link:

Use {{CH|LU}} to get: LUWappen Luzern matt.svg Lucerne


Use {{CH|LU|<language: ISO 639-1:2002, optional>}} to get the spelling in a different language, here Italian {{CH|LU|it}}: LUWappen Luzern matt.svg Lucerna


Third argument is optional. Valid third arguments currently are, either, de, fr, it, rm, or en; default is en.


lo for local primary spelling is also a valid third argument, for example:

  • use {{CH|LU|lo}} to get LUWappen Luzern matt.svg Luzern


See also