Template:Flagdeco/doc
Jump to navigation
Jump to search
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. |
Displays a flag of the named parameter in "icon" size, currently 22x20 pixels plus a one pixel border. This template is very similar to Template: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}}
→ File:Flag of the United Nations.svg{{flagdeco|United Nations}}
→ File:Flag of the United Nations.svg
- Usage examples
{{flagdeco|France}} [[Paris]], [[France]]
→ Paris, France{{flagdeco|France}} [[French First Republic|France]]
→ France
See also[edit source]