Difference between revisions of "Template:CH"

From blackwiki
Jump to navigation Jump to search
imported>ZH8000
m
imported>ZH8000
(Grisons)
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 second 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><noinclude>
 
</includeonly><noinclude>
  
 
Convert cantonal code to coat of arms plus link:
 
Convert cantonal code to coat of arms plus link:
use <code><nowiki>{{CH|LU|<language: ISO 3166-1 alpha-2, optional>}}</nowiki></code> to get {{CH|LU}}.
+
 
 +
Use <code><nowiki>{{CH|LU}}</nowiki></code> to get: {{CH|LU}}
 +
 
 +
Use <code><nowiki>{{CH|LU|<language: ISO 3166-1 alpha-2, optional>}}</nowiki></code> to get the spelling in a different language, here Italian: {{CH|LU|it}}
  
 
Third argument is optional. Valid third arguments currently are, either, <code>de</code>, <code>fr</code>, <code>it</code>, <code>rm</code>, or <code>en</code>; default is <code>en</code>.
 
Third argument is optional. Valid third arguments currently are, either, <code>de</code>, <code>fr</code>, <code>it</code>, <code>rm</code>, or <code>en</code>; default is <code>en</code>.
  
<code>lo</code> for local spelling is also a valid third argument, for example:
 
  
 +
<code>lo</code> for local primary spelling is also a valid third argument, for example:
  
 
*use <code><nowiki>{{CH|LU|lo}}</nowiki></code> to get {{CH|LU|lo}}
 
*use <code><nowiki>{{CH|LU|lo}}</nowiki></code> to get {{CH|LU|lo}}
 
 
*use <code><nowiki>{{CH|GE|lo}}</nowiki></code> to get {{CH|GE|lo}}
 
*use <code><nowiki>{{CH|GE|lo}}</nowiki></code> to get {{CH|GE|lo}}
 
*use <code><nowiki>{{CH|ZH|lo}}</nowiki></code> to get {{CH|ZH|lo}}
 
*use <code><nowiki>{{CH|ZH|lo}}</nowiki></code> to get {{CH|ZH|lo}}
*use <code><nowiki>{{CH|TI|lo}}</nowiki></code> to get {{CH|TI|lo}}
+
*use <code><nowiki>{{CH|GR|lo}}</nowiki></code> to get {{CH|GR|lo}}
 +
*use <code><nowiki>{{CH|GR|rm}}</nowiki></code> to get {{CH|GR|rm}}
  
 
;See also
 
;See also

Revision as of 21:01, 9 April 2018


Convert cantonal code to coat of arms plus link:

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


Use {{CH|LU|<language: ISO 3166-1 alpha-2, optional>}} to get the spelling in a different language, here Italian: 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