Template:ItemSimple: Difference between revisions

From /VM/station wiki
imported>Deantwo
"oddsizeimage" renamed to "OverrideImage" and now simply ignores lets you make your own image/file code. See: Template:Item#Override Image
imported>TankNut
Shouldn't break anything and hopefully fix the horrible scaling issues with the item template
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="border:1px solid {{{bgcolor2|#bbbbbb}}};" cellpadding="0" cellspacing="0"
<includeonly>{| style="border:1px solid {{{bgcolor2|#bbbbbb}}};" cellpadding="0" cellspacing="0"
  |
  |
{|width="100%" cellspacing="0" cellpadding="2"
{|width="100%" cellspacing="0" cellpadding="2"
|align=center width="150" style="background-color:{{{bgcolor1|#cccccc}}}"|{{#if:{{{OverrideImage|}}}|{{{image|}}}|{{#ifexist: File:{{{image|{{{name|Unknown}}}.png}}}| [[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}50px]]}}|no image}}
|align=center width="150" style="background-color:{{{bgcolor1|#cccccc}}}"|{{#if:{{{OverrideImage|}}}|{{{image|}}}|{{#ifexist: File:{{{image|{{{name|Unknown}}}.png}}}| [[File:{{{image|{{{name|Unknown}}}.png}}}{{!}}64px{{!}}{{{name|Item}}}]]}}|no image}}
|align=center width="250"|  
|align=center width="250"|  
{|width=50%
{|width=50%
Line 8: Line 8:
|}
|}
|}
|}
|}<noinclude>
|}</includeonly><noinclude>
==DO NOT USE THIS TEMPLATE==
==DO NOT USE THIS TEMPLATE==
Use [[:Template:Item]] instead
Use [[:Template:Item]] instead

Latest revision as of 15:22, 17 March 2016

DO NOT USE THIS TEMPLATE[edit]

Use Template:Item instead

{{#if: Item}}|no image}}
Item
{{#if: Syndicate Suit}}|no image}}
Syndicate Suit
{{#if: SyndicateSuit}}|no image}}
SyndicateSuit
{{#if:|SyndicateSuit.png|{{#ifexist: File:SyndicateSuit.png| Syndicate Suit}}|no image}}
Syndicate Suit