Difference between revisions of "Template:Sh"

From EVE University Wiki
Jump to: navigation, search
m (Use grouping functionality of #switch: to reduce repetitive coding. Slightly increase image size. Add parameter to control image size.)
m (Add Boobook. Remove whitespace. Change comment start line for faction from **** to ####)
Line 1: Line 1:
 
<includeonly><span style="white-space:nowrap;">{{#switch: {{{1|}}}
 
<includeonly><span style="white-space:nowrap;">{{#switch: {{{1|}}}
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Amarr                **
 
     ** FACTION: Amarr                **
 
     **  Tech 1                        **
 
     **  Tech 1                        **
Line 93: Line 92:
 
| Tash-Murkon Magnate
 
| Tash-Murkon Magnate
 
| Vangel = [[File:Isis amarr.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Amarr]]
 
| Vangel = [[File:Isis amarr.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Amarr]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Caldari              **
 
     ** FACTION: Caldari              **
 
     **  Tech 1                        **
 
     **  Tech 1                        **
Line 178: Line 176:
 
     **  Special Edition              **
 
     **  Special Edition              **
 
     ************************************ -->
 
     ************************************ -->
 +
| Boobook
 
| Cambion
 
| Cambion
 
| Etana
 
| Etana
Line 184: Line 183:
 
| Scorpion Ishukone Watch
 
| Scorpion Ishukone Watch
 
| Sukuuvestaa Heron = [[File:Isis caldari.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Caldari]]
 
| Sukuuvestaa Heron = [[File:Isis caldari.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Caldari]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Gallente              **
 
     ** FACTION: Gallente              **
 
     **  Tech 1                        **
 
     **  Tech 1                        **
Line 284: Line 282:
 
| Utu
 
| Utu
 
| Zephyr = [[File:Isis gallente.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Gallente]]
 
| Zephyr = [[File:Isis gallente.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Gallente]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Minmatar              **
 
     ** FACTION: Minmatar              **
 
     **  Tech 1                        **
 
     **  Tech 1                        **
Line 376: Line 373:
 
| Tempest Tribal Issue
 
| Tempest Tribal Issue
 
| Vherokior Probe = [[File:Isis minmatar.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Minmatar]]
 
| Vherokior Probe = [[File:Isis minmatar.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Minmatar]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: ORE                  **
 
     ** FACTION: ORE                  **
 
     **  Tech 1                        **
 
     **  Tech 1                        **
Line 413: Line 409:
 
     ************************************ -->
 
     ************************************ -->
 
| Primae = [[File:Isis ore.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|ORE]]
 
| Primae = [[File:Isis ore.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|ORE]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Angel cartel          **
 
     ** FACTION: Angel cartel          **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 434: Line 429:
 
| Ixion
 
| Ixion
 
| Medusa = [[File:Isis angel.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Angel Cartel]]
 
| Medusa = [[File:Isis angel.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Angel Cartel]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Blood Raiders        **
 
     ** FACTION: Blood Raiders        **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 456: Line 450:
 
| Hematos
 
| Hematos
 
| Rabisu = [[File:Isis blood raiders.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Blood Raider]]
 
| Rabisu = [[File:Isis blood raiders.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Blood Raider]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: EDENCOM              **
 
     ** FACTION: EDENCOM              **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 464: Line 457:
 
| Stormbringer
 
| Stormbringer
 
| Thunderchild = [[File:Logo faction edencom.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|EDENCOM]]
 
| Thunderchild = [[File:Logo faction edencom.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|EDENCOM]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Guristas              **
 
     ** FACTION: Guristas              **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 488: Line 480:
 
| Taipan
 
| Taipan
 
| Whiptail = [[File:Isis guristas.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Guristas]]
 
| Whiptail = [[File:Isis guristas.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Guristas]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Intaki Syndicate      **
 
     ** FACTION: Intaki Syndicate      **
 
     **  Special Edition              **
 
     **  Special Edition              **
Line 495: Line 486:
 
| Victorieux Luxury Yacht
 
| Victorieux Luxury Yacht
 
| Intaki Syndicate Catalyst = [[File:Logo faction the syndicate.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Intaki Syndicate]]
 
| Intaki Syndicate Catalyst = [[File:Logo faction the syndicate.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Intaki Syndicate]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Interbus              **
 
     ** FACTION: Interbus              **
 
     **  Special Edition              **
 
     **  Special Edition              **
Line 502: Line 492:
 
| InterBus Catalyst
 
| InterBus Catalyst
 
| InterBus Shuttle = [[File:Logo faction the interbus.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|InterBus]]
 
| InterBus Shuttle = [[File:Logo faction the interbus.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|InterBus]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Mordu's Legion        **
 
     ** FACTION: Mordu's Legion        **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 516: Line 505:
 
| Laelaps
 
| Laelaps
 
| Raiju = [[File:Isis mordus.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Mordu's Legion]]
 
| Raiju = [[File:Isis mordus.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Mordu's Legion]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Sansha's Nation      **
 
     ** FACTION: Sansha's Nation      **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 524: Line 512:
 
| Phantasm
 
| Phantasm
 
| Succubus
 
| Succubus
<!--************************************
+
<!--####################################
 
     ** FACTION: Sansha's Nation      **
 
     ** FACTION: Sansha's Nation      **
 
     **  Capital                      **
 
     **  Capital                      **
Line 536: Line 524:
 
| Immolator
 
| Immolator
 
| Imp = [[File:Isis sansha.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Sansha's Nation]]
 
| Imp = [[File:Isis sansha.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Sansha's Nation]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Serpentis            **
 
     ** FACTION: Serpentis            **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 559: Line 546:
 
| Violator
 
| Violator
 
| Virtuoso = [[File:Isis serpentis.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Serpentis]]
 
| Virtuoso = [[File:Isis serpentis.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Serpentis]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Sisters of EVE        **
 
     ** FACTION: Sisters of EVE        **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 568: Line 554:
 
| Stratios
 
| Stratios
 
| Stratios Emergency Responder = [[File:Isis soe.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Sisters of EVE]]
 
| Stratios Emergency Responder = [[File:Isis soe.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Sisters of EVE]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Society of            **
 
     ** FACTION: Society of            **
 
     **            Conscious Thought  **
 
     **            Conscious Thought  **
Line 580: Line 565:
 
| Sunesis
 
| Sunesis
 
| Tiamat = [[File:Logo faction the society.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Society of Conscious Thought]]
 
| Tiamat = [[File:Logo faction the society.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Society of Conscious Thought]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: CONCORD              **
 
     ** FACTION: CONCORD              **
 
     **  Subcapital                    **
 
     **  Subcapital                    **
Line 595: Line 579:
 
| Pacifier
 
| Pacifier
 
| Marshal = [[File:Logo faction concord assembly.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|CONCORD]]
 
| Marshal = [[File:Logo faction concord assembly.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|CONCORD]]
 
+
<!--####################################
<!--************************************
 
 
     ** FACTION: Triglavian Collective **
 
     ** FACTION: Triglavian Collective **
 
     **  Tech 1                        **
 
     **  Tech 1                        **
Line 615: Line 598:
 
| Nergal
 
| Nergal
 
| Zarmazd = [[File:Logo faction triglavian collective.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Triglavian Collective]]
 
| Zarmazd = [[File:Logo faction triglavian collective.png|{{#if: {{{width|}}}|{{{width}}}|20}}px|link=|Triglavian Collective]]
 
+
<!--####################################
<!--************************************
 
 
     ** UNCATEGORIZED                  **
 
     ** UNCATEGORIZED                  **
 
     ** DEFAULT                        **
 
     ** DEFAULT                        **
 
     ************************************ -->
 
     ************************************ -->
 
| #default = {{zwsp}}
 
| #default = {{zwsp}}
 
 
}}&#8202;[[{{{1|}}}]]</span></includeonly><noinclude>
 
}}&#8202;[[{{{1|}}}]]</span></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 09:54, 25 May 2022

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create a link to a ship page and simultaneously generate the appropriate faction icon immediately to the left of the link. The faction icon will have the faction name as mouseover text.
It is intended for use in cases where ship names are being discussed without explicitly referencing the faction to which they belong. Ship faction is an important piece of information, as readers may wish to know which ships they can pilot based on their current racial skills. This template can be used in both tables and in body text. In short, whenever a phrase such as "the Amarr Pilgrim" or "the Nereus, a Gallente ship" would be appropriate, this template may be substituted to convey that information in a more compact way.
This template uses the Interbus Ship Identification System (ISIS) icons wherever possible. However, some ships belong to factions that lack an ISIS icon as of August 2023. For these rare cases, the normal faction symbol is used.
Dependencies
Used by
{{ShipsMatrix}}
Syntax
{{Sh|<shipname>|<width= width>}}
ship name
The name of the ship to link to. The ship name must be capitalized properly (use title case spelling, i.e. Vexor Navy Issue, not Vexor navy issue.
width
To set the size of the image. Value is in px and the default is 22.
Sample
{{sh|Paladin}} gives AmarrPaladin.
{{sh|Raven State Issue}} gives CaldariRaven State Issue.
{{sh|Raven State Issue|width= 40}} gives CaldariRaven State Issue.
Due to the way how the image works there is a slightly increased space on the left of the image
Demo Sisters of EVENestor with a space before the template call, i.e. Demo {{sh|Nestor}}.
DemoSisters of EVENestor with the template call directly adjacent to to the leading word, i.e. Demo{{sh|Nestor}}.
Visit Template:Sh/doc to edit this text! (How does this work?) (Refresh this text - why?)