Template talk:Ballots: Difference between revisions
link to style sheet
Psephomancy (talk | contribs) (→It doesn't like equals signs: new section) |
Psephomancy (talk | contribs) (link to style sheet) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1:
== Formats ==
Various formats that I've seen:
Line 201 ⟶ 202:
See also https://github.com/pivot-libre/pivot-libre.github.io/blob/master/bff.md is a file format proposal. See also the comments on it: https://github.com/pivot-libre/pivot-libre.github.io/issues
— [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 20:27, 22 February 2020 (UTC)
: Would it be possible to automatically add ":" if they're missing (e.g. turn "51 A" into "51: A"), add spaces (e.g. "51:A>B" to "51: A > B" or "51: A>B"), and autoindent/justify the numbers? [[User:Kristomun|Kristomun]] ([[User talk:Kristomun|talk]]) 00:19, 23 February 2020 (UTC)
:: Possibly with Lua, but I don't know how to use that yet. — [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 00:
The style sheet is stored in [[Template:Ballots/styles.css]] if anyone wants to tweak it. I'm not a web designer. — [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 00:34, 23 February 2020 (UTC)
== It doesn't like equals signs ==
Line 216 ⟶ 223:
}}
The least annoying solution seems to be:
▲— [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 00:15, 23 February 2020 (UTC)
{{ballots|1=
11 A>B>C
5 B>A=C
9 C>B>A
}}
and this is done automatically by VisualEditor. — [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 00:32, 23 February 2020 (UTC)
|