|
|
| (7 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) Name or wikilink(s) to contributor(s), e.g. [[User:Ewelchmorgan]]. For individual, also replaces 'a specific group or individual' in the banner text.",
| | "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": "An optional note appended to the banner.",
| | "label": "Previous discussions", |
| "type": "string",
| | "description": "Wikilinks to past talk page discussions", |
| "required": false
| | "type": "string", |
| },
| | "required": false, |
| "active-discussion": {
| | "example": "[[VassarWiki talk:Village pump#Example discussion]], [[VassarWiki talk:Village pump#Example discussion 2]]" |
| "label": "Active 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",
| |
| "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|active-discussion=VassarWiki talk:Village pump#Example discussion}}
| | }} |
| </pre> | | </pre> |
| {{Consensus|status=individual|users=[[User:Ewelchmorgan]]}} | | {{Consensus |
| {{Consensus|status=draft|users=[[User:Ewelchmorgan]]}}
| | |previous-discussions = [[VassarWiki talk:Improvements#Example]] |
| {{Consensus|status=consensus|active-discussion=VassarWiki talk:Village pump#Example discussion}}
| | }} |