قالب:Flag template documentation/doc
هذه صفحة توثيق
قالب:Flag template documentation الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
This template is used to automatically generate documentation for standard flag templates.
Usage[تعديل]
Template documentation
Description
{ISO
}
Renders a flag icon and wikilink to [[قالب:Country data Country name|قالب:Country data Country name]]. This template is equivalent to {{flag|Country name}}
, but is named after the standard three letter ISO 3166-1 alpha-3 country code for Country name as a shorthand editing convenience.
You can also use {{IOC}}
or {{FIFA}}
(which are redirects to this template) because "IOC" is the IOC code and "FIFA" is the FIFA code for Country name.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Flag template documentation in articles based on its TemplateData.
TemplateData for Flag template documentation
Renders a flag icon and wikilink. Takes no parameters.
وسيط وصف نوع حالة لا معاملات محددة
شوف كمان
- Template:Country data Country name—for more options, such as historical flag variations where applicable
- Wikipedia:WikiProject Flag Template—for a complete discussion of the flag template system
- Wikipedia:Inline templates linking country articles—for a complete list of these "shorthand" flag templates
- Parameters
- Country name — matches the parameter used with {{flag}} within the flag template itself
- ISO — ISO 3166-1 alpha-3 country code
- IOC — IOC country code
- FIFA — FIFA country code
If any of the three codes are not applicable for a particular country, leave the respective parameters blank.
This template is placed on the flag template itself (similar to how the {{documentation}} template is placed). This template depends on the mandatory existence of a /doc subpage, which is only used to transclude interwiki links.