Jump to content

Template:Flag link/doc

Wikipedia ལས།

Description

[ཞུན་དག]

{{flag link|country|link|variant=optional|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked article. The name of the country is the prefix of the wikilink, but the display text is just the name of the country by itself.

For example, {{flag link|Brazil|at the 2007 Pan American Games}} has the same effect as {{flag decoration|Brazil}} [[Brazil at the 2007 Pan American Games|Brazil]], both producing:  བཱརཱ་ཛིལ་.

For the first parameter, see Category:Country data templates and Category:Country data redirects for acceptable values.

TemplateData

[ཞུན་དག]

Produces a flag icon attached to a wikilinked article.

Template parameters

ParameterDescriptionTypeStatus
Nation1

Use the name of the country/region as per the set of templates in [[:Category:Country data templates]] or an "alias" (such as a three-letter country code) as per the set of templates in [[:Category:Country data redirects]]

Stringrequired
Link2

Specifies the suffix to append to the country's name to form the wikilink

Stringsuggested
Variant3 variant

Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate country data template.

Stringoptional
Sizesize

Changes the flag icon size (use sparingly!)

Unknownoptional
Namename

Changes the wikilink display text

Unknownoptional

Template:Flag templates


"https://dz.wikipedia.org/w/index.php?title=Template:Flag_link/doc&oldid=36518" ལས་ སླར་འདྲེན་འབད་ཡོདཔ།