Template talk:NZ election box begin
Latest comment: 13 years ago by Fanx in topic Link to electorate
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||
|
Link to electorate
editThe 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)
- 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. Fan | talk 20:26, 23 November 2011 (UTC)- 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)
- 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. Fan | talk 21:04, 23 November 2011 (UTC)
- 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.
- 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)