Шаблон:Парчам
[[|]]


This template is used to display a small flag icon next to a wikilinked country name. It is related to the {{flagicon}}, {{Парчамбандӣ}} and {{flagu}} templates, but offers more options in terms of the text string displayed.
See ВикиЛоиҳаи Шаблони Парчам for the main documentation/discussion page for the flag templates system.
Истифода[вироиш]
{{парчам|муайянкунандаи давлат|варианти интихоби|name=матни алтернативи|size=бари максимали ва/ё баландии расми парчам}}
- муайянкунандаи давлат 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 en:ISO 3166-1 alpha-3
- вариант 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 Олмон
- матни алтернативи, this optional value, specified by the name parameter, is used to display alternative text
- size, this optional value is specified by the size parameter, and is used to specify the maximum width and/or height of the flag image. This parameter is specified using standard image syntax.
See the prefix index for the templates latently called by this one.
Мисолҳо[вироиш]
Тоҷикистон. Вариантҳои парчам дар шаблони {{парчам|Тоҷикистон}}
:
Wiki markup | Displays |
---|---|
{{парчам|TJK}} |
![]() |
{{парчам|Tajikistan}} |
![]() |
{{парчам|Тоҷикистон}} |
![]() |
{{парчам|Тоҷикистон|1991}} |
![]() |
{{парчам|Тоҷикистон|size=44px|1991}} |
![]() |
{{парчам|Тоҷикистон|1991|size=44x20px}} |
![]() |
Дигар мамлакатҳо:
Wiki ишора | Натиҷа | Қайдҳо |
---|---|---|
{{парчам|USA}} [!] |
|
|
{{парчам|United States}} |
![]() |
|
{{парчам|ИМА}} |
![]() |
|
{{парчам|Иёлоти Муттаҳида}} |
![]() |
|
{{парчам|Иёлоти Муттаҳидаи Амрико}} |
![]() |
|
{{парчам|Непал}} |
![]() |
|
{{парчам|Олмон}} |
![]() |
All three instances link to Олмон. In addition to the ISO country codes, those used by FIFA, IOC, etc. are also supported. |
{{парчам|DEU}} |
![]() |
|
{{парчам|GER}} |
![]() |
|
{{парчам|Олмон|empire}} |
![]() |
Flag variations can be used with either country names or country codes. |
{{парчам|DEU|empire}} |
![]() |
|
{{парчам|EU}} |
![]() |
|
{{парчам|Арманистон|size=14px}} |
![]() |
The size parameter can be used to control the image dimensions. 23×15px is the default size for most countries (some entities have a different default size). |
{{парчам|Арманистон|size=28px}} |
![]() |
TemplateData[вироиш]
Парчам
This template displays a small flag icon next to a wikilinked country name
Template parameters
Parameter | Description | Type | Status | |
---|---|---|---|---|
Муайянкунандаи давлат | 1 |
Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code
|
String | required |
Вариант | 2 |
Identifies a flag variant to be used instead of the standard flag, e.g. 1815
|
String | optional |
Матни алтернативи | name |
Display alternative text instead of the standard country name
|
String | optional |
Андозаи максималь | size |
The maximum width or height, specified via standard 'extended image syntax' (e.g. x30px)
|
String | optional |
Нигаред: en:Wikipedia:Extended image syntax.
Инчунин нигаред[вироиш]
Шаблон | Эзоҳот | Мисол |
---|---|---|
{{Coat of arms}} | displays coat of arms image | Шаблон:Coat of arms |
{{Парчамбандӣ}} | always expands the link text to the full country name | ![]() |
{{Flagu}} | does not link the country name | ![]() |
{{Flagicon}} | displays the flag only, linked to the country name | ![]() |
{{Flagdeco}} | displays an unlinked flag icon only | ![]() |
{{Flagc}} | links the flag image to its description page | ![]() |
{{Flaglist}} | aligns country names correctly in vertical lists (see that template's documentation) | ![]() |
{{Flagteam}} | adds country code in parentheses after linked country name | ![]() |
{{Flagathlete}} | displays the flag and another name, followed country name or code | ![]() |
{{Flagmedalist}} | displays the flag and a name, above linked country name and code | Дилшод Назаров![]() |
Рӯйхати пурраи Википедиа:Лоиҳа:Шаблони Парчам#Рӯйхат шаблонҳои парчам.