Jump to content

Template talk:NZ election box begin

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
[edit]

The header of the results box currently links to the electorate. As the electorate page is the only page where this results box is displayed, it doesn't make sense that it links back to itself. Or are these results boxes used somewhere else, too? Schwede66 18:42, 23 November 2011 (UTC)[reply]

These aren't the results, they're the candidates lists pre-election.
Both this template and its analogous {{MMP election box begin}} have the same link in their headers, with this one currently being used in the 2011 candidates by electorate list. A ref that resolves to the current page will show as plain text, and in this case forms part of the title.
The MMP templates are also used in Scottish Assembly and in German Federal elections, where both states organise their MMP systems within multi-member regional electorates where it is conceivable that the several electorate results may be included within the larger regional electorate page - the templates were designed to be useful in a variety of applications and in naming this one NZ election I purposely limited it as I felt it was a prototype. FanRed XN | talk 20:26, 23 November 2011 (UTC)[reply]
Well, yes, that's of course the list of candidates. Will this be used after Saturday? Or will another template completely replace this table? You say "A ref that resolves to the current page will show as plain text", but when I look at Dunedin South (that's the one I was working on this morning), that's not the case - it links back to itself. Maybe because of the redirect? Schwede66 20:36, 23 November 2011 (UTC)[reply]
Yes, that's because of the redirect. Correction to my earlier statement - {{MMP election box begin}} does not have an in-built self-link, that was added to the |title= variable, and has been removed in many cases.
On a side note - we should resolve those redirects to a full electorate name including "(New Zealand electorate)" ... we may know what they mean, but for consistency's sake they should be globally recognisable for what they are.
edit: The 2008 and 2005 lists were updated post election to show electorate and list winners and the template allows for that. I'm also currently transcribing the sections of the long list to their respective electorate pages, but the use of this template on those electorate pages will become redundant once results are in. FanRed XN | talk 21:04, 23 November 2011 (UTC)[reply]