Difference between revisions of "Template:Proposal"

From MusicBrainz Wiki
Jump to navigationJump to search
(don't display JIRA if not there)
Line 13: Line 13:
 
|champion=
 
|champion=
 
|status=
 
|status=
|jira=
 
 
|discussion=
 
|discussion=
 
|rfc=
 
|rfc=
Line 19: Line 18:
 
|style=
 
|style=
 
|ar=
 
|ar=
 
|jira=
 
}}</pre>
 
}}</pre>
 
|}
 
|}
Line 43: Line 43:
 
Champion: '''{{#if:{{{champion|}}}|{{{champion}}}|None}}'''<br />
 
Champion: '''{{#if:{{{champion|}}}|{{{champion}}}|None}}'''<br />
 
Current status: '''{{#if:{{{status|}}}|{{{status}}}|Unknown}}'''<br />
 
Current status: '''{{#if:{{{status|}}}|{{{status}}}|Unknown}}'''<br />
{{#if:{{{trac|}}}|Trac ticket # [http://bugs.musicbrainz.org/ticket/{{{trac}}} {{{trac}}}]<br />|}}
 
{{#if:{{{jira|}}}|JIRA ticket [http://tickets.musicbrainz.org/browse/{{{jira}}} {{{jira}}}]|This proposal is not tracked in JIRA.}}<br />
 
 
{{#if:{{{discussion|}}}|[{{{discussion}}} '''Initial Discussion''']|}}
 
{{#if:{{{discussion|}}}|[{{{discussion}}} '''Initial Discussion''']|}}
 
{{#if:{{{rfc|}}}|[{{{rfc}}} '''RFC''']|}}
 
{{#if:{{{rfc|}}}|[{{{rfc}}} '''RFC''']|}}
 
{{#if:{{{rfv|}}}|[{{{rfv}}} '''RFV''']|}}
 
{{#if:{{{rfv|}}}|[{{{rfv}}} '''RFV''']|}}
 
{{#if:{{{trac|}}}|Trac ticket # [http://bugs.musicbrainz.org/ticket/{{{trac}}} {{{trac}}}]<br />|}}
 
{{#if:{{{jira|}}}|JIRA ticket [http://tickets.musicbrainz.org/browse/{{{jira}}} {{{jira}}}]<br />|}}
 
</td></tr></table></center></small>
 
</td></tr></table></center></small>
 
<includeonly>{{#ifexpr:{{#if:{{{style|}}}|0|1}} and {{#if:{{{ar|}}}|0|1}}|[[Category:Proposal]]|}}{{#if:{{{style|}}}|[[Category:Proposed_Style]]|}}{{#if:{{{ar|}}}|[[Category:Proposed Relationship Type]]|}}</includeonly>
 
<includeonly>{{#ifexpr:{{#if:{{{style|}}}|0|1}} and {{#if:{{{ar|}}}|0|1}}|[[Category:Proposal]]|}}{{#if:{{{style|}}}|[[Category:Proposed_Style]]|}}{{#if:{{{ar|}}}|[[Category:Proposed Relationship Type]]|}}</includeonly>

Revision as of 08:42, 20 July 2011

This is the proposal template. Changes here will impact all proposals using this template (see "What links here" in the sidebar).

Usage

Copy a blank version to use. All fields must be lower case.

{{proposal
|proposal=
|champion=
|status=
|discussion=
|rfc=
|rfv=
|style=
|ar=
|jira=
}}

Parameters:

  • proposal: what RFC/RFV number this is assigned
  • champion: you! preferably do it as a link, like [[User:whoever]]
  • status: proposal status
  • jira: the jira ticket number, e.g. MBS-90000
  • trac (old): the track ticket number
  • discussion: a url for initial discussion on the topic
  • rfc/rfv: urls for rfc and rfv emails, in the mailing list archives
  • style/ar: set whichever of these is applicable (if applicable) to 1; style=1 if this is a style proposal, ar=1 if this is an AR proposal. Remove any that don't get used.

Preview

The actual page using this template will look something like:



Status: This page describes an active proposal and is not official.



Proposal number: RFC-Unassigned
Champion: None
Current status: Unknown