Difference between revisions of "Template:Flagdeco/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(new)
 
imported>Andrwsc
(add more examples, since this apparently isn't obvious how the template is helpful)
Line 5: Line 5:
 
*{{tlx|flagicon|United Nations}} → {{flagicon|United Nations}}
 
*{{tlx|flagicon|United Nations}} → {{flagicon|United Nations}}
 
*{{tlx|flagdeco|United Nations}} → {{flagdeco|United Nations}}
 
*{{tlx|flagdeco|United Nations}} → {{flagdeco|United Nations}}
 +
 +
;Usage examples:
 +
*<code><nowiki>{{flagdeco|France}} [[Paris]], [[France]]</nowiki></code> → {{flagdeco|France}} [[Paris]], [[France]]
 +
*<code><nowiki>{{flagdeco|France}} [[French First Republic|France]]</nowiki></code> → {{flagdeco|France}} [[French First Republic|France]]
  
 
== See also ==
 
== See also ==

Revision as of 15:55, 5 November 2010

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
Usage examples
  • {{flagdeco|France}} [[Paris]], [[France]] Paris, France
  • {{flagdeco|France}} [[French First Republic|France]] France

See also