Forum:Automatic Icons from Template:Ability

From Warcraft Wiki
Jump to navigation Jump to search
Forums: Village pump → Automatic Icons from Template:Ability
(This topic is archived. Please do not edit this page!)

I was in the midst of creating {{Ability/link}} and {{Ability/iconlink}}, with the intent of making it so that you could pass an empty icon parameter such as {{Ability|icon=}} to have the icon automatically generated using attributes on the infobox page. This is similar to the design of {{Item|icon=}}, and I completed the work but came across a slight stumbling block: All instances of {{Infobox ability}} don't use the tpl attribute! I have reverted the edits to {{Ability}}, but left the two helper templates intact so that the work can be quickly restored. Is there any chance that someone with a bot could change every instance of {{Infobox ability .......}} to {{ {{{tpl|Infobox ability}}} ......}}? This would have the added benefit of giving flexibility for other templates to access the meta data in the future as well, so in the long term this could be beneficial. --D.D. Corkum (T / C) 02:17, 9 December 2010 (UTC)