模板:Votings/sorted/doc
本文档是Template:Votings/sorted的文档子页面(见模板页自身)。 本页包含用法信息、分类和其他非原模板页面的内容。 |
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.