You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Vtable: Difference between revisions
Jump to navigation
Jump to search
SigmaEpsilon (talk | contribs) (create initial template.) |
SigmaEpsilon (talk | contribs) (add documentation) |
||
Line 1: | Line 1: | ||
{{{!}} class ="wikitable" style="text-align:left;" | <includeonly>{{{!}} class ="wikitable" style="text-align:left;" | ||
! colspan = "3" style="text-align:center" {{!}} Voting pattern | ! colspan = "3" style="text-align:center" {{!}} Voting pattern | ||
{{!}}- | {{!}}- | ||
Line 13: | Line 13: | ||
{{!}}- | {{!}}- | ||
{{!}} {{{novotes}}} {{!}}{{!}} ''not voting'' {{!}}{{!}} {{{novotename}}} }} }} }} }} | {{!}} {{{novotes}}} {{!}}{{!}} ''not voting'' {{!}}{{!}} {{{novotename}}} }} }} }} }} | ||
{{!}}} | {{!}}}</includeonly><noinclude> | ||
This template generates vote tables like the one below. | |||
At the moment, it is limited to four "votees" and one "no-vote" line. | |||
== Usage == | |||
<pre> | |||
{{vtable | |||
| | | | |||
| | | | |||
| | | | |||
| | | | |||
|novotes= |novotename= }} | |||
</pre> | |||
Each line is to consist of three parameters, seperated by pipe characters: The number of votes, the target of the votes, and the names of players who voted for that target. There are two optional named parameters: '''novotes''', which is the number of players not voting, and '''novotename''' which is the name(s) of any player(s) not voting. | |||
=== Example === | |||
{| class="wikitable" | |||
|- | |||
! width=50% | What you type | |||
! width=50% | What it looks like | |||
|- valign="top" | |||
| | |||
<pre> | |||
{{vtable | |||
|6|Fiasco|Guy1, Guy2, Gu3, Guy_4, GUY5, Gal6 | |||
|1|OtherGuy|Fiaco | |||
|1|Alien|Weirdo | |||
|1|Allen|Bob | |||
|novotes=2|novotename=Billy, Tommy}} | |||
</pre> | |||
| | |||
{{vtable | |||
|6|Fiasco|Guy1, Guy2, Gu3, Guy_4, GUY5, Gal6 | |||
|1|OtherGuy|Fiaco | |||
|1|Alien|Weirdo | |||
|1|Allen|Bob | |||
|novotes=2|novotename=Billy, Tommy}} | |||
|} | |||
</noinclude> |
Revision as of 03:42, 23 August 2007
This template generates vote tables like the one below. At the moment, it is limited to four "votees" and one "no-vote" line.
Usage
{{vtable | | | | | | | | | | | | |novotes= |novotename= }}
Each line is to consist of three parameters, seperated by pipe characters: The number of votes, the target of the votes, and the names of players who voted for that target. There are two optional named parameters: novotes, which is the number of players not voting, and novotename which is the name(s) of any player(s) not voting.
Example
What you type | What it looks like | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{vtable |6|Fiasco|Guy1, Guy2, Gu3, Guy_4, GUY5, Gal6 |1|OtherGuy|Fiaco |1|Alien|Weirdo |1|Allen|Bob |novotes=2|novotename=Billy, Tommy}} |
|