Template:Flagicon

From New wiki
Jump to navigation Jump to search

[[File:Flag of {{{1}}}.svg|16px|link=|class=noviewer|text-bottom]] {{{1}}}

Documentation

This template displays a uniform 16px inline icon followed by a linked name. By default, it assumes the image is named Flag of [Name].svg. It is designed to sit cleanly within a line of text or a data table without altering line heights.

Usage

Standard Usage (Geographic) If the image follows the standard naming convention, you only need to provide the name.

  • Code: {{Flagicon|France}}
  • Behavior: Looks for File:Flag of France.svg and creates a link to the France page.

Custom Image Usage (Organizations/Specific Files) If the logo or icon does not follow the standard naming convention, use the image= parameter to override it.

  • Code: {{Flagicon|Insurer BRAIN|image=legal-structure-icon.svg}}
  • Behavior: Uses File:legal-structure-icon.svg and creates a link to the Insurer BRAIN page.

Parameters

  • 1 (Required): The name of the entity. This acts as both the text label and the target for the wikilink. It also sets the default image search.
  • image (Optional): The exact file name (including the extension, like .svg) to be displayed, overriding the default flag search. Do not include the "File:" prefix.