Sjabloon:Vlag/doc

Uit Radiopedia

Dit sjabloon wordt gebruikt om een klein vlagicoontje naast een landnaam te tonen. Het is gerelateerd aan het {{vlagicoon}} sjabloon, maar beschikt over meer opties. De belangrijkste Europese landen, de VS, Canada, Australië en Nieuw Zeeland zijn momenteel beschikbaar. In tegenstelling tot de Engelse wiki is het niet mogelijk om bijvoorbeeld oude- of marinevlaggen te tonen. Ook de IOC en ISO landencodes zijn niet beschikbaar.

Zie wikipedia:Wikipedia:WikiProject Flag Template op de Engelstalige wikipedia voor uitgebreide documentatie over dit vlaggetjessysteem.

Gebruik[bewerken]

{{vlag|country identifier|optional variant|name=alternative text string}}

  • country identifier is the common name of the country (e.g. "United States"), a common alias (e.g. "US"), or a standard country code such as those listed at ISO 3166-1 alpha-3
  • variant is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as Template:Country data Germany
  • alternative text string, specified by the name parameter, is used to display alternative text

See the prefix index for the templates latently called by this one.

Voorbeelden[bewerken]

Wiki markup Displays Notes
{{vlag|United States}}  United States
{{vlag|Duitsland}}  Duitsland
{{vlag|Switzerland|size=15px}}  Switzerland The size parameter can be used to control the image dimensions.
" Switzerland" is the default size.
{{vlag|Switzerland|size=28px}}  Switzerland

See also[bewerken]