Difference between revisions of "Template:Proposal"
From Nookipedia, the Animal Crossing wiki
(This template contains minor elements of Template:StaffApply. To be used for Nookipedia:Proposals.) |
PanchamBro (talk | contribs) (slight redesign to proposal template to match Template:StaffApply look) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| cellpadding=10px style="padding:6px 12px; background:# | + | {{#if:{{{title|<noinclude>title</noinclude>}}}| |
− | + | {{(!}} cellpadding{{=}}10px style{{=}}"padding:6px 12px; background:#f2f8ee; width:100%; {{roundy|20px}};" | |
− | + | {{!-}} | |
− | + | {{!}}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 #d4e5c8; padding-bottom:4px;"{{!}}{{{description|Proposal description goes here.}}} | |
− | + | {{!-}} | |
− | + | {{!}}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:''' | |
− | + | {{!}} | |
− | *Vote1 | + | {{{votes|*Vote1 |
*Vote2 | *Vote2 | ||
*Vote3}}} | *Vote3}}} | ||
− | + | {{!-}} | |
− | + | {{!}}colspan=2 style="border-bottom: 1px solid #d4e5c8; padding-bottom:4px;"{{!}} | |
− | + | {{!-}} | |
− | + | {{!}} '''Result:''' ('''<font color="{{#if:{{{percent|}}}|{{#ifexpr:{{{percent|0}}}>65|green|red}}|gray}}">{{#if:{{{percent|}}}|{{{percent|}}}|??}}%</font>''') | |
− | | {{{result| | + | {{!}} {{#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> | + | </div><includeonly>{{#if:{{{result|}}}||[[Category:Active proposals]]}}</includeonly>|There are no current proposals at this time.}}<noinclude><br> |
+ | {{documentation}} |
Latest revision as of 00:22, November 26, 2022
Proposal: | Proposal title/summary. |
Proposal description goes here. | |
Comments: |
|
Votes: |
|
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 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}}