Difference between revisions of "Template:Flagdeco/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus (a slight rephrasing, added variant/size parameter availability) |
imported>Wbm1058 m (high-use template) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | {{high-use|82,000}} | |
Displays the flag identified by the parameter in "icon" size, currently 22x20 pixels plus a one pixel border. This template is very similar to {{tl|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. | Displays the flag identified by the parameter in "icon" size, currently 22x20 pixels plus a one pixel border. This template is very similar to {{tl|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. | ||
Revision as of 13:30, 21 October 2017
| 40px | This is a documentation subpage for Template:Flagdeco. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 116,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
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]]→ File:Flag of France.svg Paris, France{{flagdeco|France}} [[French First Republic|France]]→ File:Flag of France.svg 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.
See also