Difference between revisions of "Template:ShipBoxLarge"
From EVE University Wiki
m (Make template fighter aware.) |
m (Add code to use CCP image service when no local(wiki) image, only works when shipid is known.) |
||
Line 238: | Line 238: | ||
<td style='padding: 5px; width: 256px; vertical-align: top;'> | <td style='padding: 5px; width: 256px; vertical-align: top;'> | ||
− | <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{# | + | <div class='ship-img' style='border: 1px solid #323931; position: relative;'>{{#ifexist: File:{{{shipimg}}} |
− | + | | [[Image:{{{shipimg}}}|256x256px|{{{shipname|}}}]] | |
− | + | | {{#if: {{{shipid|}}} | |
− | + | | {{Imageserver|types|{{{shipid}}}|render|size=256}} | |
− | + | | [[Image:no-image.png|256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} | Unknown Ship }} ]] | |
− | + | }} | |
+ | }} | ||
+ | {{#if: {{{tech|}}} |<div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div> }} | ||
</div> | </div> | ||
<div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{lc: {{{faction}}} }} | <div style='position: absolute; margin-left: 200px; margin-top: -60px;'>[[Image:{{#switch: {{lc: {{{faction}}} }} | ||
Line 270: | Line 272: | ||
| {{{faction}}} | | {{{faction}}} | ||
| Unknown Faction | | Unknown Faction | ||
− | }}|link=]] | + | }}|link=]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
Revision as of 11:49, 11 February 2023
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}}