Difference between revisions of "Template:TechCornerSmall"

From EVE University Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>This template adds a small Tech icon to the top left corner of the parent container (e.g. a table cell or div). The recommended size for this is a 64&nbsp;&times;&nbsp;64 pixel icon.
+
<noinclude>This template adds a small Tech icon to the image following this template. For this to work properly, the parent image must not be aligned. The recommended size for this is a 64&nbsp;&times;&nbsp;64 pixel icon.
  
 
===Usage:===
 
===Usage:===
Line 46: Line 46:
  
 
===Example===
 
===Example===
  <nowiki>{{Template:TechCornerSmall|F}}</nowiki>
+
  <nowiki>{{Template:TechCornerSmall|F}}</nowiki><span style="color: #7f7f7f"><nowiki>[[Image:Tempest.jpg|64px]]</nowiki></span>
 
{|
 
{|
 
|{{Template:TechCornerSmall|F}}[[Image:Tempest.jpg|64px|link=]]
 
|{{Template:TechCornerSmall|F}}[[Image:Tempest.jpg|64px|link=]]
 
|}
 
|}
 
</noinclude><includeonly><div style="position: absolute; margin-top: -2px;">[[Image:CornerT{{{1}}}s.png|link=]]</div></includeonly>
 
</noinclude><includeonly><div style="position: absolute; margin-top: -2px;">[[Image:CornerT{{{1}}}s.png|link=]]</div></includeonly>

Revision as of 00:24, 29 November 2012

This template adds a small Tech icon to the image following this template. For this to work properly, the parent image must not be aligned. The recommended size for this is a 64 × 64 pixel icon.

Usage:

 {{TechCornerSmall|…}}

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

{{Template:TechCornerSmall|F}}[[Image:Tempest.jpg|64px]]
CornerTFs.png
Tempest.jpg