قالب:Wp/doc
< قالب:Wp
هذه صفحة توثيق فرعية لـ قالب:Wp. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Description
{{wp|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked men's national water polo team article.
- Parameters
- nation – Use either the name of the nation or the three-letter country code as used by the IOC.
- variant (optional) – Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
- size (optional) – Can be used to change the flag icon size (use sparingly!)
- name (optional) – Can be used to change the wikilink display text.
Examples
{{wp|Hungary}}
→ المجر{{wp|HUN}}
→ المجر{{wp|Hungary|1956}}
→ المجر{{wp|HUN|1956}}
→ المجر{{wp|Hungary|name=HUN}}
→ المجر{{wp|HUN|name=HUN}}
→ المجر{{wp|Hungary|1956|name=HUN}}
→ المجر{{wp|HUN|1956|name=HUN}}
→ المجر
Parameters
This is the بيانات القالب documentation for this template used by المحرر المرئي وأدوات أخرى.
See the monthly error report for this template.
TemplateData for Wp
Produces a flag icon attached to a wikilinked men's national water polo team article.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Nation | 1 | Use either the name of the nation or the three-letter country code as used by the IOC
| نص | مطلوب |
Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| نص | اختياري |
Icon size | size | Can be used to change the flag icon size (use sparingly!) | غير معروف | اختياري |
Link text | name | Can be used to change the wikilink display text | غير معروف | اختياري |
See also
- Template:wp-code – for adding the country code in parentheses
- Template:wp-rt – for rendering the flag on the right
- Template:wp-big – for rendering a larger flag, with the team name underneath the flag
- Template:wpicon – for rendering the flag on its own, with a wikilink to the team article
- Template:wpw, Template:wpw-code, Template:wpw-rt, Template:wpw-big and Template:wpwicon – for women's national water polo teams
- Category:National water polo teams