Template:Votings/sorted

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Articles needing review: 1  Categories to be populated: 3  Protected edit requests: 17  Unblock requests: 1  Flagged discussions: 16  Requests for permissions: 2  Deletion discussions: 1  Bot requests: 2  Developing articles: 3 of ≤ 10  Prepared articles: 10  Articles under review: 0  Pages marked for speedy deletion: 0  Accreditation requests: 0  Flagged revs requests: 0  FA candidates: 0  Edit

[edit] Template-info.svg 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.