Difference between revisions of "Template:Appr/doc"
Jump to navigation
Jump to search
blackwiki>Hi878 (Fixing.) |
blackwiki>Smaug123 (→How to use this template: Added hyphen + subst) |
||
| Line 4: | Line 4: | ||
</br> | </br> | ||
This wil produce:</br> | This wil produce:</br> | ||
| − | {{ | + | {{#switch: |
| + | <!--If no or empty "demospace" parameter then detect namespace--> | ||
| + | {{#if: | ||
| + | | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | ||
| + | | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | ||
| + | | main | ||
| + | | other | ||
| + | }} | ||
| + | }} | ||
| + | | main = | ||
| + | | other | ||
| + | | #default = [[Image:Artículo bueno.svg|18px|link=|alt=]] '''Approved''' | ||
| + | }} - per consensus, with 6 for and 2 against, for [[WP:Motto of the day/February 31, 0000|February 31]]. --~~ [[User:Hi878|<font style="color:#006400">Hi</font><font style="color:#DC143C">8</font><font style="color:#800000">7</font><font style="color:#FF4500">8</font>]] <sup>[[User talk:Hi878|<font style="color:#0000CD">(''Come yell at me!'')</font>]]</sup> 04:50, 27 June 2010 (UTC) | ||
==Related Templates== | ==Related Templates== | ||
*[[Template:Rej]] | *[[Template:Rej]] | ||
*[[Template:ThrowMotto]] | *[[Template:ThrowMotto]] | ||
Revision as of 08:44, 27 June 2010
How to use this template
Replace the following parameters with whatever would be appropriate.
{{subst:Appr|<it>number of supports</it>|<it>number of opposes</it>|<it>reason</it>|<it>month and date approved for</it>|<it>year approved for</it>}}
This wil produce:
Approved - per consensus, with 6 for and 2 against, for February 31. --~~ Hi878 (Come yell at me!) 04:50, 27 June 2010 (UTC)