Difference between revisions of "Template:Sh"

From EVE University Wiki
Jump to: navigation, search
(Updated Echelon icon.)
m
Line 1: Line 1:
<span style="white-space:nowrap;">{{#switch: {{{1|}}}
+
<includeonly><span style="white-space:nowrap;">{{#switch: {{{1|}}}
 
<!--FACTION: Amarr-->
 
<!--FACTION: Amarr-->
 
<!--Tech 1-->
 
<!--Tech 1-->
Line 400: Line 400:
 
<!--DEFAULT-->
 
<!--DEFAULT-->
 
| #default = {{zwsp}}
 
| #default = {{zwsp}}
}} [[{{{1|}}}]]</span><noinclude>
+
}} [[{{{1|}}}]]</span></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Template]]
 
 
</noinclude>
 
</noinclude>

Revision as of 18:26, 24 February 2017

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 Amarr Paladin.
{{sh|Raven State Issue}} gives Caldari Raven State Issue.
{{sh|Raven State Issue|width= 40}} gives Caldari Raven 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 EVE Nestor with a space before the template call, i.e. Demo {{sh|Nestor}}.
DemoSisters of EVE Nestor 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?)