Difference between revisions of "Template:TechCornerSmall"

From EVE University Wiki
Jump to: navigation, search
(Template for small tech icon overlays - WIP)
 
Line 46: Line 46:
  
 
===Example===
 
===Example===
<div style="width: 64px; height: 64px; position: relative;">
+
<div style="width: 64px; height: 64px;">
[[Image:Tempest.jpg|64px]]{{Template:TechCornerSmall|2}}
+
{|
 +
|{{Template:TechCornerSmall|2}}[[Image:Tempest.jpg|64px]]
 +
|}
 
</div>
 
</div>
</noinclude><includeonly><span style="position: absolute; top: 0px; left: 0px;">[[Image:CornerT{{{1}}}s.png|link=]]</span></includeonly>
+
</noinclude><includeonly><div style="position: absolute; margin-top: -3px;">[[Image:CornerT{{{1}}}s.png|link=]]</div></includeonly>

Revision as of 00:06, 29 November 2012

This template adds a small Tech icon to the top left corner of the parent container (e.g. a table cell or div):

Usage:

 {{TechCornerSmall|X}}

The parameter is a single character defining the ship corner to be shown:

Parameter Icon Notes
1 CornerT1s.png Tech 1 (Not shown in the game and should not be used)
2 CornerT2s.png Tech 2
3 CornerT3s.png Tech 3
4 CornerT4s.png Tech 4 (Not used so far)
F CornerTFs.png Faction
S CornerTSs.png Storyline
D CornerTDs.png Deadspace
O CornerTOs.png Officer

Example

CornerT2s.png
Tempest.jpg