Difference between revisions of "Template:CH"
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
Usage
Convert cantonal code to coat of arms plus link:
Use {{CH|LU}} to get:
Lucerne
Use {{CH|LU|<language: ISO 639-1:2002, optional>}} to get the spelling in a different language, here Italian {{CH|LU|it}}:
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
Luzern
- use
{{CH|GE|lo}}to get
Genève
- use
{{CH|ZH|lo}}to get File:Wappen Zürich matt.svg Zürich
- use
{{CH|GR|lo}}to get
Graubünden
- use
{{CH|GR|rm}}to get
Grischun
See also
| The above documentation is transcluded from Template:CH/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |