Template:Infobox block: Difference between revisions

a tad less obstructive
vardefine
Line 27: Line 27:
   | all    | alltools | any | anytool = Any tool
   | all    | alltools | any | anytool = Any tool
   | #default          = ?
   | #default          = ?
}}{{
  #vardefine: correct-tool | {{
    #switch: {{ lc: {{{tool|}}} }}
    | pick = pickaxe | spade = shovel | n/a = none | all | alltools | anytool = any | #default = {{ lc: {{{tool|}}} }}
  }}
}}{{
}}{{
   #if: {{{tool2|}}} | {{
   #if: {{{tool2|}}} | {{