Difference between revisions of "Template:Award"
Jump to navigation
Jump to search
imported>Hiding (nope) |
imported>Thumperward (doc) |
||
| Line 1: | Line 1: | ||
| − | [[Image:{{{image}}}|left|{{#if:{{{size|}}}|{{{size}}}|100px}}]]{{{text}}}<noinclude> | + | [[Image:{{{image}}}|left|{{#if:{{{size|}}}|{{{size}}}|100px}}]]{{{text}}}<noinclude>{{doc|content= |
| − | </noinclude> | + | {{[[Template:Award|award]]}} — Gives an award to a person |
| + | |||
| + | <!-- explain what this template does; use it in a sentence --> | ||
| + | |||
| + | == Usage == | ||
| + | <!-- Abstract usage of the template, one variable per row. --> | ||
| + | <pre> | ||
| + | {{subst:Award | ||
| + | |image=the image to use, defaults to Barnstar.png | ||
| + | |size=The size of the image, defaults to 100px | ||
| + | |topic=The topic for the barnstar, default to "An Award" | ||
| + | |text=The description of the award | ||
| + | |color=The background color of the box, default to #fdffe7 | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | <!-- explain what this template's parameters do -- if no params, delete the definition --> | ||
| + | |||
| + | == Example == | ||
| + | {| class="wikitable" | ||
| + | ! Code | ||
| + | ! Result | ||
| + | |- style="vertical-align:top;" | ||
| + | | <pre> | ||
| + | {{subst:Award | ||
| + | |topic=The Barnstar of Good Humor | ||
| + | |image=Barnstar of Humour3.png | ||
| + | |text=The Barnstar of Good Humor | ||
| + | may be awarded to | ||
| + | particularly light-spirited | ||
| + | Wikipedians who, by their | ||
| + | unshakably good humor, | ||
| + | consistently and reliably | ||
| + | lighten the mood, defuse conflicts, | ||
| + | and make the Wikipedia a generally | ||
| + | better place to be. | ||
| + | }} | ||
| + | </pre> | ||
| + | |[[Image:Barnstar of Humour3.png|left|frame|The Barnstar of Good Humor may be awarded to particularly light-spirited Wikipedians who, by their unshakably good humor, consistently and reliably lighten the mood, defuse conflicts, and make the Wikipedia a generally better place to be.]] | ||
| + | |} | ||
| + | |||
| + | [[Category:Wikipedia award templates|{{PAGENAME}}]] | ||
| + | |||
| + | }}</noinclude> | ||
Revision as of 11:57, 21 February 2012
[[Image:{{{image}}}|left|100px]]{{{text}}}
50px Template documentation
{{award}} — Gives an award to a person
Usage
{{subst:Award
|image=the image to use, defaults to Barnstar.png
|size=The size of the image, defaults to 100px
|topic=The topic for the barnstar, default to "An Award"
|text=The description of the award
|color=The background color of the box, default to #fdffe7
}}
Example
{