Template:Proposal: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(Fix Trac)
m (Nikki moved page Template:proposal to Template:Proposal)
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<center>
This is the proposal template. Changes here will impact all proposals using this template (see "What links here" in the sidebar).
<table>

<tr>
==Usage==
<td align="center" >
Copy a blank version to use. All fields '''''must''''' be lower case.
'''''<font color="darkred">This page describes an active proposal and is not official.</font>'''''<br />

<small>
{| class="wikitable"
Proposal number: '''RFC-{{{proposal}}}'''<br />
|- width="50%" style="vertical-align:top;"
Champion: '''{{#if:{{{champion|}}}|champion|None}}'''<br />
|- width="50%" style="vertical-align:top;"
Current status: '''{{{status|Unknown}}}'''<br />
| style="vertical-align:top; padding:1ex;" |<pre>
{{#ifexist:{{{trac}}}|Trac ticket # [http://bugs.musicbrainz.org/ticket/{{{trac}}}]|This proposal is not tracked in Trac.}}
{{proposal
{{#if:{{{discussion|}}}[{{{discussion}}} '''Initial Discussion''']}} {{#if:{{{rfc|}}}[{{{rfc}}} '''RFC''']}} {{#if:{{{rfv|}}}[{{{rfv}}} '''RFV''']}}
|proposal=
</small>
|champion=
</td>
|status=
</tr>
|discussion=
</table>
|rfc=
</center><br />
|rfv=
|style=
|ar=
|jira=
}}</pre>
|}

Parameters:
* '''proposal:''' what RFC/RFV number this is assigned
* '''champion:''' you! preferably do it as a link, like <nowiki>[[User:whoever]]</nowiki>
* '''status:''' proposal status
* '''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.
* '''jira:''' the jira ticket number, e.g. MBS-90000
* '''trac ''(old)'':''' the track ticket number

==Preview==
The actual page using this template will look something like:
----
</noinclude>

{{Status|This page describes an active {{#if:{{{style|}}}|[[Proposals#Style Proposals|style guideline proposal]]|{{#if:{{{ar|}}}|[[Proposals#Advanced_Relationship_Proposals|advanced relationship proposal]]|[[Proposals#Other_Proposals|proposal]]}}}} and is '''not official'''.}}
<small><br /><center><table><tr><td align="center">
<br />
Proposal number: '''RFC-{{#if:{{{proposal|}}}|{{{proposal}}}|Unassigned}}'''<br />
Champion: '''{{#if:{{{champion|}}}|{{{champion}}}|None}}'''<br />
Current status: '''{{#if:{{{status|}}}|{{{status}}}|Unknown}}'''<br />
{{#if:{{{discussion|}}}|[{{{discussion}}} '''Initial Discussion''']|}}
{{#if:{{{rfc|}}}|[{{{rfc}}} '''RFC''']|}}
{{#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>
<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>

Latest revision as of 03:55, 6 June 2015

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
  • 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.
  • jira: the jira ticket number, e.g. MBS-90000
  • trac (old): the track ticket number

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