Zelda Dungeon Wiki:Sandbox: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
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}}

Revision as of 16:47, March 28, 2013

The sandbox is a free range editor you can test out your ideas, thoughts, or formatting in in order to learn how to format it correctly. No information here is "official" wiki information, please, just use this to figure out how you want it before you create a page. Remember, you can make a mess of the sand, but it is just as easily cleaned up! Click here to reset the sandbox.

Feel free to mess with the formatting, styles, headers, etc. Remember, this is here to help you learn.

Current Method

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.

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 {{NumberColor}} (or a differently-named template).

Nomination 1

Support

  • 1I support it
  • 2Me too
  • 3Who wouldn't?
  • 4ikr?

Oppose

  • 3Oppose

Total

3

Nomination 2

Support

Oppose

  • -1Terrible idea.
  • -2Yep.

Total

2

Parse Votes Within a Template

Nomination 1

Support

  • I support it
  • Me too
  • Who wouldn't?
  • ikr?

Oppose

  • Oppose

Total

0

Nomination 2

Support

Oppose

  • Terrible idea.
  • Yep.

Total

0

Each Header Is a Template

  • Not implemented; this section only demonstrates what the code would look like. (view the source)

Template:Support

Template:Oppose

Template:TotalVotes

All In One Template

  • Not implemented; this section only demonstrates what the code would look like. (view the source)

Template:Nomination

Each Vote In a Template

  • Not implemented; this section only demonstrates what the code would look like. (view the source)

Nomination 1

Support

Template:Support Template:Support Template:Support Template:Support

Oppose

Template:Oppose

Total

Template: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

Oppose

Total

Template:TotalVotes