User:Msz2001/Resolution/doc

Basic usage

edit
{{Resolution
 |number = 
 |year = 
 |date = 
 |on = 
}}

This template can be placed over the resolution text. It'll display links to the previous and next resolution from the same year if they exist. The 'next' link can also lead to page Board Resolution Drafts if there is no newer draft.

Categories are added automatically by the template.

Parameter description

edit

Mandatory params:

  • number – the resolution number
  • year – the year when the resolution was adopted
  • date – the date of adoption
  • on – the resolution subject

Optional params:

  • previous – page where the previous resolution can be found (typically used on the first resolution in a year)
  • next – page with the next resolution (like above)
  • categories - additional categories to add the page to
  • attachment – page containing an attachment to the resolution (by default it's /attachment subpage)

Example

edit

Example code:

{{Resolution
 |number = 666
 |year = {{subst:LOCALYEAR}}
 |date = {{subst:LOCALDAY}} {{subst:LOCALMONTHNAMEGEN}} {{subst:LOCALYEAR}}
 |on = example use of the template
}}

Will render:


  Board Resolutions   Board Resolution Drafts  

Wikimedia Europe Board Resolution
number 666/2024
from 26 November 2024

on example use of the template