Difference between revisions of "Template:ShipBoxLarge"
From EVE University Wiki
Drebin 679 (talk | contribs) (Added logo support for pirate and other factions, aside from the four empires and ORE.) |
Drebin 679 (talk | contribs) m (Fixed image links.) |
||
Line 275: | Line 275: | ||
<td style='padding: 5px; width: 256px;' valign='top'> | <td style='padding: 5px; width: 256px;' valign='top'> | ||
<div style='border:1px solid #323931; position: relative;' class='ship-img'>{{#if:{{{tech|}}}|<div class="techcorner">[[Image:CornerT{{{tech|2}}}h.png|link=]]</div>|}}{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg|no-image.png}}}|center|256x256px|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]|[[Image:no-image.png|center|256x256px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</div> | <div style='border:1px solid #323931; position: relative;' class='ship-img'>{{#if:{{{tech|}}}|<div class="techcorner">[[Image:CornerT{{{tech|2}}}h.png|link=]]</div>|}}{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg|no-image.png}}}|center|256x256px|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]|[[Image:no-image.png|center|256x256px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</div> | ||
− | <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |Triglavian Collective= | + | <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |Triglavian Collective=Logo_faction_triglavian_collective.png |Angel Cartel=Logo_faction_angel_cartel.png |Blood Raiders=Logo_faction_the_blood_raider_covenant.png |Guristas=Logo_faction_guristas_pirates.png |Mordu's Legion=Logo_faction_mordus_legion.png |Sansha's Nation=Logo_faction_sanshas_nation.png|Serpentis=Logo_faction_serpentis.png |Sisters of EVE=Logo_faction_sisters_of_eve.png |Society of Conscious Thought=Logo_faction_the_society.png |CONCORD=Logo_faction_concord_assembly.png |#default=Logo_faction_khanid_kingdom.png}}|center|60x60px|{{#if:{{{faction}}}|{{{faction|Unknown Faction}}}|Unknown Faction}}]]</div> |
<div style='display:{{#ifexist:File:{{{shipimg}}}|none|block}};text-align:center;' class='forum-link'> | <div style='display:{{#ifexist:File:{{{shipimg}}}|none|block}};text-align:center;' class='forum-link'> | ||
<div class='linkentry'> | <div class='linkentry'> |
Revision as of 23:56, 25 January 2019
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- Creates a info box with a subset of the ships stats.
- Dependencies
-
- Uses
- no-image.png Default ship image when shipimg is not given.
- Helpicon.png Default faction logo when faction is empty or unknown.
{{Imageserver}}
When no local image of ship is available and shipid is known.- Part of the parameter set of
{{ShipArticle}}
- Build-in UniWiki links to
- Ships
- Build-in external links to
- zKillboard
- EVE Workbench
- Janice
- EVE Ref
- Syntax
- ShipBoxLarge is not to be used on its own. It is to be called by using the wrapper template
{{Ship}}
- Template set
- {{ShipArticle}}
- {{Ship}}
- {{ShipBoxLarge}}
- {{ShipBoxTooltip}}