Template talk:NZ party list candidate

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject New Zealand / Politics  (Rated Template-class)
WikiProject icon This template is within the scope of WikiProject New Zealand, a collaborative effort to improve the coverage of New Zealand and New Zealand-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
Taskforce icon
This template is supported by the New Zealand politics task force.

Closing bracket[edit]

It says on the documentation page:

3. The code |}, which ends the table.

That would appear to be an unbalanced bracket. I don't think it's needed at all. Any thoughts? Schwede66 04:57, 15 June 2013 (UTC)

Ok, I'm partially wrong. It's unbalanced, but it is needed. In order to keep bracket bot happy, shall we replace that with the {{end}} template? Schwede66 05:01, 15 June 2013 (UTC)
I replaced it with {{NZ party list end}}, which is currently a redirect to {{end}}, but will allow for changes in how the table is generated later (e.g., with something other than simple html table). the other option would be to merge the begin/end into a single template which takes the list of candidates as input. this would reduce the number of templates and make it more difficult to improperly close the table. Frietjes (talk) 16:21, 15 June 2013 (UTC)
Great - thanks! Schwede66 18:52, 15 June 2013 (UTC)


Per WP:COLOUR "Ensure that color is not the only method used to convey important information"; there need to be symbols (eg, daggers, asterisks) to denote different election statuses. Also, great initiative to start a concise standardisation of these lists, but why set up a template system for what are reasonably simple tables? Note that there are template limits to an article, and the more templates used in a page, the slower it loads (and templates stack, ie templates in templates in templates all count). Adabow (talk) 09:52, 16 June 2013 (UTC)

Oh, and a key of some sort is needed. Adabow (talk) 09:55, 16 June 2013 (UTC)
Agreed. Vardion set these up a couple of years back. I wonder whether this will show up on his / her watchlist. Schwede66 10:10, 16 June 2013 (UTC)
With regard to the colours: the colours just correspond to whatever is shown in the Results column (and only appear when there's something in this column), so the colours aren't "the only method used to convey important information" — they're purely auxiliary, as they're supposed to be. Wouldn't adding symbols or a key would just duplicate what's already spelled out in the Results column of each row? Consulting a key to learn that green equals "elected from list" (for example) doesn't tell you anything you don't learn from the Results column directly. As for why templates were used at all: things may have changed since then, but the main reason was sorting. Various things that people might want to sort by (for example, a candidate's change in list position from the last election) didn't sort properly without hidden sortkeys, and a template automated the inclusion of things like that. The template also automates the colours, generates certain links, auto-calculates the change in rank, and a few other things. It may be that all this can be accomplished other ways now (though I personally don't have much time to experiment with it right now), or people might not mind doing in manually (or not doing it at all). -- Vardion (talk) 19:29, 16 June 2013 (UTC)