Difference between revisions of "Template:Grant application"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Adding option for completed grants)
(Year categories for completed grants)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{header title|title='''Grant application:''' {{PAGENAME}}}}
 
{{header title|title='''Grant application:''' {{PAGENAME}}}}
<span style="background:{{#switch:{{{1|}}}|completed=#339966|approved=#339966|declined=#990000|canceled=#990000|open=#666|#default=#666}}; color:#fff; margin:0; padding:5px; font-size:150%;">Status: '''{{#switch:{{{1|}}}|completed=Completed|approved=Approved|declined=Declined|canceled=Canceled|open=Open|#default=Open}}'''</span>
+
<span style="background:{{#switch:{{{1|}}}|completed=#339966|approved=#339966|declined=#990000|canceled=#990000|open=#666|withdrawn=#666|#default=#666}}; color:#fff; margin:0; padding:5px; font-size:150%;">Status: '''{{#switch:{{{1|}}}|completed=Completed|approved=Approved|declined=Declined|canceled=Canceled|open=Open|withdrawn=Withdrawn|#default=Open}}'''</span>
 
{{#switch:{{{1|}}}
 
{{#switch:{{{1|}}}
|completed=<includeonly>[[Category:Completed grants]]</includeonly>
+
|completed=<includeonly>[[Category:Grants completed in Fiscal Year {{{year|UNKNOWN}}}]]</includeonly>
 
|approved=<includeonly>[[Category:Approved grant applications]]</includeonly>
 
|approved=<includeonly>[[Category:Approved grant applications]]</includeonly>
 
|declined=<includeonly>[[Category:Declined grant applications]]</includeonly>
 
|declined=<includeonly>[[Category:Declined grant applications]]</includeonly>
 
|canceled=<includeonly>[[Category:Canceled grant applications]]</includeonly>
 
|canceled=<includeonly>[[Category:Canceled grant applications]]</includeonly>
  +
|withdrawn=<includeonly>[[Category:Withdrawn grant applications]]</includeonly>
 
|open|#default=<includeonly>[[Category:Open grant applications]]</includeonly>
 
|open|#default=<includeonly>[[Category:Open grant applications]]</includeonly>
 
}}<noinclude>[[Category:Visual identity templates]]</noinclude>
 
}}<noinclude>[[Category:Visual identity templates]]</noinclude>

Latest revision as of 01:04, 8 August 2016

Status: Open