User:Azure Fang/sandbox
From Guild Wars 2 Wiki
Jump to navigationJump to search
Construction for converting Armorsmith template to configurable form like weaponsmith. This is horribly incomplete (needs 15 more subsections before testing). {{Inventory/Vendor subpage header}} <includeonly>{{#if: <!-- if to hide whitespace --> {{#vardefine:chest|{{#switch:{{{1}}} | 0 = 40 | 10 = 64 | 15 = 80 | 20 = 96 | 25 = 112 | 30 = 128 | 35 = 136 | 40 = 152 | 45 = 168 | 50 = 184 | 55 = 192 | 60 = 208 | 65 = 224 | 70 = 240 | 75 = 248 | 80 = 264 }} }} {{#vardefine:leg|{{#switch:{{{1}}} | 0 = 56 | 10 = 88 | 15 = 112 | 20 = 136 | 25 = 152 | 30 = 175 | 35 = 192 | 40 = 216 | 45 = 232 | 50 = 256 | 55 = 272 | 60 = 296 | 65 = 312 | 70 = 336 | 75 = 352 | 80 = 376 }} {{#vardefine:foot|{{#switch:{{{1}}} | 0 = 40 | 10 = 64 | 15 = 80 | 20 = 96 | 25 = 112 | 30 = 128 | 35 = 136 | 40 = 152 | 45 = 168 | 50 = 184 | 55 = 192 | 60 = 208 | 65 = 224 | 70 = 240 | 75 = 248 | 80 = 264 }} {{#vardefine:hand|{{#switch:{{{1}}} | 0 = 40 | 10 = 64 | 15 = 72 | 20 = 88 | 25 = 104 | 30 = 112 | 35 = 128 | 40 = 144 | 45 = 152 | 50 = 168 | 55 = 176 | 60 = 192 | 65 = 200 | 70 = 216 | 75 = 224 | 80 = 240 }} {{#vardefine:head|{{#switch:{{{1}}} | 10 = 80 | 15 = 104 | 20 = 120 | 25 = 136 | 30 = 160 | 35 = 176 | 40 = 192 | 45 = 208 | 50 = 232 | 55 = 240 | 60 = 264 | 65 = 280 | 70 = 296 | 75 = 312 | 80 = 336 }} {{#vardefine:shoulder|{{#switch:{{{1}}} | 15 = 88 | 20 = 112 | 25 = 120 | 30 = 144 | 35 = 152 | 40 = 168 | 45 = 184 | 50 = 200 | 55 = 216 | 60 = 232 | 65 = 248 | 70 = 264 | 75 = 280 | 80 = 296 }} {{#vardefine:back|{{#switch:{{{1}}} | 0 = 8 | 10 = 8 | 15 = 8 | 20 = 8 | 25 = 8 | 30 = 8 | 35 = 8 | 40 = 8 | 45 = 8 | 50 = 8 | 55 = 8 | 60 = 8 | 65 = 8 | 70 = 8 | 75 = 8 | 80 = 8 }} }} }} {{vendor table header|showFacts=false}} {{vendor table row | id = {{#switch:{{{1}}}<!-- Heavy Chest --> | 0 = 5018 | 10 = 5030 | 15 = 5045 | 20 = 5063 | 25 = 5081 | 30 = 5099 | 35 = 5117 | 40 = 5135 | 45 = 5153 | 50 = 5171 | 55 = 5189 | 60 = 5207 | 65 = 5225 | 70 = 5243 | 75 = 5261 | 80 = 5279 }} | level = {{{1}}} | cost = {{#var:chest}} coin }} {{vendor table row | id = {{#switch:{{{1}}}<!-- Heavy Leggings --> | 0 = 5020 | 10 = 5033 | 15 = 5048 | 20 = 5066 | 25 = 5084 | 30 = 5102 | 35 = 5120 | 40 = 5138 | 45 = 5156 | 50 = 5174 | 55 = 5192 | 60 = 5210 | 65 = 5228 | 70 = 5256 | 75 = 5268 | 80 = 5282 }} | level = {{{1}}} | cost = {{#var:leg}} coin }} {{vendor table row | id = {{#switch:{{{1}}}<!-- Heavy Foot --> | 0 = 5017 | 10 = 5029 | 15 = 5044 | 20 = 5062 | 25 = 5080 | 30 = 5098 | 35 = 5116 | 40 = 5134 | 45 = 5152 | 50 = 5170 | 55 = 5188 | 60 = 5206 | 65 = 5224 | 70 = 5242 | 75 = 5260 | 80 = 5278 }} | level = {{{1}}} | cost = {{#var:foot}} coin }} {{vendor table row | id = {{#switch:{{{1}}}<!-- Heavy Hand --> | 0 = 5019 | 10 = 5031 | 15 = 5046 | 20 = 5064 | 25 = 5082 | 30 = 5100 | 35 = 5118 | 40 = 5136 | 45 = 5154 | 50 = 5172 | 55 = 5190 | 60 = 5208 | 65 = 5226 | 70 = 5244 | 75 = 5262 | 80 = 5280 }} | level = {{{1}}} | cost = {{#var:hand}} coin }} |}</includeonly><noinclude>