Difference between revisions of "Template:Appr/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Smaug123
(Added documentation)
 
m (13 revisions imported)
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
==Where the template is hosted==
+
{{documentation subpage}}
The template is [[Template:Appr|here]].
+
 
 
==How to use this template==
 
==How to use this template==
Use the following code:<br/>
+
Replace the following parameters with whatever would be appropriate.<br>
<code><nowiki>{{subst:Appr|1|5|per consensus|August 6|2010}}</nowiki></code><br/>
+
<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>
This shows up as:<br/>
+
<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>
+
This wil produce:<br>
<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|<span style="color:#006400">Hi</span><span style="color:#DC143C">8</span><span style="color:#800000">7</span><span style="color:#FF4500">8</span>]] <sup>[[User talk:Hi878|<span style="color:#0000CD">(''Come yell at me!'')</span>]]</sup> 04:50, 27 June 2010 (UTC)
In general, the code is:<br/>
+
{{substituted}}
<code><nowiki>{{subst:Appr|Number for|Number against|reason|Month Day|Year}}</nowiki></code><br/>
+
 
 +
==Related Templates==
 +
*[[Template:Rej]]
 +
*[[Template:ThrowMotto]]
 +
 
 +
<includeonly>{{Sandbox other||
 +
[[Category:Image with comment templates]]
 +
}}</includeonly>

Latest revision as of 15:29, 22 October 2020

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

Related Templates