Electowiki:The electowiki handbook: Difference between revisions

Content added Content deleted
No edit summary
(→‎Election-related templates: add ballots template)
Line 70: Line 70:
If every voter's preference between X and Y remains unchanged, then the group's preference between X and Y will also remain unchanged with the addition of a new candidate
If every voter's preference between X and Y remains unchanged, then the group's preference between X and Y will also remain unchanged with the addition of a new candidate
}}
}}
</syntaxhighlight>
</syntaxhighlight>(Currently this just produces a block quote, but we might make this prettier in the future, which would affect all instances of the template simultaneously. Discuss on [[Template talk:Definition]].)


Currently this just produces a block quote:
Likewise, the usual "list of ranked ballots" format can be placed in a [[Template:Ballots|Ballots]] template:


{{definition|
{{Ballots|3: A>B>C
If every voter's preference between X and Y remains unchanged, then the group's preference between X and Y will also remain unchanged with the addition of a new candidate
}}

but we might make this prettier in the future, which would affect all instances of the template simultaneously. Discuss any formatting suggestions on [[Template talk:Definition]].

Similarly, the usual "list of ranked ballots" format can be placed in a [[Template:Ballots|Ballots]] template:

<syntaxhighlight>
{{Ballots|
3: A>B>C
4: B>A>C
4: B>A>C
2: C>A>B}}
2: C>A>B
}}
</syntaxhighlight>

{{Ballots|
3: A>B>C
4: B>A>C
2: C>A>B
}}

and likewise, style suggestions can be made on [[Template talk:Ballots]]