Jump to content

Template:Admin service awards/compose/doc

From Wikipedia, the free encyclopedia

This is the {{Admin service awards/compose}} sub-template.

This template is called by {{Admin service awards/core}}. Do not use this template directly; use {{Admin service awards}} instead.

Purpose

[edit]

This template is used by {{Admin service awards/core}} to display a service award based on parameters that describe the award.

This code is separate from the main {{Admin service awards}} template to make the template easier to understand and less work for MediaWiki to parse.

Parameters

[edit]
Parameter Definition
format The display format to use (passed from {{Admin service awards}}).
size Image size (passed from {{Admin service awards}}).
align Image alignment (passed from {{Admin service awards}}).
medal The name of the template for the medal award. 'Userbox' and 'Ribbon' variants of this template should also exist.
medalarticle Word to use before the name of the medal award: a or an. Default is a. Can also be blank for no word.
medaltext Displayed name of the medal award if different from the medal parameter.
medalaward Description of the medal associated with this award.
medalimg Filename of the medal image for this award (without the File: prefix).
book The name of the template for the book award. A 'Userbox' variant of this template should also exist.
bookarticle Word to use before the name of the book award: a or an. Default is a. Can also be blank for no word.
booktext Displayed name of the book award if different from the book parameter.
bookaward Description of the book associated with this award.
bookimg Filename of the book image for this award (without the File: prefix).
minirib Filename of the small ribbon image for this award (without the File: prefix).

See also

[edit]