Difference between revisions of "User:GrampaSwood/Template:vote"

From Team Fortress Wiki
Jump to: navigation, search
m (Removed staff backing as it doesn't really matter (their votes aren't higher than anyone else's), added final outcome, changed default "user 1" "user 2" to something less robotic, changed "backers" to "votes")
m (test)
Line 1: Line 1:
{|class="wikitable grid" width="50%" cellpadding=2 style="text-align:center; font-size:90%"
+
{|class="wikitable grid" width="40%" cellpadding=2 style="text-align:center; font-size:90%"
!class="header" style="background-color:#F3A957;" | Topic
 
 
!class="header" style="background-color:#F3A957;" | Votes
 
!class="header" style="background-color:#F3A957;" | Votes
 
!class="header" style="background-color:#F3A957;" | Total
 
!class="header" style="background-color:#F3A957;" | Total
 
!class="header" style="background-color:#F3A957;" | Final outcome
 
!class="header" style="background-color:#F3A957;" | Final outcome
 +
!class="header" style="background-color:#F3A957;" | Time remaining
 
|-
 
|-
| Should we abolish the Mediawiki system and step over to the Fandom system?
+
| {{pro}}{{{1}}}<br>{{con}}{{{2}}}
| {{pro}} {{Tooltip|FandomFanatic67|Mediawiki sucks, it's too complicated and Fandom is so much easier to understand to new users}}<br>{{con}} {{Tooltip|WikipediaFan29|No, Mediawiki is literally the best thing I've ever seen in my entire life}}
+
| {{pro|{{{3}}}}}/{{con|{{{4}}}}}
| {{pro|1}}/{{con|1}}
+
| {{neutral|{{{5|Undecided}}}}}
| {{neutral|Undecided}}
+
| {{#ifexpr:{{{time|}}}|{{{time|}}}|N/A}}
|}
+
|}<noinclude>
 +
{{doc begin}}
 +
Intended to be used '''at the top''' of a discussion to get an easy overview for total votes
 +
== Usage ==
 +
:<code><nowiki>{{vote|1|2|3|4|5|time}}</nowiki></code>
 +
 
 +
== Parameters ==
 +
;1
 +
:Names of the people who support the idea, remember to include a <nowiki><br></nowiki> after every name.
 +
 
 +
;2
 +
:Names of the people who are against the idea, remember to include a <nowiki><br></nowiki> after every name.
 +
 
 +
;3
 +
:Total yes votes.
 +
 
 +
;4
 +
:Total no votes.
 +
 
 +
;5
 +
:Outcome, defaults to "Undecided".
 +
 
 +
;time
 +
:At what point the discussion should be finished, defaults to "N/A".
 +
 
 +
{{User:GrampaSwood/Template:vote|ProPeter|ConRad|1|1|time={{CURRENTYEAR}}-{{CURRENTMONTH1}}-{{CURRENTDAY}}}}
 +
</noinclude>

Revision as of 18:37, 21 August 2023

Votes Total Final outcome Time remaining
Pictogram plus.png {{{1}}}
Pictogram minus.png {{{2}}}
Pictogram plus.png {{{3}}}/Pictogram minus.png {{{4}}} Pictogram info.png Undecided N/A

Documentation for GrampaSwood/Template:vote

Intended to be used at the top of a discussion to get an easy overview for total votes

Usage

{{vote|1|2|3|4|5|time}}

Parameters

1
Names of the people who support the idea, remember to include a <br> after every name.
2
Names of the people who are against the idea, remember to include a <br> after every name.
3
Total yes votes.
4
Total no votes.
5
Outcome, defaults to "Undecided".
time
At what point the discussion should be finished, defaults to "N/A".
Votes Total Final outcome Discussion ends on
Pictogram plus.png 
Pictogram minus.png 
Pictogram plus.png 0/Pictogram minus.png 0 Pictogram info.png Undecided 2024-5-18