ढाँचा:Flagcountry

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search

{{country data {{{1}}}|flagcountry/core|variant=|size=|name=}}

Template documentation[view] [edit] [history] [purge]
The template documentation below is transcluded from ढाँचा:Flagcountry/doc [edit]

Displays the flag and the name of a country, linked to the main article of that country (flag + country).

The first parameter is mandatory and identifies the name of the country.

Examples:

Optional parameters:

  • {{flagcountry|फ्रांस|size=40px}} =  फ्रांस — to use a non-default flag size
  • {{flagcountry|फ्रांस|name=C'est la France}} =  C'est la France — to produce a non-default link-text
  • {{flagcountry|फ्रांस|free}} =  फ्रांस — to use a flag variant. In this example, the historical flag for Free France (1940-1945) is identified by the second parameter of "free". The list of flag variants is specific for each country.

Implementation[सम्पादन गर्ने]

This template uses the data templates listed under category:country data templates, which contain the data what to display (Example: template:देश आँकड़े फ्रांस) and the formatter template:country flagcountry2, which contains the logic how to display the देश आँकड़े.

Related templates[सम्पादन गर्ने]

See also[सम्पादन गर्ने]