Difference between revisions of "Template talk:Itemcount"

From Team Fortress Wiki
Jump to: navigation, search
Line 7: Line 7:
 
Since this template seems horribly outdated and rather painful to update, while still being an important template for the [[Cosmetic items]] page, it should probably be improved.
 
Since this template seems horribly outdated and rather painful to update, while still being an important template for the [[Cosmetic items]] page, it should probably be improved.
 
Is it either possible to sum over the number of scout, soldier, pyro, ... cosmetics from other templates, or have a bot increment the counter each time he encounters a new ''item infobox'' page? [[File:User_SackZement_signature.gif|link=User:SackZement]][[User:SackZement|<span style="font-size:14px;font-family: Tf2 Build"><font color="orange">SackZement]]</font></span> [[User_talk:SackZement|&lt;Talk&gt;]] 12:52, 30 July 2014 (PDT)
 
Is it either possible to sum over the number of scout, soldier, pyro, ... cosmetics from other templates, or have a bot increment the counter each time he encounters a new ''item infobox'' page? [[File:User_SackZement_signature.gif|link=User:SackZement]][[User:SackZement|<span style="font-size:14px;font-family: Tf2 Build"><font color="orange">SackZement]]</font></span> [[User_talk:SackZement|&lt;Talk&gt;]] 12:52, 30 July 2014 (PDT)
 +
:I've spent some time thinking about this, but can't think of an easy way to do it. Probably the best way would be to piggyback off of the logic of {{tl|Quad}}, somehow. [[User:Darkid|<span style="color:red">Darkid</span>]] ([[User talk:Darkid|<span style="color:blue">Talk</span>]] | [[Special:Contributions/Darkid|<span style="color:grey">Contribs</span>]]) 18:10, 30 July 2014 (PDT)

Revision as of 01:10, 31 July 2014

Updating

When you update this template, it might be a good idea to explain which patch it is up to date for, just so there are no collisions and the number is always correct. -- Pilk (talk) 10:05, 15 June 2011 (UTC)

It means, when patch will be released, this template will be updated automatically? - Grand-O-Rand Painted Détective Noir 694D3A.png · (Talk) 10:47, 15 June 2011 (UTC)

Automatization

Since this template seems horribly outdated and rather painful to update, while still being an important template for the Cosmetic items page, it should probably be improved. Is it either possible to sum over the number of scout, soldier, pyro, ... cosmetics from other templates, or have a bot increment the counter each time he encounters a new item infobox page? User SackZement signature.gifSackZement <Talk> 12:52, 30 July 2014 (PDT)

I've spent some time thinking about this, but can't think of an easy way to do it. Probably the best way would be to piggyback off of the logic of {{Quad}}, somehow. Darkid (Talk | Contribs) 18:10, 30 July 2014 (PDT)