Template:Proposal outcome: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (added an option for proposals that didn't reach a consensus (extended 4 times))
mNo edit summary
Line 1: Line 1:
<span style="color:{{#switch: {{{1}}}|passed=green|failed=red|red|green|gray|grey={{{1}}}|grey}};text-transform:uppercase;font-family:Verdana;font-size:150%">{{#switch: {{{1}}}|vetoed=vetoed by the administrators|canceled|cancelled=cancelled by proposer|passed={{{3|passed}}} {{{2|}}}|failed={{{3|failed}}} {{{2|}}}|no consensus=failed to reach consensus {{{2|}}}|red|red|green|gray={{{2}}}|#default=no quorum {{{2|}}}}}</span>{{#if: {{{2|}}}|{{#ifeq: {{{1}}}|vetoed|<br><small>{{{2}}}</small>}}}}<br>
<span style="color:{{#switch: {{{1}}}|passed=green|failed=red|vetoed=blue|red|green|blue|gray|grey={{{1}}}|gray}};text-transform:uppercase;font-family:Verdana;font-size:150%">{{#switch: {{{1}}}|vetoed=vetoed by the administrators|canceled|cancelled=cancelled by proposer|passed={{{3|passed}}} {{{2|}}}|failed={{{3|failed}}} {{{2|}}}|no consensus=failed to reach consensus {{{2|}}}|red|green|blue|gray|grey={{{2}}}|#default=no quorum {{{2|}}}}}</span>{{#if: {{{2|}}}|{{#ifeq: {{{1}}}|vetoed|<br><small>{{{2}}}</small>}}}}<br><noinclude>
<noinclude>


==Usage==
==Usage==
Line 48: Line 47:
|width=40%|<code>&#123;{ProposalOutcome|green|split the articles 7-3}}</code>
|width=40%|<code>&#123;{ProposalOutcome|green|split the articles 7-3}}</code>
|-
|-
|width=60%|{{ProposalOutcome|gray|vetoed by the administrators}}<small>*insert text here*</small><br>
|width=60%|{{ProposalOutcome|blue|vetoed by the administrators}}<small>*insert text here*</small><br>
|width=40%|<code>&#123;{ProposalOutcome|gray|vetoed by the administrators}}&#60;small>*insert text here*</small>&#60;br></code>
|width=40%|<code>&#123;{ProposalOutcome|blue|vetoed by the administrators}}&#60;small>*insert text here*</small>&#60;br></code>
|}
|}


In both cases, the outcome will be in upper case.
In both cases, the outcome will be in upper case.
[[Category:Formatting Templates]]
[[Category:Formatting Templates]]

Revision as of 13:10, May 3, 2016

no quorum

Usage

This template is to display the outcome of a proposal after the deadline has been met.

{{ProposalOutcome|passed/failed/vetoed/canceled/no consensus/no quorum|votes (if necessary)|argument}}

The following table demonstrates the different varieties and different usages of the template.

Template:ProposalOutcome {{ProposalOutcome|passed|11-3}}
Template:ProposalOutcome {{ProposalOutcome|passed|5-0|implement}}
Template:ProposalOutcome {{ProposalOutcome|passed|8-0-0|create articles for paper jam characters only}}
Template:ProposalOutcome {{ProposalOutcome|failed|3-5}}
Template:ProposalOutcome {{ProposalOutcome|failed|4-8|Don't merge}}
Template:ProposalOutcome {{ProposalOutcome|no consensus|10-0-8}}
Template:ProposalOutcome {{ProposalOutcome|vetoed|*insert text here*}}
Template:ProposalOutcome {{ProposalOutcome|cancelled}}
Template:ProposalOutcome {{ProposalOutcome|no quorum|7-6}}

Alternatively you can use the same template with the old system by specifying a color (red,green,gray) followed by the outcome in plain text. (This however cannot produce admin comments in the vetoed outcome, so you have to add it manually)

{{ProposalOutcome|color|title + votes}}
Template:ProposalOutcome {{ProposalOutcome|red|failed 3-6}}
Template:ProposalOutcome {{ProposalOutcome|green|split the articles 7-3}}
Template:ProposalOutcome*insert text here*
{{ProposalOutcome|blue|vetoed by the administrators}}<small>*insert text here*<br>

In both cases, the outcome will be in upper case.