Template:Country data Democratic Republic of Afghanistan

Documentation icon Template documentation

Template:Country data Democratic Republic of Afghanistan is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Flag of Afghanistan (1987–1992).svg

Standard parameters

Parameter nameValueMeaning
alias Democratic Republic of Afghanistan Main article name (Democratic Republic of Afghanistan)
shortname alias Afghanistan (optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example
flag alias Flag of Afghanistan (1987–1992).svg Image name (File:Flag of Afghanistan (1987–1992).svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1978Flag of Afghanistan (1978).svgFlag of Afghanistan (1978).svg
1979Flag of Afghanistan (1978–1980).svgFlag of Afghanistan (1978-1980).svg
1980Flag of Afghanistan (1980–1987).svgFlag of Afghanistan (1980-1987).svg

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias name{{flag|alias}} output{{flagcountry|alias}} output
DR Afghanistan (view) DR Afghanistan Afghanistan
D.R. Afghanistan (view)Template:Country data D.R. AfghanistanTemplate:Country data D.R. Afghanistan
Republic of Afghanistan (1987–1992) (view)Template:Country data Republic of Afghanistan (1987–1992)Template:Country data Republic of Afghanistan (1987–1992)
Republic of Afghanistan (1987–92) (view)Template:Country data Republic of Afghanistan (1987–92)Template:Country data Republic of Afghanistan (1987–92)

See What links here for a full list of redirects.

Example usage

Using a flag variant

Using a redirect alias

  • {{flagicon|DR Afghanistan}}Democratic Republic of Afghanistan
  • {{flagcountry|DR Afghanistan}} Afghanistan
  • {{flag|DR Afghanistan}} DR Afghanistan

Related templates

Please see the following related country_data templates:


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Country data Democratic Republic of Afghanistan

<templatedata> {

 "description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
 "params": {}

} </templatedata>