Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TechCornerSmall: Difference between revisions

Template page
Aethlyn (talk | contribs)
Aethlyn (talk | contribs)
mNo edit summary
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 Tech 1 (Not shown in the game and should not be used)
2 Tech 2
3 Tech 3
4 Tech 4 (Not used so far)
F Faction
S Storyline
D Deadspace
O Officer

Example

{{Template:TechCornerSmall|F}}