Difference between revisions of "Template:Proposal"
From Nookipedia, the Animal Crossing wiki
(Template will no longer auto-categorize pages that have a results parameter value. (This prevents archived templates from being categorized.)) |
(Template will now color the result % based on whether the proposal passed (green) or failed (red).) |
||
Line 21: | Line 21: | ||
{{!}}colspan=2 style="border-bottom: 1px solid #ffdd66; padding-bottom:4px;"{{!}} | {{!}}colspan=2 style="border-bottom: 1px solid #ffdd66; padding-bottom:4px;"{{!}} | ||
{{!-}} | {{!-}} | ||
− | {{!}} '''Result:''' ({{{percent|??}}}%) | + | {{!}} '''Result:''' ('''<font color="{{#ifexpr:{{{percent|66}}}>65|green|red}}">{{{percent|??}}}%</font>''') |
{{!}} {{{result|Unknown}}}. {{#ifeq:{{lc:{{{result|<noinclude>Passed</noinclude>}}}}}|passed|The proposal was enacted by {{{staffsig|{{c|<Staff signature here>}}}}}.}} | {{!}} {{{result|Unknown}}}. {{#ifeq:{{lc:{{{result|<noinclude>Passed</noinclude>}}}}}|passed|The proposal was enacted by {{{staffsig|{{c|<Staff signature here>}}}}}.}} | ||
{{!)}} | {{!)}} |
Revision as of 23:18, December 16, 2021
Proposal: | Proposal title/summary. |
Proposal description goes here. | |
Comments: |
|
Votes: |
|
Result: (??%) | Unknown. 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 or 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
- {{ProposalAlert}}