Difference between revisions of "Template:TechCornerSmall"

From EVE University Wiki
Jump to: navigation, search
(Moved documentation to Template:TechCornerSmall/doc)
 
(2 intermediate revisions by one other user not shown)
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):
+
<includeonly><div style="position: absolute; margin-top: -2px;">[[Image:CornerT{{{1}}}s.png|link=]]</div></includeonly><noinclude>
 
+
{{documentation}}
===Usage:===
+
</noinclude>
  <nowiki>{{TechCornerSmall|X}}</nowiki>
 
 
 
The parameter is a single character defining the ship corner to be shown:
 
 
 
{|
 
|+
 
|Parameter
 
|Icon
 
|Notes
 
|-
 
|1
 
|[[Image:CornerT1s.png]]
 
|Tech 1 ''(Not shown in the game and should not be used)''
 
|-
 
|2
 
|[[Image:CornerT2s.png]]
 
|Tech 2
 
|-
 
|3
 
|[[Image:CornerT3s.png]]
 
|Tech 3
 
|-
 
|4
 
|[[Image:CornerT4s.png]]
 
|Tech 4 ''(Not used so far)''
 
|-
 
|F
 
|[[Image:CornerTFs.png]]
 
|Faction
 
|-
 
|S
 
|[[Image:CornerTSs.png]]
 
|Storyline
 
|-
 
|D
 
|[[Image:CornerTDs.png]]
 
|Deadspace
 
|-
 
|O
 
|[[Image:CornerTOs.png]]
 
|Officer
 
|}
 
 
 
===Example===
 
<div style="width: 64px; height: 64px;">
 
{|
 
|{{Template:TechCornerSmall|2}}[[Image:Tempest.jpg|64px]]
 
|}
 
</div>
 
</noinclude><includeonly><div style="position: absolute; margin-top: -2px;">[[Image:CornerT{{{1}}}s.png|link=]]</div></includeonly>
 

Latest revision as of 19:27, 22 April 2017

Template documentation (for the above template, sometimes hidden or invisible)

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
Ab CornerTAbs.png Abyssal
L CornerTLs.png Limited edition
Nes CornerTNess.png New Eden Store

Example

{{Template:TechCornerSmall|F}}[[Image:Tempest.jpg|64px]]
CornerTFs.png
Tempest.jpg
Visit Template:TechCornerSmall/doc to edit this text! (How does this work?) (Refresh this text - why?)