Difference between revisions of "Template:Appr/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Smaug123
(Added documentation)
 
blackwiki>Hi878
(Changed.)
Line 1: Line 1:
==Where the template is hosted==
+
Replace the following parameters with whatever would be appropriate.</br>
The template is [[Template:Appr|here]].
+
<code><nowiki>{{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>}}</nowiki></code></br>
==How to use this template==
+
</br>
Use the following code:<br/>
+
This wil produce:</br>
<code><nowiki>{{subst:Appr|1|5|per consensus|August 6|2010}}</nowiki></code><br/>
+
{{ns0||[[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)
This shows up as:<br/>
+
 
<code>{{ns0||[[Image:Artículo bueno.svg|18px|link=|alt=]] '''Approved'''}} per consensus, with 1 for and 5 against, for [[WP:Motto of the day/August 6, 2010|August 6]] --[[User:Smaug123|Smaug123]] ([[User talk:Smaug123|talk]]) 06:18, 25 June 2010 (UTC)</code>
+
 
<br/>
+
 
In general, the code is:<br/>
+
==Related Templates==
<code><nowiki>{{subst:Appr|Number for|Number against|reason|Month Day|Year}}</nowiki></code><br/>
+
*[[Template:Rej]]
 +
*[[Template:ThrowMotto]]

Revision as of 04:50, 27 June 2010

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:
Template:Ns0 per consensus, with 6 for and 2 against, for February 31. --~~ Hi878 (Come yell at me!) 04:50, 27 June 2010 (UTC)


Related Templates