Template:Consensus/doc: Difference between revisions
new variables |
fixing examples mainly |
||
| Line 1: | Line 1: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Full-width banner indicating the consensus status of a project page.", | |||
"params": { | |||
"status": { | |||
"label": "Status", | |||
"description": "One of: individual, draft, or consensus.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"users": { | |||
"label": "Users", | |||
"description": "(For individual or draft) Name or wikilink(s) to contributor(s), e.g. [[User:Ewelchmorgan]]. For individual, also replaces 'a specific group or individual' in the banner text.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"note": { | |||
"label": "Note", | |||
"description": "Optional note at the end.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"active-discussion": { | |||
"label": "Active discussion", | |||
"description": "Un-wikilinked page name of the current talk page discussion (e.g. VassarWiki talk:Village pump#Example discussion)", | |||
"type": "wiki-page-name", | |||
"required": false | |||
}, | |||
"previous-discussions": { | |||
"label": "Previous discussions", | |||
"description": "Wikilinks to past talk page discussions (e.g. [[VassarWiki talk:Village pump#Example discussion]])", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | == Examples == | ||
<pre> | <pre> | ||
{{Consensus|status=individual | {{Consensus | ||
|status = individual | |||
|users = [[User:Ewelchmorgan]] | |||
|active-discussion = VassarWiki talk:Village pump#Example discussion | |||
}} | |||
</pre> | </pre> | ||
{{Consensus|status=individual|users=[[User:Ewelchmorgan]]}} | {{Consensus | ||
{{Consensus|status=draft|users=[[User:Ewelchmorgan]]}} | |status = individual | ||
{{Consensus|status= | |users = [[User:Ewelchmorgan]] | ||
|active-discussion = VassarWiki talk:Village pump#Example discussion | |||
}} | |||
<pre> | |||
{{Consensus | |||
|status = draft | |||
|users = [[User:Ewelchmorgan]] | |||
|active-discussion = VassarWiki talk:Village pump#Example | |||
|note = Still a work in progress! | |||
}} | |||
</pre> | |||
{{Consensus | |||
|status = draft | |||
|users = [[User:Ewelchmorgan]] | |||
|active-discussion = VassarWiki talk:Village pump#Example | |||
|note = Still a work in progress! | |||
}} | |||
<pre> | |||
{{Consensus | |||
|status = consensus | |||
|previous-discussions = [[VassarWiki talk:Village pump#Example]] | |||
}} | |||
</pre> | |||
{{Consensus | |||
|status = consensus | |||
|previous-discussions = [[VassarWiki talk:Village pump#Example]] | |||
}} | |||