Template:Service awards/core/doc: Difference between revisions
 (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->  This is the {{tl|Service awards/core}} sub-template.  This template is called by {{tl|Service awards}}. Do not use this template directly; use {{tlf|Service awards}} instead.  ==Purpose== This template is used by {{tlf|Service awards}} to display a service award once which one to display has been determined. The level of service award to display is specified by the 1st par...")  | 
			
(No difference) 
 | 
Latest revision as of 21:56, 16 September 2024
| 
   | 
 This is a documentation subpage for Template:Service awards/core
(see that page for the template itself). It contains usage information, categories, and other content that is not part of the original template page.  | 
This is the {{Service awards/core}} sub-template.
This template is called by {{Service awards}}. Do not use this template directly; use {{Service awards}} instead.
Purpose
This template is used by {{Service awards}} to display a service award once which one to display has been determined. The level of service award to display is specified by the 1st parameter.
This code is separate from the main {{Service awards}} template to make the template easier to understand and less work for MediaWiki to parse.
Parameters
| Parameter | Definition | 
|---|---|
| 1 (1st unnamed parameter) | Level of award to display (1–22), or 0 if not entitled to an award (calculated by Module:SelectServiceAward) | 
| format | The display format to use (passed from {{Service awards}}) | 
| size | Image size (passed from {{Service awards}}) | 
| align | Image alignment (passed from {{Service awards}}) | 
| caption1 | Caption customisation (passed from {{Service awards}}) | 
| caption2 | Caption customisation (passed from {{Service awards}}) | 
| caption3 | Caption customisation (passed from {{Service awards}}) | 
| punctuation | Caption customisation (passed from {{Service awards}}) | 
See also