Template:Consensus/doc: Difference between revisions
m examples |
new variables |
||
| Line 11: | Line 11: | ||
"users": { | "users": { | ||
"label": "Users", | "label": "Users", | ||
"description": "(For individual or draft) | "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", | "type": "string", | ||
"required": false | "required": false | ||
| Line 17: | Line 17: | ||
"note": { | "note": { | ||
"label": "Note", | "label": "Note", | ||
"description": " | "description": "An optional note appended to the banner.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
"discussions": { | "active-discussion": { | ||
"label": " | "label": "Active discussion", | ||
"description": "Wikilinks to talk page discussions, e.g. [[VassarWiki talk:Village pump#Example discussion]].", | "description": "Page name of the current talk page discussion, e.g. VassarWiki talk:Village pump#Example discussion. Renders as a footnote [discussion] link.", | ||
"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]]. Rendered on a second line.", | |||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| Line 30: | Line 36: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | == Examples == | ||
<pre> | <pre> | ||
{{Consensus|status=individual|users=[[User:Ewelchmorgan]]}} | {{Consensus|status=individual|users=[[User:Ewelchmorgan]]}} | ||
{{Consensus|status=draft|users=[[User:Ewelchmorgan]]}} | {{Consensus|status=draft|users=[[User:Ewelchmorgan]]}} | ||
{{Consensus|status=consensus| | {{Consensus|status=consensus|active-discussion=VassarWiki talk:Village pump#Example discussion}} | ||
</pre> | </pre> | ||
{{Consensus|status=individual|users=[[User:Ewelchmorgan]]}} | {{Consensus|status=individual|users=[[User:Ewelchmorgan]]}} | ||
{{Consensus|status=draft|users=[[User:Ewelchmorgan]]}} | {{Consensus|status=draft|users=[[User:Ewelchmorgan]]}} | ||
{{Consensus|status=consensus| | {{Consensus|status=consensus|active-discussion=VassarWiki talk:Village pump#Example discussion}} | ||