Jump to content

Template:Consensus/doc: Difference between revisions

From VassarWiki
Created page with "<templatedata> { "description": "Full-width banner indicating the consensus status of a page.", "params": { "status": { "label": "Status", "description": "One of: individual, draft, or consensus.", "type": "string", "required": true }, "users": { "label": "Users", "description": "(For individual or draft) Wikilinks to contributor(s), e.g. User:Ewelchmorgan", "type": "string", "required": false }, "no..."
 
m pre
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatedata>
<templatedata>
{
{
  "description": "Full-width banner indicating the consensus status of a page.",
"description": "Full-width banner indicating a project page reflects consensus.",
  "params": {
"params": {
    "status": {
"note": {
      "label": "Status",
"label": "Note",
      "description": "One of: individual, draft, or consensus.",
"description": "Optional note at the end.",
      "type": "string",
"type": "string",
      "required": true
"required": false
    },
},
    "users": {
"active-discussion": {
      "label": "Users",
"label": "Active discussion",
      "description": "(For individual or draft) Wikilinks to contributor(s), e.g. User:Ewelchmorgan",
"description": "Wikilinked page & section name of the current talk page discussion",
      "type": "string",
"type": "wiki-page-name",
      "required": false
"required": false,
    },
"example": "[[VassarWiki talk:Village pump#Example discussion]]"
    "note": {
},
      "label": "Note",
"previous-discussions": {
      "description": "(For consensus) Brief description of how consensus was reached",
"label": "Previous discussions",
      "type": "string",
"description": "Wikilinks to past talk page discussions",
      "required": false
"type": "string",
    },
"required": false,
    "discussions": {
"example": "[[VassarWiki talk:Village pump#Example discussion]], [[VassarWiki talk:Village pump#Example discussion 2]]"
      "label": "Discussions",
}
      "description": "Wikilinks to talk page discussions, e.g. [[VassarWiki talk:Village pump#Example discussion]].",
}
      "type": "string",
      "required": false
    }
  }
}
}
</templatedata>
</templatedata>
 
== Examples ==
== Example ==
 
<pre>
<pre>
{{Consensus|status=individual|users=[[User:Ewelchmorgan]]}}
{{Consensus
{{Consensus|status=draft|users=[[User:Ewelchmorgan]]}}
|previous-discussions = [[VassarWiki talk:Improvements#Example]]
{{Consensus|status=consensus|discussions=[[VassarWiki talk:Village pump#Example discussion]]}}
}}
</pre>
</pre>
 
{{Consensus
{{Consensus|status=individual|users=[[User:Ewelchmorgan]]}}
|previous-discussions = [[VassarWiki talk:Improvements#Example]]
{{Consensus|status=draft|users=[[User:Ewelchmorgan]]}}
}}
{{Consensus|status=consensus|discussions=[[VassarWiki talk:Village pump#Example discussion]]}}

Latest revision as of 19:49, 30 May 2026

Full-width banner indicating a project page reflects consensus.

Template parameters

ParameterDescriptionTypeStatus
Notenote

Optional note at the end.

Stringoptional
Active discussionactive-discussion

Wikilinked page & section name of the current talk page discussion

Example
[[VassarWiki talk:Village pump#Example discussion]]
Page nameoptional
Previous discussionsprevious-discussions

Wikilinks to past talk page discussions

Example
[[VassarWiki talk:Village pump#Example discussion]], [[VassarWiki talk:Village pump#Example discussion 2]]
Stringoptional

Examples

{{Consensus
|previous-discussions = [[VassarWiki talk:Improvements#Example]]
}}
This page reflects established consensus. It should only be edited after reaching a new consensus on the talk page. Previous discussions: VassarWiki talk:Improvements#Example