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
Line 96: Line 96:
{{Support|Who wouldn't?}}
{{Support|Who wouldn't?}}
{{Support|ikr?}}
{{Support|ikr?}}
===Oppose===
====Oppose====
{{Oppose|Oppose}}
{{Oppose|Oppose}}
===Total===
====Total====
{{TotalVotes}}
{{TotalVotes}}


Line 110: Line 110:
*{{Support}}Who wouldn't?
*{{Support}}Who wouldn't?
*{{Support}}ikr?
*{{Support}}ikr?
===Oppose===
====Oppose====
*{{Oppose}}Oppose
*{{Oppose}}Oppose
===Total===
====Total====
{{TotalVotes}}
{{TotalVotes}}

Revision as of 16:50, 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