FANDOM


 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
;Usage
+
{{Documentation}}
* <code>{{t|BldgIcon|Building_name|Link|large&#61;|imgoptions&#61;left/right/thumb}}</code>
 
** For <code>1 =</code> Building (don't include "The "; default: <code>garrison</code>)
 
** ''Optional'' Use <code>2 =</code> Link to override default link
 
** ''Optional'' Use <code>large=</code> to show 64px icon (no value needed)
 
** ''Optional'' Use <code>imgoptions =</code> to add image options like left/right/thumb, etc.
 
 
;Examples
 
Small Icon only template; links to the selected [[garrison building]] (actual building names can be used, but below has short versions):
 
* <code>{{t2|BldgIcon}}</code> &rarr; {{BldgIcon}}
 
* <code>{{t2|BldgIcon|Alchemy}}</code> &rarr; {{BldgIcon|Alchemy}}
 
* <code>{{t2|BldgIcon|Barracks}}</code> &rarr; {{BldgIcon|Barracks}}
 
* <code>{{t2|BldgIcon|Barn}}</code> &rarr; {{BldgIcon|Barn}}
 
* Dwarven <code>{{t2|BldgIcon|Bunker}}</code> &rarr; {{BldgIcon|Bunker}}
 
* <code>{{t2|BldgIcon|Enchanting}}</code> &rarr; {{BldgIcon|Enchanting}}
 
* <code>{{t2|BldgIcon|Engineering}}</code> &rarr; {{BldgIcon|Engineering}}
 
* <code>{{t2|BldgIcon|Fishing}}</code> &rarr; {{BldgIcon|Fishing}}
 
* <code>{{t2|BldgIcon|Forge}}</code> &rarr; {{BldgIcon|Forge}}
 
* <code>{{t2|BldgIcon|Gadgets}}</code> &rarr; {{BldgIcon|Gadgets}}
 
* <code>{{t2|BldgIcon|Gem}}</code> &rarr; {{BldgIcon|Gem}}
 
* <code>{{t2|BldgIcon|Herb}}</code> &rarr; {{BldgIcon|Herb}}
 
* <code>{{t2|BldgIcon|Inn}}</code> &rarr; {{BldgIcon|Inn}}
 
* <code>{{t2|BldgIcon|Lumber}}</code> &rarr; {{BldgIcon|Lumber}}
 
* <code>{{t2|BldgIcon|Mage}}</code> &rarr; {{BldgIcon|Mage}}
 
* <code>{{t2|BldgIcon|Menagerie}}</code> &rarr; {{BldgIcon|Menagerie}}
 
* <code>{{t2|BldgIcon|Mine}}</code> &rarr; {{BldgIcon|Mine}}
 
* <code>{{t2|BldgIcon|Salvage}}</code> &rarr; {{BldgIcon|Salvage}}
 
* <code>{{t2|BldgIcon|Scribe}}</code> &rarr; {{BldgIcon|Scribe}}
 
* <code>{{t2|BldgIcon|Stables}}</code> &rarr; {{BldgIcon|Stables}}
 
* <code>{{t2|BldgIcon|Tannery}}</code> &rarr; {{BldgIcon|Tannery}}
 
* <code>{{t2|BldgIcon|PvP}}</code> &rarr; {{BldgIcon|PvP}}
 
* <code>{{t2|BldgIcon|Storehouse}}</code> &rarr; {{BldgIcon|Storehouse}}
 
* <code>{{t2|BldgIcon|Tailoring}}</code> &rarr; {{BldgIcon|Tailoring}}
 
* <code>{{t2|BldgIcon|Tower}}</code> &rarr; {{BldgIcon|Tower}}
 
* <code>{{t2|BldgIcon|Town}}</code> &rarr; {{BldgIcon|Town}}
 
* <code>{{t2|BldgIcon|Trading}}</code> &rarr; {{BldgIcon|Trading}}
 
* <code>{{t2|BldgIcon|War}}</code> Mill &rarr; {{BldgIcon|War}}
 
 
;See also
 
* {{Building}}
 
 
   
 
----
 
----
 
;Template
 
;Template
<onlyinclude>[[File:{{#switch:{{lc:{{{1|garrison}}}}}|alchemy lab|alchemist|alchemy=trade_alchemy|barn|skinner|skinning=garrison_building_barn|barracks=garrison_building_barracks|dwarven bunker|war mill|bunker|war=garrison_building_armory|forge|the forge|blacksmith|blacksmithing=trade_blacksmithing|enchanter's study|enchanter|enchanting=trade_engraving|engineering works|engineer|engineering=trade_engineering|fishing hut|fisher|fishing=trade_fishing|gem boutique|gem|jewelcrafter|jewelcrafting=inv_misc_gem_01|gladiator's sanctum|gladiator|pvp=Garrison_building_sparringarena|gnomish gearworks|gearworks|goblin workshop|workshop|gadget|gadgets=garrison_building_workshop|herb|herb garden|herbalist|herbalism=Inv_misc_herb_sansamroot|inn=inv_misc_rune_01|lumber mill|lumber|timber=garrison_building_lumbermill|mage tower|mage|portal|portals=garrison_building_magetower|mine|miner|mining=trade_mining|pet menagerie|pet battle|pet battles|pet|menagerie=garrison_building_menagerie|salvage yard|salvage=garrison_building_salvageyard|scribe's quarters|scribe|inscription=inv_inscription_tradeskill01|stables|mount|mounts|riding=garrison_building_stables|storehouse=garrison_building_storehouse|tailoring emporium|tailor|tailoring=trade_tailoring|the tannery|tannery|leatherworker|leatherworking=inv_misc_armorkit_17|tower of war|tower=Spell_arcane_teleporttheramore|town hall|town|hall=Ui_promotion_garrisons|trading post|trade|trading=garrison_building_tradingpost|inv_garrison_resource}}.png{{!}}{{#ifeq:{{{large|-}}}|||21px}}{{!}}link={{{2|{{#switch:{{lc:{{{1|garrison}}}}}|alchemy lab|alchemist||alchemy=Alchemy Lab|barn|skinner|skinning=Barn|barracks=Barracks (garrison)|dwarven bunker|war mill|bunker|war=Dwarven Bunker or War Mill|forge|the forge|blacksmith|blacksmithing=Forge (garrison)|enchanter's study|enchanter|enchanting=Enchanter's Study|engineering works|engineer|engineering=Engineering Works|fishing hut|fisher|fishing=Fishing Hut|herb|herb garden|herbalist|herbalism=Herb Garden|inn=Inn (garrison)|gem boutique|gem|jewelcrafter|jewelcrafting=Gem Boutique|gladiator's sanctum|gladiator|pvp=Gladiator's Sanctum|gnomish gearworks|gearworks|goblin workshop|workshop|gadget|gadgets=Gnomish Gearworks or Goblin Workshop|lumber mill|lumber|timber=Lumber Mill (garrison)|mage tower|mage|portal|portals=Mage Tower|mine|miner|mining=Mine (garrison)|pet menagerie|pet battle|pet battles|pet|menagerie=Pet Menagerie|salvage yard|salvage=Salvage Yard|scribe's quarters|scribe|inscription=Scribe's Quarters|stables|mount|mounts|riding=Stables (garrison)|storehouse=Storehouse|tailoring emporium|tailor|tailoring=Tailoring Emporium|the tannery|tannery|leatherworker|leatherworking=Tannery (garrison)|tower of war|tower=Tower of War|town hall|town|hall=Town Hall (garrison)|trading post|trade|trading=Trading Post|Garrison building}}}}}|{{{imgoptions|}}}]]</onlyinclude>
+
<onlyinclude>[[File:{{#switch:{{lc:{{{1|garrison}}}}}|alchemy lab|alchemist|alchemy=trade_alchemy|barn|skinner|skinning=garrison_building_barn|barracks=garrison_building_barracks|dwarven bunker|war mill|bunker|war=garrison_building_armory|forge|the forge|blacksmith|blacksmithing=trade_blacksmithing|enchanter's study|enchanter|enchanting=trade_engraving|engineering works|engineer|engineering=trade_engineering|fishing hut|fisher|fishing=trade_fishing|gem boutique|gem|jewelcrafter|jewelcrafting=inv_misc_gem_01|gladiator's sanctum|gladiator|pvp=Garrison_building_sparringarena|gnomish gearworks|gearworks|goblin workshop|workshop|gadget|gadgets=garrison_building_workshop|herb|herb garden|herbalist|herbalism=Inv_misc_herb_sansamroot|inn=inv_misc_rune_01|lumber mill|lumber|timber=garrison_building_lumbermill|mage tower|mage|portal|portals|spirit lodge|spirit|lodge=garrison_building_magetower|mine|miner|mining=trade_mining|pet menagerie|pet battle|pet battles|pet|menagerie=garrison_building_menagerie|salvage yard|salvage=garrison_building_salvageyard|scribe's quarters|scribe|inscription=inv_inscription_tradeskill01|garrison shipyard|shipyard=inv_garrison_cargoship|stables|mount|mounts|riding=garrison_building_stables|storehouse=garrison_building_storehouse|tailoring emporium|tailor|tailoring=trade_tailoring|the tannery|tannery|leatherworker|leatherworking=inv_misc_armorkit_17|tower of war|tower=Spell_arcane_teleporttheramore|town hall|town|hall=Ui_promotion_garrisons|trading post|trade|trading=garrison_building_tradingpost|inv_garrison_resource}}.png{{!}}{{#ifeq:{{{large|-}}}|||21px}}{{!}}link={{{2|{{#switch:{{lc:{{{1|garrison}}}}}|alchemy lab|alchemist||alchemy=Alchemy Lab (garrison)|barn|skinner|skinning=Barn|barracks=Barracks (garrison)|dwarven bunker|war mill|bunker|war=Dwarven Bunker or War Mill|forge|the forge|blacksmith|blacksmithing=Forge (garrison)|enchanter's study|enchanter|enchanting=Enchanter's Study|engineering works|engineer|engineering=Engineering Works|fishing hut|fisher|fishing=Fishing Hut|herb|herb garden|herbalist|herbalism=Herb Garden|inn=Inn (garrison)|gem boutique|gem|jewelcrafter|jewelcrafting=Gem Boutique|gladiator's sanctum|gladiator|pvp=Gladiator's Sanctum|gnomish gearworks|gearworks|goblin workshop|workshop|gadget|gadgets=Gnomish Gearworks or Goblin Workshop|lumber mill|lumber|timber=Lumber Mill (garrison)|mage tower|mage|portal|portals|spirit lodge|spirit|lodge=Mage Tower or Spirit Lodge|mine|miner|mining=Mine (garrison)|pet menagerie|pet battle|pet battles|pet|menagerie=Pet Menagerie|salvage yard|salvage=Salvage Yard|scribe's quarters|scribe|inscription=Scribe's Quarters|garrison shipyard|shipyard=Shipyard|stables|mount|mounts|riding=Stables (garrison)|storehouse=Storehouse (garrison)|tailoring emporium|tailor|tailoring=Tailoring Emporium|the tannery|tannery|leatherworker|leatherworking=Tannery (garrison)|tower of war|tower=Tower of War|town hall|town|hall=Town Hall (garrison)|trading post|trade|trading=Trading Post|Garrison building}}}}}|{{{imgoptions|}}}]]</onlyinclude>
 
[[Category:WoW icon templates|{{PAGENAME}}]]
 
[[Category:WoW icon templates|{{PAGENAME}}]]

Latest revision as of 04:01, July 7, 2015

Usage
  • {{BldgIcon|<Building_name>|<Link>|<large=>|<imgoptions=left/right/thumb>}}
    • For 1 = Building (don't include "The "; default: garrison)
    • Optional Use 2 = Link to override default link
    • Optional Use large= to show 64px icon (no value needed)
    • Optional Use imgoptions = to add image options like left/right/thumb, etc.
Examples

Small icon view of template; links to the selected garrison building (actual building names can be used, but below has short versions):

  • {{BldgIcon}}Inv garrison resource
  • {{BldgIcon|Alchemy}}Trade alchemy
  • {{BldgIcon|Barracks}}Garrison building barracks
  • {{BldgIcon|Barn}}Garrison building barn
  • Dwarven {{BldgIcon|Bunker}}Garrison building armory
  • {{BldgIcon|Enchanting}}Trade engraving
  • {{BldgIcon|Engineering}}Trade engineering
  • {{BldgIcon|Fishing}}Trade fishing
  • {{BldgIcon|Forge}}Trade blacksmithing
  • {{BldgIcon|Gadgets}}Garrison building workshop
  • {{BldgIcon|Gem}}Inv misc gem 01
  • {{BldgIcon|Herb}}Inv misc herb sansamroot
  • {{BldgIcon|Inn}}Inv misc rune 01
  • {{BldgIcon|Lumber}}Garrison building lumbermill
  • {{BldgIcon|Menagerie}}Garrison building menagerie
  • {{BldgIcon|Mine}}Trade mining
  • {{BldgIcon|Salvage}}Garrison building salvageyard
  • {{BldgIcon|Scribe}}Inv inscription tradeskill01
  • {{BldgIcon|Shipyard}}Inv garrison cargoship
  • {{BldgIcon|Stables}}Garrison building stables
  • {{BldgIcon|Tannery}}Inv misc armorkit 17
  • {{BldgIcon|Portals}}Garrison building magetower
    • {{BldgIcon|Mage}}Garrison building magetower
    • {{BldgIcon|Spirit}}Garrison building magetower
  • {{BldgIcon|PvP}}Garrison building sparringarena
  • {{BldgIcon|Storehouse}}Garrison building storehouse
  • {{BldgIcon|Tailoring}}Trade tailoring
  • {{BldgIcon|Tower}}Spell arcane teleporttheramore
  • {{BldgIcon|Town}}Ui promotion garrisons
  • {{BldgIcon|Trading}}Garrison building tradingpost
  • {{BldgIcon|War}} Mill → Garrison building armory
See also

Template

Inv garrison resource

Community content is available under CC-BY-SA unless otherwise noted.