Difference between revisions of "Template:Award/doc"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
imported>Vanisaac
m (→‎Example: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 38: Line 38:
 
|-
 
|-
 
|}
 
|}
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Wikipedia barnstar templates‎]]
 
[[Category:Wikipedia barnstar templates‎]]
</includeonly>
+
}}</includeonly>

Latest revision as of 23:30, 23 April 2020

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.}}
Barnstar of Humour3.png
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.