سانچو:Flagdeco
This template is used on 82,000 pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Displays the flag identified by the parameter in "icon" size, currently 22x20 pixels plus a one pixel border. This template is very similar to {{flagicon}}, except the image is not linked to an article, i.e. it is "purely decorative" per World Wide Web Consortium (W3C) Web Content Accessibility Guidelines (WCAG). This template can be used when the article text immediately adjacent to the icon provides the associated link for the flag.
- Comparison example
- Usage examples
{{flagdeco|France}} [[Paris]], [[France]]
→ Paris, France{{flagdeco|France}} [[French First Republic|France]]
→ France
As with {{flagicon}}, a particular variant of the flag and/or a custom size for the icon may be specified using (respectively) |variant= and/or |size=. See {{flagicon}} for further details.
Also as with {{flagicon}}, the display of a redlink when Template:Country data Foo
does not exist can be suppressed by using the |noredlink=yes parameter. See
{{flagicon}} for further details.
Tracking categories
[سنواريو]Where {{Flagdeco|Foo}}
is used, but the Template:Country data Foo
does not exist, then a redlink is displayed, unless the | parameter has been set.
Where the redlink is displayed, the page is addded to a tracking category:
- Category:Flagdeco with missing country data templates (population: 4)
See also
[سنواريو]مٿي ڏنل دستاويز صفحو سانچو:Flagdeco/دستاويز سان شامل ڪئي ويئي آهي۔ (سنواريو | تاريخچو) يوزر سانچي جي ريتخانو (تخليق | آئينو) ۽ ثابتات (تخليق) ۾ تجربا ڪري سگهن ٿا۔ براه ڪرم /دستاويز جي هيٺين صفحي تي زمرا شامل فرمايو۔ هن سانچو جا هيٺيان صفحا۔ |