Difference between revisions of "Template:Award"
Jump to navigation
Jump to search
imported>Mabdul (placing documentation to an extra page otherwise the content won't be displayed correctly) |
imported>Pigsonthewing (Nominated for merging with Template:Award2; see Wikipedia:Templates for discussion/Log/2015 September 15#Template:Award2. (TW)) |
||
| Line 1: | Line 1: | ||
| + | {{Tfm/dated|page=Award|otherpage=Award2|link=Wikipedia:Templates for discussion/Log/2015 September 15#Template:Award|help=off}} | ||
[[File:{{{image}}}|left|{{#if:{{{size|}}}|{{{size}}}|100px}}]]{{{text}}}<noinclude> | [[File:{{{image}}}|left|{{#if:{{{size|}}}|{{{size}}}|100px}}]]{{{text}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:14, 15 September 2015
Template:Tfm/dated [[File:{{{image}}}|left|100px]]{{{text}}}
Script error: No such module "about". {{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
| Code | Result |
|---|---|
{{subst:Award
|width=250
|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.}}
|
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. |
| The above documentation is transcluded from Template:Award/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |