Template:BoardApproved: Difference between revisions
Jump to navigation
Jump to search
HJ Mitchell (talk | contribs) (sorry, couldn't let that stand) |
(+ description of parameters) |
||
Line 24: | Line 24: | ||
The first two parameters, and the 'history' parameter, are compulsory; all other named parameters are optional. | The first two parameters, and the 'history' parameter, are compulsory; all other named parameters are optional. | ||
Parameters: | |||
* '''(Wikipage)''' should be the wikipage name of the latest approval of the document | |||
* '''(Date)''' should be the date of the last approval of the document | |||
* '''type''' specifies the type of document. The default is 'document'. | |||
* '''adopted''' should be specified if the state of the document is other than "approved" | |||
* '''approval''' should describe who needs to approve changes. The default is board approval. | |||
* '''rule28''' should be 'yes' if the document has been approved under [[Articles#28|Rule 28]]. | |||
* '''notes''' is a free text field that can be used to add high-level notes about the document. | |||
* '''lastid''' should be the page ID of the last version that was approved. | |||
* '''history''' should call {{tl|BoardApprovedHistory}} as many times as necessary in order to record the history of the document. Parameters of that template are: | |||
** '''(pagename of minutes)''' should be the wikipage name of the approval of the document | |||
** '''(Date)''' should be the date of approval of the document | |||
** '''(Description)''' should be used to annotate the change made | |||
** '''(oldid)''' should be the ID of the approved version | |||
** '''lastid''' should be the ID of the last approved version. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 20:44, 12 May 2013
Usage:
{{BoardApproved | (Wikipage) | (Date) | type = | adopted = | approval = | rule28 = | notes = | lastid = | history = {{BoardApprovedHistory | (pagename of minutes) | (Date) | (Description) | (oldid) | lastid = }} }} |
The first two parameters, and the 'history' parameter, are compulsory; all other named parameters are optional.
Parameters:
- (Wikipage) should be the wikipage name of the latest approval of the document
- (Date) should be the date of the last approval of the document
- type specifies the type of document. The default is 'document'.
- adopted should be specified if the state of the document is other than "approved"
- approval should describe who needs to approve changes. The default is board approval.
- rule28 should be 'yes' if the document has been approved under Rule 28.
- notes is a free text field that can be used to add high-level notes about the document.
- lastid should be the page ID of the last version that was approved.
- history should call {{BoardApprovedHistory}} as many times as necessary in order to record the history of the document. Parameters of that template are:
- (pagename of minutes) should be the wikipage name of the approval of the document
- (Date) should be the date of approval of the document
- (Description) should be used to annotate the change made
- (oldid) should be the ID of the approved version
- lastid should be the ID of the last approved version.