Zelda Dungeon Wiki:Sandbox: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
added some more options for nomination voting
mNo edit summary
(added some more options for nomination voting)
Line 2: Line 2:
<!-- Feel free to test your editing skills here. Do not edit above this line. -->
<!-- Feel free to test your editing skills here. Do not edit above this line. -->


=Locke=
==Current Method==
==Nomination 1==
The current method is to place the vote in the appropriate section, and then modify the number in the "Total" section. The following methods update this number automatically, but require more set-up.
===Support===
 
==Using Existing Templates==
*The ++ and -- templates would be modified to not display the value.
*NumberColor may be modified to automatically print the vote variable (or a helper template could be made to do this), so usage would just be <nowiki>{{NumberColor}}</nowiki> (or a differently-named template).
 
===Nomination 1===
====Support====
*{{++|vote}}I support it
*{{++|vote}}I support it
*{{++|vote}}Me too
*{{++|vote}}Me too
*{{++|vote}}Who wouldn't?
*{{++|vote}}Who wouldn't?
*{{++|vote}}ikr?
*{{++|vote}}ikr?
===Oppose===
====Oppose====
*{{--|vote}}Oppose
*{{--|vote}}Oppose
===Total===
====Total====
{{NumberColor|{{#var:vote}}{{#vardefine:vote|0}}}}
{{NumberColor|{{#var:vote}}{{#vardefine:vote|0}}}}


Line 22: Line 28:
{{NumberColor|{{#var:vote}}{{#vardefine:vote|0}}}}
{{NumberColor|{{#var:vote}}{{#vardefine:vote|0}}}}


=Matt=
==Parse Votes Within a Template==
==Nomination 1==
 
===Support===
===Nomination 1===
====Support====
{{Votes/Support|
{{Votes/Support|
*I support it
*I support it
Line 38: Line 45:
{{Votes/Total|~}}
{{Votes/Total|~}}


==Nomination 2==
===Nomination 2===
===Support===
====Support====
{{Votes/Support|
{{Votes/Support|


}}
}}
===Oppose===
====Oppose====
{{Votes/Oppose|
{{Votes/Oppose|
*Terrible idea.
*Terrible idea.
*Yep.
*Yep.
}}
}}
====Total====
{{Votes/Total|~}}
==Each Header Is a Template==
*Not implemented; this section only demonstrates what the code would look like. (view the source)
{{Support|
*I support it
*Me too
*Who wouldn't?
*ikr?
}}
{{Oppose|
*Oppose
}}
{{TotalVotes}}
==All In One Template==
*Not implemented; this section only demonstrates what the code would look like. (view the source)
{{Nomination
| support =
*I support it
*Me too
*Who wouldn't?
*ikr?
| oppose =
*Oppose
}}
==Each Vote In a Template==
*Not implemented; this section only demonstrates what the code would look like. (view the source)
===Nomination 1===
====Support====
{{Support|I support it}}
{{Support|Me too}}
{{Support|Who wouldn't?}}
{{Support|ikr?}}
===Oppose===
{{Oppose|Oppose}}
===Total===
===Total===
{{Votes/Total|~}}
{{TotalVotes}}
 
==Each Vote Uses a Template==
*This is similar to the first one and the one above.
*Not implemented; this section only demonstrates what the code would look like. (view the source)
===Nomination 1===
====Support====
*{{Support}}I support it
*{{Support}}Me too
*{{Support}}Who wouldn't?
*{{Support}}ikr?
===Oppose===
*{{Oppose}}Oppose
===Total===
{{TotalVotes}}

Navigation menu