Difference between revisions of "Template:TechCornerSmall"

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

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?)