Difference between revisions of "Template:CH"

From blackwiki
Jump to navigation Jump to search
imported>ZH8000
(Grisons)
imported>ZH8000
m (correct ISO number)
Line 6: Line 6:
 
Use <code><nowiki>{{CH|LU}}</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}}
+
Use <code><nowiki>{{CH|LU|<language: ISO 639-1:2002, optional>}}</nowiki></code> to get the spelling in a different language, here Italian <code><nowiki>{{CH|LU|it}}</nowiki></code>: {{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>.

Revision as of 10:05, 10 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 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