Difference between revisions of "Template:Proposal"

From Nookipedia, the Animal Crossing wiki
(Correcting an issue where template would not properly show default text.)
(slight redesign to proposal template to match Template:StaffApply look)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{#if:{{{title|<noinclude>title</noinclude>}}}|
 
{{#if:{{{title|<noinclude>title</noinclude>}}}|
{{(!}} cellpadding{{=}}10px style{{=}}"padding:6px 12px; background:#ffffcc; border:3px solid #ffdd66; width:100%; {{roundy|20px}};"
+
{{(!}} cellpadding{{=}}10px style{{=}}"padding:6px 12px; background:#f2f8ee; width:100%; {{roundy|20px}};"
 
{{!-}}
 
{{!-}}
{{!}}style="width:1%; font-size:150%;"{{!}}'''Proposal:'''
+
{{!}}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;"{{!}}{{{title|Proposal title/summary.}}}
+
{{!}}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:'''
 
{{!}}style="vertical-align:text-top; text-align:right; padding-top:4px;"{{!}}'''Comments:'''
Line 19: Line 19:
 
*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:''' ('''<font color="{{#if:{{{percent|}}}|{{#ifexpr:{{{percent|0}}}>65|green|red}}|gray}}">{{#if:{{{percent|}}}|{{{percent|}}}|??}}%</font>''')
 
{{!}} '''Result:''' ('''<font color="{{#if:{{{percent|}}}|{{#ifexpr:{{{percent|0}}}>65|green|red}}|gray}}">{{#if:{{{percent|}}}|{{{percent|}}}|??}}%</font>''')

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