Difference between revisions of "Template:Proposal"
From Nookipedia, the Animal Crossing wiki
(Adding area to denote enacting staff member.) |
(Template will now display the text: "There are no current proposals at this time." if there is no value entered for the title parameter.) |
||
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:#ffffcc; border:3px solid #ffdd66; 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.}}} | |
− | + | {{!-}} | |
− | + | {{!}}colspan=2 style="border-bottom: 1px solid #ffdd66; padding-bottom:4px;"{{!}}{{{description|Proposal description goes here.}}} | |
− | + | {{!-}} | |
− | + | {{!}}style="vertical-align:text-top; text-align:right; padding-top:4px;"{{!}}'''Comments:''' | |
+ | {{!}}{{{comments| | ||
*Comment1 | *Comment1 | ||
*Comment2 | *Comment2 | ||
*Comment3}}} | *Comment3}}} | ||
− | + | {{!-}} | |
− | + | {{!}}style="vertical-align:text-top; text-align:right; padding-top:4px;"{{!}}'''Votes:''' | |
− | + | {{!}}{{{votes| | |
*Vote1 | *Vote1 | ||
*Vote2 | *Vote2 | ||
*Vote3}}} | *Vote3}}} | ||
− | + | {{!-}} | |
− | + | {{!}}colspan=2 style="border-bottom: 1px solid #ffdd66; padding-bottom:4px;"{{!}} | |
− | + | {{!-}} | |
− | + | {{!}} '''Result:''' ({{{percent|??}}}%) | |
− | + | {{!}} {{{result|Unknown}}}. {{#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>|There are no current proposals at this time.}}<noinclude><br> |
{{documentation}} | {{documentation}} |
Revision as of 23:27, November 30, 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}}