Template:User Commons awards

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Short documentation
This template is based on {{BUser}} and inherits its floating behaviour and partly also its parameters. You can translate it into your language by editing the {{LangSwitch}} part in the text parameter of this template.

You have to create a subpage in your user space. You can name it as you want, and it also could be a subpage of a subpage, of course. Move or copy all awards you received into this page.
(If you are familiar with this approach you also could transclude your archive pages into the awards pages and put all awards in <onlyinclude>…</onlyinclude> tags.)

Template data

{{User Commons awards |1=<user page>}}

User box you can use to point to a subpage in your user space where your awards are collected.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
subpage1

Page in your user space where your awards are collected. The default entry does not make much sense, it is just there for having a value.

Default
Commons:Barnstars
Example
User:Example/awards
Page namesuggested
imageimg

Alternative image (to be given without <code>File:</code>)

Default
Golden star.svg
Example
Golden star, medal style.svg
Fileoptional
image sizeimg-size

Value for a different image size (unit has to be included)

Default
45px
Example
50px
Stringoptional

Examples

  • {{User Commons awards |1=User:Example/awards |img=Golden star, medal style.svg}}
  • {{User Commons awards |1=User:Example/awards |img=Golden star, medal style.svg |img-size=40px}}
  • {{User Commons awards |1=User:Example/awards |img=1 golden star.svg}}
  • {{User Commons awards |1=User:Example/awards |img=1 golden star.svg |img-size=35px}}

(40px look here probably better, as well.)