Template:Emblem: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(some more entites & variants)
(adding grey kobali variant (whoops, forgot to before))
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
| #default = Cardassian Union.png}}
| #default = Cardassian Union.png}}


<!-- FEDERATION -->
<!-- FEDERATION (note, Starfleet separate) -->
|federation | united federation of planets | UFP = {{#switch: {{lc: {{{variant|}}}}}
|federation | united federation of planets | ufp = {{#switch: {{lc: {{{variant|}}}}}
| grey | gray = UFP-Gray.png
| grey | gray = UFP-Gray.png
| black = Generic-black.png
| #default = UFP.png}}
| #default = UFP.png}}


Line 17: Line 18:


<!-- KLINGON EMPIRE -->
<!-- KLINGON EMPIRE -->
| klingon empire = {{#switch: {{lc: {{{variant|}}}}}
| klingon | klingon empire = {{#switch: {{lc: {{{variant|}}}}}
| tng = Klingon - tng.jpg
| tng = Klingon - tng.jpg
| grey | gray = Klingon Empire-Gray.png
| grey | gray = Klingon Empire-Gray.png
| #default = Klingon Empire.png}}
| #default = Klingon Empire.png}}
<!-- KOBALI -->
| kobali = {{#switch: {{lc: {{{variant|}}}}}
| grey | gray = Kobali Grey Logo.png
| #default = Kobali Logo.png}}


<!-- ROMULAN REPUBLIC -->
<!-- ROMULAN REPUBLIC -->
Line 32: Line 38:
| grey | gray = Romulan Star Empire-Gray.png
| grey | gray = Romulan Star Empire-Gray.png
| #default = Romulan Star Empire.png}}
| #default = Romulan Star Empire.png}}
<!-- TERRAN EMPIRE (MIRROR) -->
|terran empire = {{#switch: {{lc: {{{variant|}}}}}
| grey | gray = Mirror-universe-symbol.png
| #default = Mirror-universe.jpg}}


<!-- THOLIAN ASSEMBLY -->
<!-- THOLIAN ASSEMBLY -->
|tholian assembly = {{#switch: {{lc: {{{variant|}}}}}
|tholian | tholian assembly = {{#switch: {{lc: {{{variant|}}}}}
| grey | gray = Tholian Assembly-Gray.png
| grey | gray = Tholian Assembly-Gray.png
| #default = Tholian Assembly.png}}
| #default = Tholian Assembly.png}}


<!-- MINOR ENTITIES -->
<!-- MINOR ENTITIES AND SPECIES -->
|andorian | andoria | andor | andorian imperial guard = AndorianEmblem.jpg
|apakan = ApakanEmblem.jpg
|bajoran | bajor | bajoran militia = Bajoransymbol.png
|betazed | betazoid = Betazed4.png
|bolian = BolianEmblem.jpg
|bolian = BolianEmblem.jpg
|maquis reborn = Maquis.png
|borg | borg collective | borg queen = Borg Collective Emblem.png
|rigelian assembly = Rigelian Assembly.png
|edo | edo god | rubicun | rubicun iii = Edo Logo.png
|risian = Risian Hedony.png
|gorn = Gornsymbol.jpg
|maquis | maquis reborn = Maquis.png
|medusan = Medusan insignia.jpg
|rigelian | rigelian assembly = Rigelian Assembly.png
|risa | risian | risian hedony = Risian Hedony.png
|tellarite | tellar = Tellarite Emblem.png
|tkon | t'kon | t'kon empire = TKonEmpireSymbol.JPG
|trill = Trill Emblem.png
|starfleet = Icons command.png
|vulcan = Vulcan idic.png
|vulcan = Vulcan idic.png
|zaldan = Zaldan insignia.jpg


<!-- DEFAULT EMBLEM -->
<!-- DEFAULT EMBLEM -->
Line 53: Line 77:


TEXT OPTIONS
TEXT OPTIONS
-->{{#ifeq: {{{text|}}} | no ||&nbsp;<span style="font-size:{{{font size|95%}}};{{{tstyle|}}}">{{#ifeq: {{lc: {{{link|}}}}} | no | {{{text|{{{1|}}}}}} | [[{{{link|{{{1|}}}}}}|{{{text|{{{link|{{{1|}}}}}}}}}]]}}</span>}}</includeonly><!--
-->{{#ifeq: {{{text|}}} | no ||&nbsp;<span style="font-size:{{{font size|inherit}}};{{{tstyle|}}}">{{#ifeq: {{lc: {{{link|}}}}} | no | {{{text|{{{1|}}}}}} | [[{{{link|{{{1|}}}}}}|{{{text|{{{link|{{{1|}}}}}}}}}]]}}</span>}}</includeonly><!--
 
--><noinclude>{{Documentation|Content={{UnderConstruction|Jovenan}}
 
Displays a small emblem (such as a seal, arms or flag) for a [[Factions|faction]], planetary government or similar entity. For ship logo picker, see [[Template:Logo]].
 
== Usage ==
Simple usage:
<pre>{{Emblem | }}</pre>
 
More complex usage:
<pre>{{Emblem | | variant = | link = }}</pre>
 
Full usage:
<pre>{{Emblem | | variant = | link = | text = | size = | font size = | tstyle = }}</pre>
 
'''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.
 
'''text''' determines the text displayed after the link. If “no” entered, disables the text and only shows the emblem.
 
'''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 ==
 
=== Basic example ===
<pre>{{Emblem|Federation}}</pre>
{{Emblem|Federation}}
 
Note how the name of the entity changes when the given name is changed. Be careful with capitalization!
 
<pre>{{Emblem|United Federation of Planets}}</pre>
{{Emblem|United Federation of Planets}}
 
If the entity has no recognized emblem, a placeholder is displayed. Consider adding one if you know one!
 
<pre>{{Emblem|Da'al}}</pre>
{{Emblem|Da'al}}
 
Some emblems have different variants:
 
<pre>{{Emblem|Klingon Empire|variant=grey}}</pre>
{{Emblem|Klingon Empire|variant=grey}}
 
=== Different text ===
The text following the emblem doesn't have to be the name of the entity! For example, it can be a location within the entity, a person serving the entity, an agency of the entity or something else! Note how the link behaves in the following examples, depending on if ''text'' or ''link'' parameters are used.
 
<pre>{{Emblem|Federation|link=Narala}}</pre>
{{Emblem|Federation|link=Narala}}
 
<pre>{{Emblem|Federation|link=Narala}}</pre>
{{Emblem|Federation|link=Narala}}
 
<pre>{{Emblem|Federation|text=President|link=Narala}}</pre>
{{Emblem|Federation|text=President|link=Narala}}
 
If ''link'' is set to “no”, the text won't be a link. Likewise, if ''text'' is set to “no”, the text is not visible at all.
<pre>{{Emblem|Federation|link=no}}</pre>
{{Emblem|Federation|link=no}}
 
<pre>{{Emblem|Federation|link=no|text=Narala}}</pre>
{{Emblem|Federation|link=no|text=Narala}}


<pre>{{Emblem|Federation|link=Narala|text=no}}</pre>
--><noinclude>{{Documentation}}</noinclude>
{{Emblem|Federation|link=Narala|text=no}}
}}</noinclude>

Latest revision as of 22:41, 17 July 2024

Template Documentation
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. Different capitalizations are accepted by the emblem picker, but not by the links, so be careful to check how the article name is spelled or create a redirect. Note also that some entities don't have articles written about them. Important: Be careful with species names! In some cases, the species name is also accepted for the entity name. Remember that not all members of a species serve or live in the same state.

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.

text determines the text displayed after the link. If “no” entered, disables the text and only shows the emblem.

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.

tstyle allows further text formatting options. Use CSS.

List of recognized emblems

Entity Variant
Andoria Andoria Andoria
Andorian Andorian
Andor Andor
Andorian Imperial Guard Andorian Imperial Guard
Apakan Apakan Apakan
Bajor Bajor Bajor
Bajoran Bajoran
Bajoran Militia Bajoran Militia
Betazoid Betazoid Betazoid
Betazed Betazed
Bolian Bolian Bolian
Borg Borg Borg
Borg Collective Borg Collective
Borg Queen Borg Queen
Cardassian Union Default
Cardassian Union Cardassian Union
Grey
Cardassian Union Cardassian Union
Edo Edo Edo
Rubicun Rubicun
Rubicun III Rubicun III
Edo God Edo God
Federation
Starfleet separate for brevity
Default
Federation Federation
United Federation of Planets United Federation of Planets
UFP UFP
Grey
Federation Federation
Black
Federation Federation
Gorn Gorn Gorn
Kathesis Pact Default
Kathesis Pact Kathesis Pact
Grey
Kathesis Pact Kathesis Pact
Klingon Empire Default
Klingon Empire Klingon Empire
Klingon Klingon
Grey
Klingon Empire Klingon Empire
TNG
Klingon Empire Klingon Empire
Kobali Default
Kobali Kobali
Grey
Kobali Kobali
Maquis Reborn Maquis Reborn Maquis Reborn
Maquis Maquis
Medusan Medusan Medusan
Rigelian Assembly Rigelian Assembly Rigelian Assembly
Rigelian Rigelian
Risian Risian Risian
Risa Risa
Risian Hedony Risian Hedony
Romulan Republic Default
Romulan Republic Romulan Republic
Grey
Romulan Republic Romulan Republic
Romulan Star Empire Default
Romulan Star Empire Romulan Star Empire
Grey
Romulan Star Empire Romulan Star Empire
TNG
Romulan Star Empire Romulan Star Empire
Starfleet
Body of Federation
Starfleet Starfleet
Tellar Tellar Tellar
Tellarite Tellarite
Terran Empire Default
Terran Empire Terran Empire
Grey
Terran Empire Terran Empire
Tholian Assembly Default
Tholian Assembly Tholian Assembly
Tholian Tholian
Grey
Tholian Assembly Tholian Assembly
T'kon Empire T'kon T'kon
T'kon Empire T'kon Empire
Tkon Tkon
Trill Trill Trill
Vulcan Vulcan Vulcan
Zaldan Zaldan Zaldan

Examples

Basic example

{{Emblem|Federation}}

Federation Federation

Note how the name of the entity changes when the given name is changed. Be careful with capitalization!

{{Emblem|United Federation of Planets}}

United Federation of Planets United Federation of Planets

If the entity has no recognized emblem, a placeholder is displayed. Consider adding one if you know one!

{{Emblem|Da'al}}

Da'al Da'al

Some emblems have different variants:

{{Emblem|Klingon Empire|variant=grey}}

Klingon Empire Klingon Empire

Different text

The text following the emblem doesn't have to be the name of the entity! For example, it can be a location within the entity, a person serving the entity, an agency of the entity or something else! Note how the link behaves in the following examples, depending on if text or link parameters are used.

{{Emblem|Federation|link=Narala}}

Federation Narala

{{Emblem|Federation|link=Narala}}

Federation Narala

{{Emblem|Federation|text=President|link=Narala}}

Federation President

If link is set to “no”, the text won't be a link. Likewise, if text is set to “no”, the text is not visible at all.

{{Emblem|Federation|link=no}}

Federation Federation

{{Emblem|Federation|link=no|text=Narala}}

Federation Narala

{{Emblem|Federation|link=Narala|text=no}}

Federation

TemplateData

TemplateData

Displays emblem and name of faction/state/entity

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

Name of the entity. See documentation for recognized entities.

Example
Federation
Linerequired
Variantvariant

Variant of the emblem. See documentation for recognized variants.

Lineoptional
Sizesize

Size of emblem in px

Default
20x20px
Lineoptional
Linklink

Link to another article. If "no", displays plain text instead.

Page nameoptional
Texttext

Text after the emblem. If "no", no text displayed.

Lineoptional
Font sizefont size

Font size of text after the emblem. Use e.g. px, em, %.

Lineoptional
Text styletstyle

CSS style for text

Contentoptional