Difference between revisions of "Template:SideInfoBox Object"

From TFC:TNG
Jump to navigation Jump to search
(Still too much padding?)
(Adding Tool selector.)
Line 70: Line 70:
 
   }}
 
   }}
 
| rows =
 
| rows =
 +
{{#if: {{{tool|}}} |
 +
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
 +
  #switch: {{ lc: {{{tool|}}} }}
 +
  | axe              = [[File:Steel_Axe.png|32px|link=Axe]]
 +
  | hammer            = [[File:Steel_Hammer.png|32px|link=Hammer]]
 +
  | knife            = [[File:Steel_Knife.png|32px|link=Knife]]
 +
  | hoe              = [[File:Steel_Hoe.png|32px|link=Hoe]]
 +
  | shovel            = [[File:Steel_Shovel.png|32px|link=Shovel]]
 +
  | chisel            = [[File:Steel_Chisel.png|32px|link=Chisel]]
 +
  | propick          = [[File:Steel_ProPick.png|32px|link=Prospector's Pick]]
 +
  | pickaxe          = [[File:Steel_Pickaxe.png|32px|link=Pickaxe]]
 +
  | saw              = [[File:Steel_Saw.png|32px|link=Saw]]
 +
  | scythe            = [[File:Steel_Scythe.png|32px|link=Scythe]]
 +
  | spindle          = [[File:Spindle.png|32px|link=Spindle]]
 +
  | bucket            = [[File:Wooden_Bucket.png|32px|link=Bucket]]
 +
  | sword            = [[File:Steel_Sword.png|32px|link=Sword]]
 +
  | shears            = [[File:Shears.png|32px|link=Shears]]
 +
  | none              = None
 +
  | any              = Any Tool
 +
  | #default          = ?
 +
}}{{
 +
  #if: {{{tool2|}}} | {{
 +
    #switch: {{ lc: {{{tool2}}} }}
 +
  | axe              = [[File:Steel_Axe.png|32px|link=Axe]]
 +
  | hammer            = [[File:Steel_Hammer.png|32px|link=Hammer]]
 +
  | knife            = [[File:Steel_Knife.png|32px|link=Knife]]
 +
  | hoe              = [[File:Steel_Hoe.png|32px|link=Hoe]]
 +
  | shovel            = [[File:Steel_Shovel.png|32px|link=Shovel]]
 +
  | chisel            = [[File:Steel_Chisel.png|32px|link=Chisel]]
 +
  | propick          = [[File:Steel_ProPick.png|32px|link=Prospector's Pick]]
 +
  | pickaxe          = [[File:Steel_Pickaxe.png|32px|link=Pickaxe]]
 +
  | saw              = [[File:Steel_Saw.png|32px|link=Saw]]
 +
  | scythe            = [[File:Steel_Scythe.png|32px|link=Scythe]]
 +
  | spindle          = [[File:Spindle.png|32px|link=Spindle]]
 +
  | bucket            = [[File:Wooden_Bucket.png|32px|link=Bucket]]
 +
  | sword            = [[File:Steel_Sword.png|32px|link=Sword]]
 +
  | shears            = [[File:Shears.png|32px|link=Shears]]
 +
 +
  }}
 +
}}{{
 +
  #if: {{{tool3|}}} | {{
 +
    #switch: {{ lc: {{{tool3}}} }}
 +
  | axe              = [[File:Steel_Axe.png|32px|link=Axe]]
 +
  | hammer            = [[File:Steel_Hammer.png|32px|link=Hammer]]
 +
  | knife            = [[File:Steel_Knife.png|32px|link=Knife]]
 +
  | hoe              = [[File:Steel_Hoe.png|32px|link=Hoe]]
 +
  | shovel            = [[File:Steel_Shovel.png|32px|link=Shovel]]
 +
  | chisel            = [[File:Steel_Chisel.png|32px|link=Chisel]]
 +
  | propick          = [[File:Steel_ProPick.png|32px|link=Prospector's Pick]]
 +
  | pickaxe          = [[File:Steel_Pickaxe.png|32px|link=Pickaxe]]
 +
  | saw              = [[File:Steel_Saw.png|32px|link=Saw]]
 +
  | scythe            = [[File:Steel_Scythe.png|32px|link=Scythe]]
 +
  | spindle          = [[File:Spindle.png|32px|link=Spindle]]
 +
  | bucket            = [[File:Wooden_Bucket.png|32px|link=Bucket]]
 +
  | sword            = [[File:Steel_Sword.png|32px|link=Sword]]
 +
  | shears            = [[File:Shears.png|32px|link=Shears]]
 +
 +
  }}
 +
}} }}
 +
}}
 
{{infobox row|label=Stacksize|field={{ #if: {{{stacksize|}}} | {{{stacksize}}} | No }} }}
 
{{infobox row|label=Stacksize|field={{ #if: {{{stacksize|}}} | {{{stacksize}}} | No }} }}
 
{{infobox row|label=[[Size]] <font face="Segoe UI Symbol">&#x2195;</font>|field={{ #if: {{{size|}}} | {{{size}}} | ??? }} }}
 
{{infobox row|label=[[Size]] <font face="Segoe UI Symbol">&#x2195;</font>|field={{ #if: {{{size|}}} | {{{size}}} | ??? }} }}

Revision as of 04:23, 31 January 2020