Difference between revisions of "Template:Proposal"

From Nookipedia, the Animal Crossing wiki
(Adding area to denote enacting staff member.)
(slight redesign to proposal template to match Template:StaffApply look)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellpadding=10px style="padding:6px 12px; background:#ffffcc; border:3px solid #ffdd66; width:100%; {{roundy|20px}};"
+
{{#if:{{{title|<noinclude>title</noinclude>}}}|
|-
+
{{(!}} cellpadding{{=}}10px style{{=}}"padding:6px 12px; background:#f2f8ee; width:100%; {{roundy|20px}};"
|style="width:1%; font-size:150%;"|'''Proposal:'''
+
{{!-}}
|style="text-align:left; font-size:150%; padding-left:4px;"|{{{title|Proposal title/summary.}}}
+
{{!}}style="width:1%; font-size:150%; font-family: Coustard; border-bottom: 1px solid #d4e5c8;"{{!}}Proposal:
|-
+
{{!}}style="text-align:left; font-size:150%; padding-left:4px; font-family: Coustard; border-bottom: 1px solid #d4e5c8;"{{!}}{{{title|Proposal title/summary.}}}
|colspan=2 style="border-bottom: 1px solid #ffdd66; padding-bottom:4px;"|{{{description|Proposal description goes here.}}}
+
{{!-}}
|-  
+
{{!}}colspan=2 style="border-bottom: 1px solid #d4e5c8; padding-bottom:4px;"{{!}}{{{description|Proposal description goes here.}}}
|style="vertical-align:text-top; text-align:right; padding-top:4px;"|'''Comments:'''
+
{{!-}}
|{{{comments|
+
{{!}}style="vertical-align:text-top; text-align:right; padding-top:4px;"{{!}}'''Comments:'''
*Comment1
+
{{!}}
 +
{{{comments|*Comment1
 
*Comment2
 
*Comment2
 
*Comment3}}}
 
*Comment3}}}
|-  
+
{{!-}}
|style="vertical-align:text-top; text-align:right; padding-top:4px;"|'''Votes:'''
+
{{!}}style="vertical-align:text-top; text-align:right; padding-top:4px;"{{!}}'''Votes:'''
|{{{votes|
+
{{!}}
*Vote1
+
{{{votes|*Vote1
 
*Vote2
 
*Vote2
 
*Vote3}}}
 
*Vote3}}}
|-
+
{{!-}}
|colspan=2 style="border-bottom: 1px solid #ffdd66; padding-bottom:4px;"|
+
{{!}}colspan=2 style="border-bottom: 1px solid #d4e5c8; padding-bottom:4px;"{{!}}
|-
+
{{!-}}
| '''Result:''' ({{{percent|??}}}%)
+
{{!}} '''Result:''' ('''<font color="{{#if:{{{percent|}}}|{{#ifexpr:{{{percent|0}}}>65|green|red}}|gray}}">{{#if:{{{percent|}}}|{{{percent|}}}|??}}%</font>''')
| {{{result|Unknown}}}. {{#ifeq:{{lc:{{{result|<noinclude>Passed</noinclude>}}}}}|passed|The proposal was enacted by {{{staffsig|{{c|<Staff signature here>}}}}}.}}
+
{{!}} {{#if:{{{result|}}}|{{{result|}}}|To be determined}}. {{#ifeq:{{lc:{{{result|<noinclude>Passed</noinclude>}}}}}|passed|The proposal was enacted by {{{staffsig|{{c|<Staff signature here>}}}}}.}}
|}
+
{{!)}}
 
<div style="float:right; padding-right:16px; margin-top:-10px;">
 
<div style="float:right; padding-right:16px; margin-top:-10px;">
 
{{countdown
 
{{countdown
Line 33: Line 34:
 
  |eventstart = Voting on this proposal has ended.
 
  |eventstart = Voting on this proposal has ended.
 
}}
 
}}
</div><noinclude><br>
+
</div><includeonly>{{#if:{{{result|}}}||[[Category:Active proposals]]}}</includeonly>|There are no current proposals at this time.}}<noinclude><br>
 
{{documentation}}
 
{{documentation}}

Latest revision as of 00:22, November 26, 2022

Proposal: Proposal title/summary.
Proposal description goes here.
Comments:
  • Comment1
  • Comment2
  • Comment3
Votes:
  • Vote1
  • Vote2
  • Vote3
Result: (??%) To be determined. The proposal was enacted by <Staff signature here>.

Voting on this proposal has ended. (refresh)


Template documentation (view)


Notes

  • If a value is given for the title parameter, the template will properly display, otherwise it will produce the text: "There are no current proposals at this time."
  • This template auto-categorizes pages it is placed on into the administrative category Active proposals. This allows for proper functionality of the {{ProposalAlert}} template.

Parameters

  • title = Short, 1 sentence description of proposal.
  • description = Additional proposal details/explanation.
  • comments = User commentary on proposal.
  • votes = User votes on proposal (Support Support or Oppose Oppose + signature ~~~~).

For administrative use only

  • percent = Proposal support percentage.
  • result = Proposal result (Passed or Failed).
  • staffsig = The signature ~~~~ of the staff member who enacted the proposal.
  • year = The year voting closes.
  • month = The month voting closes.
  • day = The day voting closes.
  • hour = The hour voting closes.
  • minute = The minute voting closes.

See also