Template:Flagicon: Difference between revisions

Content deleted Content added
Created page with "<span class="flagicon" style="white-space:nowrap;">[[File:{{{image|Flag of {{{1}}}.svg}}}|16px|link=|class=noviewer|text-bottom]] [[{{{1}}}]]</span><noinclude> == Documentation == This template displays a uniform 16px inline icon followed by a linked name. By default, it assumes the image is named <code>Flag of [Name].svg</code>. It is designed to sit cleanly within a line of text or a data table without altering line heights. === Usage === '''Standard Usage (Geog..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1:
<span class="flagicon" style="white-space:nowrap;">[[File:{{{image|Flag of {{{1}}}.svg}}}|16px|link=|class=noviewer|text-bottom]]&nbsp;[[{{{1}}}]]</span><noinclude>
== Documentation ==
This template displays a uniform 16px inline icon followed by a linked name. By default, it assumes the image is named <code>Flag of [Name].svg</code>. It is designed to sit cleanly within a line of text or a data table without altering line heights.
Line 12:
'''Custom Image Usage (Organizations/Specific Files)'''
If the logo or icon does not follow the standard naming convention, use the <code>image=</code> parameter to override it.
* '''Code:''' <code><nowiki>{{Flagicon|AXAInsurer BRAIN|image=legal-structure-icon.svg}}</nowiki></code>
* '''Behavior:''' Uses <code>File:legal-structure-icon.svg</code> and creates a link to the [[AXAInsurer BRAIN]] page.
 
=== Parameters ===