Template:Consensus/doc: Difference between revisions

m examples
m pre
 
(8 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 ==
== Examples ==
<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]]}}