Template:Flagdeco/core

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

[[File:{{{flag alias}}}|23x15px|border |alt=|link=]]

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Flagdeco/doc.


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.

See also[edit]