Difference between revisions of "Template:TechCornerSmall"

From EVE University Wiki
Jump to: navigation, search
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):
+
<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.
  
 
===Usage:===
 
===Usage:===
   <nowiki>{{TechCornerSmall|X}}</nowiki>
+
   <nowiki>{{TechCornerSmall|&hellip;}}</nowiki>
  
 
The parameter is a single character defining the ship corner to be shown:
 
The parameter is a single character defining the ship corner to be shown:
Line 13: Line 13:
 
|-
 
|-
 
|1
 
|1
|[[Image:CornerT1s.png]]
+
|[[Image:CornerT1s.png|link=]]
 
|Tech 1 ''(Not shown in the game and should not be used)''
 
|Tech 1 ''(Not shown in the game and should not be used)''
 
|-
 
|-
 
|2
 
|2
|[[Image:CornerT2s.png]]
+
|[[Image:CornerT2s.png|link=]]
 
|Tech 2
 
|Tech 2
 
|-
 
|-
 
|3
 
|3
|[[Image:CornerT3s.png]]
+
|[[Image:CornerT3s.png|link=]]
 
|Tech 3
 
|Tech 3
 
|-
 
|-
 
|4
 
|4
|[[Image:CornerT4s.png]]
+
|[[Image:CornerT4s.png|link=]]
 
|Tech 4 ''(Not used so far)''
 
|Tech 4 ''(Not used so far)''
 
|-
 
|-
 
|F
 
|F
|[[Image:CornerTFs.png]]
+
|[[Image:CornerTFs.png|link=]]
 
|Faction
 
|Faction
 
|-
 
|-
 
|S
 
|S
|[[Image:CornerTSs.png]]
+
|[[Image:CornerTSs.png|link=]]
 
|Storyline
 
|Storyline
 
|-
 
|-
 
|D
 
|D
|[[Image:CornerTDs.png]]
+
|[[Image:CornerTDs.png|link=]]
 
|Deadspace
 
|Deadspace
 
|-
 
|-
 
|O
 
|O
|[[Image:CornerTOs.png]]
+
|[[Image:CornerTOs.png|link=]]
 
|Officer
 
|Officer
 
|}
 
|}
  
 
===Example===
 
===Example===
<div style="width: 64px; height: 64px;">
+
<nowiki>{{Template:TechCornerSmall|F}}</nowiki>
 
{|
 
{|
|{{Template:TechCornerSmall|2}}[[Image:Tempest.jpg|64px]]
+
|{{Template:TechCornerSmall|F}}[[Image:Tempest.jpg|64px|link=]]
 
|}
 
|}
</div>
 
 
</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:21, 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). 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}}
CornerTFs.png
Tempest.jpg