Jump to content

Template:Consensus/doc: Difference between revisions

From VassarWiki
m examples
new variables
Line 11: Line 11:
     "users": {
     "users": {
       "label": "Users",
       "label": "Users",
       "description": "(For individual or draft) Wikilinks to contributor(s), e.g. User:Ewelchmorgan",
       "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": "(For consensus) Brief description of how consensus was reached",
       "description": "An optional note appended to the banner.",
       "type": "string",
       "type": "string",
       "required": false
       "required": false
     },
     },
     "discussions": {
     "active-discussion": {
       "label": "Discussions",
      "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|discussions=[[VassarWiki talk:Village pump#Example discussion]]}}
{{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|discussions=[[VassarWiki talk:Village pump#Example discussion]]}}
{{Consensus|status=consensus|active-discussion=VassarWiki talk:Village pump#Example discussion}}

Revision as of 04:07, 5 April 2026

Full-width banner indicating the consensus status of a page.

Template parameters

ParameterDescriptionTypeStatus
Statusstatus

One of: individual, draft, or consensus.

Stringrequired
Usersusers

(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.

Stringoptional
Notenote

An optional note appended to the banner.

Stringoptional
Active discussionactive-discussion

Page name of the current talk page discussion, e.g. VassarWiki talk:Village pump#Example discussion. Renders as a footnote [discussion] link.

Page nameoptional
Previous discussionsprevious-discussions

Wikilinks to past talk page discussions, e.g. [[VassarWiki talk:Village pump#Example discussion]]. Rendered on a second line.

Stringoptional

Examples

{{Consensus|status=individual|users=[[User:Ewelchmorgan]]}}
{{Consensus|status=draft|users=[[User:Ewelchmorgan]]}}
{{Consensus|status=consensus|active-discussion=VassarWiki talk:Village pump#Example discussion}}
📝
This page is a proposal under consideration.
It does not yet reflect consensus and is open for discussion.
This page reflects established consensus.
It should only be edited after reaching a new consensus on the talk page.