Category talk:Widgets

From Guild Wars 2 Wiki
Jump to navigationJump to search

Removal of smarty counter syntax[edit]

I've conducted a bit of a usage audit regarding smarty syntax assigned counters (which do not always initialize on a page to zero).

In many instances, the widgets didn't really need the counter logic, as the likelihood of using the template multiple times per page is low (e.g. Editing robot, or Account dungeons), so in those instances I've just removed the counter=1 check without any further changes. The remaining widgets (listed below, excluding widgets in the test category) still use counter logic, and will probably need modifying.

Widget:Account achievements
Widget:Account dyes
Widget:Account gliders
Widget:Account masteries
Widget:Account miniatures
Widget:Account mounts
Widget:Account novelties
Widget:Account outfits
Widget:Account recipes
Widget:Account skins
Widget:Daily achievements
Widget:Datetime
Widget:Show on hover
Widget:Skyscale Rider
Widget:Tp total calculate
Widget:Time based highlighting
Widget:Zone map v3

-Chieftain AlexUser Chieftain Alex sig.png 23:03, 1 December 2022 (UTC)

these are now all adjusted. -Chieftain AlexUser Chieftain Alex sig.png 11:37, 3 December 2022 (UTC)