Template:BoardApproved: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
(needs a full url to preload - this works but the article pages need to skip preloading this template - needs a tweak later)
m (ce)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="messagebox standard-talk" width="100%" style="background:#E8E8FF; border:1px solid black; padding: 3px; margin: 10px; {{border-radius|0.5em}}"
{| class="messagebox standard-talk" width="100%" style="background:#E8E8FF; border:1px solid black; padding: 3px; margin: 10px; {{border-radius|0.5em}}"
|- style="text-align: center;"
|- style="text-align: center;"
| width="100%" |'''This {{{type|document}}} has been {{{adopted|approved}}} by the [[Board]] on [[{{{1}}}|{{{2}}}]]{{#if: {{{rule28|}}}|&nbsp;under [[Article#28|Article 28]]}}.''' {{#if: {{{series|}}}| It is part of a series of [[{{{series|}}}]].}} (<span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&oldid={{{lastid}}} approved revision], [{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=&oldid={{{lastid}}} subsequent changes]</span>)<br /><!--
| width="100%" |'''This {{{type|document}}} was {{{adopted|approved}}} by the [[Board]] on [[{{{1}}}|{{{2}}}]]{{#if: {{{rule28|}}}|&nbsp;under [[Article#28|Article 28]]}}.''' {{#if: {{{series|}}}| It is part of a series of [[{{{series|}}}]].}} (<span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=&oldid={{{lastid}}} approved revision], [{{SERVER}}{{SCRIPTPATH}}/index.php?title=&diff=&oldid={{{lastid}}} subsequent changes]</span>)<br /><!--
-->Changes to this {{{type|document}}} are subject to {{{approval|board approval}}}, and should be proposed either [[Talk:{{PAGENAME}}|on the talk page]] or at [{{fullurl:{{FULLPAGENAMEE}}/Proposed revision|action=edit&preload={{FULLPAGENAMEE}}}} {{PAGENAME}}/Proposed revision]. {{{notes|}}}
-->Changes to this {{{type|document}}} are subject to {{{approval|board approval}}}, and should be proposed either [[Talk:{{PAGENAME}}|on the talk page]] or the [[Engine room]] </span> {{{notes|}}}
|- style="text-align: left;"
|- style="text-align: left;"
| <hr /><!--
| <hr /><!--
Line 23: Line 23:
|}
|}


The first two parameters, and the 'history' parameter, are compulsary; 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>

Latest revision as of 17:51, 8 January 2016

This document was approved by the Board on [[{{{1}}}|{{{2}}}]]. (approved revision, subsequent changes)
Changes to this document are subject to board approval, and should be proposed either on the talk page or the Engine room

Approval history:

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.