Template:Emblem

From 118Wiki
Revision as of 11:28, 27 May 2024 by Jovenan (talk | contribs) (some documentation)
Jump to navigation Jump to search
Template Documentation
Note: This template is currently under construction.
This notice was placed here by Jovenan, so go bug her to finish the page if nothing's happening.


Displays a small emblem (such as a seal, arms or flag) for a faction, planetary government or similar entity. For ship logo picker, see Template:Logo.

Usage

Simple usage:

{{Emblem | }}

More complex usage:

{{Emblem | | variant = | link = }}

Full usage:

{{Emblem | | variant = | link = | text = | size = | font size = | tstyle = }}

Unnamed parameter determines the emblem of which entity is shown. If the entity is not on the list or is spelled differently, a placeholder is displayed. Unless text or link parameters are used, the name of the entity is displayed as spelled in the unnamed parameter. Note: Different capitalizations are accepted by the emblem picker, but not by the links! If you see the correct emblem but a red link, check your capitalization or use text or link parameters. The only mandatory parameter.

variant determines which variant of is used for the emblem if multiple exist. Some entities may have, for example, a grey variant, historical variants or flags. Unless determined, a default emblem is displayed.

link changes the link of the emblem and the text following it. If “no” entered, disables links. If text parameter is not given and link is, the value of the link parameter is displayed as text.

size determines the size of the emblem. Use standard wiki image size options. Defaults to 20x20px.

font size determines the size of the text after the emblem. Use standard wiki font size options. Defaults to 95%.

tstyle allows further text formatting options. Use CSS.

Examples

Federation Federation
Klingon Empire Klingon Empire
Romulan Star Empire Romulan Star Empire
Romulan Republic Romulan Republic
Cardassian Union Cardassian Union
Tholian Assembly Tholian Assembly

Kathesis Pact Kathesis Pact