Template:Proposal outcome: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Changed protection settings for "Template:Proposal outcome" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(18 intermediate revisions by 8 users not shown)
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|}}}|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}};font-size:150%;font-family:verdana;text-transform:uppercase">{{#switch:{{{1}}}|vetoed=vetoed by the administrators|canceled|cancelled=canceled 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|}}}|{{#switch:{{{1}}}|vetoed=<br><small>{{{2}}}</small>|blue={{#if:{{{3|}}}|<br><small>{{{3}}}</small>}}}}}}<br><noinclude>
<noinclude>
 
==Usage==
==Usage==
This template is to display the outcome of a proposal after the deadline has been met.
This template is to display the outcome of a proposal after the deadline has been met.


<pre>{{ProposalOutcome|passed/failed/vetoed/canceled/no quorum|votes (if necessary)|argument}}</pre>
<pre>{{proposal outcome|passed/failed/vetoed/canceled/no consensus/no quorum|votes (if necessary)|argument}}</pre>


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


{|class="wikitable"
{| class="wikitable"
|width=60%|{{ProposalOutcome|passed|11-3}}
|width=60%|{{proposal outcome|passed|11-3}}
|width=40%|<code>&#123;{ProposalOutcome|passed|11-3}}</code>
|width=40%|<code>&#123;{proposal outcome|passed|11-3}}</code>
|-
|width=60%|{{proposal outcome|passed|5-0|implement}}
|width=40%|<code>&#123;{proposal outcome|passed|5-0|implement}}</code>
|-
|-
|width=60%|{{ProposalOutcome|passed|5-0|implement}}
|width=60%|{{proposal outcome|passed|8-0-0|create articles for paper jam characters only}}
|width=40%|<code>&#123;{ProposalOutcome|passed|5-0|implement}}</code>
|width=40%|<code>&#123;{proposal outcome|passed|8-0-0|create articles for paper jam characters only}}</code>
|-
|-
|width=60%|{{ProposalOutcome|passed|8-0-0|create articles for paper jam characters only}}
|width=60%|{{proposal outcome|failed|3-5}}
|width=40%|<code>&#123;{ProposalOutcome|passed|8-0-0|create articles for paper jam characters only}}</code>
|width=40%|<code>&#123;{proposal outcome|failed|3-5}}</code>
|-
|-
|width=60%|{{ProposalOutcome|failed|3-5}}
|width=60%|{{proposal outcome|failed|4-8|Do not merge}}
|width=40%|<code>&#123;{ProposalOutcome|failed|3-5}}</code>
|width=40%|<code>&#123;{proposal outcome|failed|4-8|Do not merge}}</code>
|-
|-
|width=60%|{{ProposalOutcome|failed|4-8|Don't merge}}
|width=60%|{{proposal outcome|no consensus|10-0-8}}
|width=40%|<code>&#123;{ProposalOutcome|failed|4-8|Don't merge}}</code>
|width=40%|<code>&#123;{proposal outcome|no consensus|10-0-8}}</code>
|-
|-
|width=60%|{{ProposalOutcome|vetoed|The information posted in the comments shows that the situation is more complicated than initially believed, however there was no time for the proposal and its participants to take that into account.}}
|width=60%|{{proposal outcome|vetoed|The information posted in the comments shows that the situation is more complicated than initially believed, however there was no time for the proposal and its participants to take that into account.}}
|width=40%|<code>&#123;{ProposalOutcome|vetoed|*insert text here*}}</code>
|width=40%|<code>&#123;{proposal outcome|vetoed|*insert text here*}}</code>
|-
|-
|width=60%|{{ProposalOutcome|cancelled}}
|width=60%|{{proposal outcome|canceled}}
|width=40%|<code>&#123;{ProposalOutcome|cancelled}}</code>
|width=40%|<code>&#123;{proposal outcome|canceled}}</code>
|-
|-
|width=60%|{{ProposalOutcome|no quorum|7-6}}
|width=60%|{{proposal outcome|no quorum|2-0}}
|width=40%|<code>&#123;{ProposalOutcome|no quorum|7-6}}</code>
|width=40%|<code>&#123;{proposal outcome|no quorum|2-0}}</code>
|}
|}


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)
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.
<pre>{{ProposalOutcome|color|title + votes}}</pre>
<pre>{{proposal outcome|color|title + votes}}</pre>


{| class="wikitable"
{| class="wikitable"
|width=60%|{{ProposalOutcome|red|failed 3-6}}
|width=60%|{{proposal outcome|red|failed 3-6}}
|width=40%|<code>&#123;{ProposalOutcome|red|failed 3-6}}</code>
|width=40%|<code>&#123;{proposal outcome|red|failed 3-6}}</code>
|-
|-
|width=60%|{{ProposalOutcome|green|split the articles 7-3}}
|width=60%|{{proposal outcome|green|split the articles 7-3}}
|width=40%|<code>&#123;{ProposalOutcome|green|split the articles 7-3}}</code>
|width=40%|<code>&#123;{proposal outcome|green|split the articles 7-3}}</code>
|-
|-
|width=60%|{{ProposalOutcome|gray|vetoed by the administrators}}<small>*insert text here*</small><br>
|width=60%|{{proposal outcome|blue|vetoed by the administrators|This is way too minor for a TPP.}}
|width=40%|<code>&#123;{ProposalOutcome|gray|vetoed by the administrators}}&#60;small>*insert text here*</small>&#60;br></code>
|width=40%|<code>&#123;{proposal outcome|blue|vetoed by the administrators|*insert text here*}}</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:Proposal templates]]</noinclude>

Latest revision as of 15:17, January 12, 2025

no quorum

Usage

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

{{proposal outcome|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.

passed 11-3
{{proposal outcome|passed|11-3}}
implement 5-0
{{proposal outcome|passed|5-0|implement}}
create articles for paper jam characters only 8-0-0
{{proposal outcome|passed|8-0-0|create articles for paper jam characters only}}
failed 3-5
{{proposal outcome|failed|3-5}}
Do not merge 4-8
{{proposal outcome|failed|4-8|Do not merge}}
failed to reach consensus 10-0-8
{{proposal outcome|no consensus|10-0-8}}
vetoed by the administrators
The information posted in the comments shows that the situation is more complicated than initially believed, however there was no time for the proposal and its participants to take that into account.
{{proposal outcome|vetoed|*insert text here*}}
canceled by proposer
{{proposal outcome|canceled}}
no quorum 2-0
{{proposal outcome|no quorum|2-0}}

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.

{{proposal outcome|color|title + votes}}
failed 3-6
{{proposal outcome|red|failed 3-6}}
split the articles 7-3
{{proposal outcome|green|split the articles 7-3}}
vetoed by the administrators
This is way too minor for a TPP.
{{proposal outcome|blue|vetoed by the administrators|*insert text here*}}

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