Skabelon:Flagright/doc

Fra Wikipedia, den frie encyklopædi

This template works like the {{flag}} template, but displays the flag to the right of the country name.

The template can display every country/territory with a "Lande data ..." skabelon, and abbreviations are also possible:

Wikicode Result Notes
{{flagright|Indien}} Indien  Uses {{Lande data Indien}} to know which flag to use and which article to link to.
{{flagright|USSR}} USSR  Uses {{Lande data USSR}}, which redirects to {{Lande data Sovjetunionen}}.
{{flagright|GUY}} GUY  Uses {{Lande data GUY}}, which redirects to {{Lande data Guyana}}.
Note: To display "Guyana" rather than "GUY", the parameter |name= can be used (see Côte d'Ivoire example below). Or just use {{flagright|Guyana}}.

Other parameters include:

Wikicode Result Notes
{{flagright|Myanmar|variant=1974}} Myanmar  The "variant" parameter and second unnamed parameter (they function identically) can be used to display a historical or alternative flag. Possible variants are listed on each country's respective country data template (in these examples {{Lande data Myanmar}} and {{Lande data Australien}}).
{{flagright|Australien|naval}} Australien 
{{flagright|Frankrig|size=40px}} Frankrig  The "size" parameter changes the size of the flag icon (in this example, its width is specified). Default size for flag icons is 23x15px (no more than 23px wide, no more than 15px high), though some entities have a different default size specified in their respective country data template.
{{flagright|Elfenbenskysten|name=Côte d'Ivoire}} Côte d'Ivoire  The "name" parameter changes the default displayed name (in this case "Elfenbenskysten") to the specified name, while linking to the same article.