Jump to content

Template:Votings/sorted

Checked
From Wikinews, the free news source you can write!

Articles needing review: 6  Categories to be populated: 12  Protected edit requests: 29  Protection requests: 1  Pages marked for speedy deletion: 7  Flagged discussions: 11  Requests for permissions: 3  Flagged revs requests: 4  Deletion discussions: 2  Developing articles: 3 of ≤ 55  Prepared articles: 1  Articles under review: 0  Unblock requests: 0  Accreditation requests: 0  FA candidates: 0  Bot requests: 0  Edit

[edit] Template documentation

Usage

This template provides a variant of the attention-list of {{votings}}, with all the non-zero items first, followed by the zero items.

As for {{votings}}, optional parameter row excludes entries not earmarked for the specified row.

Internals

The sorting is accomplished by calling {{votings}} twice, first with parameter x=+, then with x=0. The parameter is passed down through {{votings}} (along with parameter row) to the subtemplates that generate the entries.