Template:Flagdeco
From WikiAlpha
Revision as of 07:24, 6 August 2017 by LuisAnton (Talk | contribs) (Created page with "{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<noinclude>{{documentation}}</noinclude>")
File:Flag placeholder.svg
[edit] [ ] Template documentation
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page. |
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
- {{flagicon|United Nations}} → Template:Country data United Nations
- {{flagdeco|United Nations}} → Template:Country data United Nations
- Usage examples
{{flagdeco|France}} [[Paris]], [[France]]
→ Template:Country data France Paris, France{{flagdeco|France}} [[French First Republic|France]]
→ Template:Country data 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.
See also
The above documentation is transcluded from Template:Flagdeco/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |