Difference between revisions of "Template:Election box begin/TemplateData"

From blackwiki
Jump to navigation Jump to search
imported>SPQRobin
imported>Frietjes
Line 20: Line 20:
 
       "label": "Candidate title",
 
       "label": "Candidate title",
 
       "description": "The type of candidate(s) elected depending on the electoral system; it can be e.g. the top candidate on a party list.",
 
       "description": "The type of candidate(s) elected depending on the electoral system; it can be e.g. the top candidate on a party list.",
 +
      "required": false,
 +
      "type": "string"
 +
    },
 +
    "float": {
 +
      "label": "Float",
 +
      "description": "Alignment for floating the table; use left, right, center, or none (default)",
 
       "required": false,
 
       "required": false,
 
       "type": "string"
 
       "type": "string"

Revision as of 15:41, 22 November 2016


Usage

See Template:Election box

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Election box begin

A template to start the box for showing election results; part of the 'Election box' series

Template parameters

ParameterDescriptionTypeStatus
Election titletitle

The title of the election to display as a heading above the rest of the box.

Stringrequired
Candidate titlecandidatetitle

The type of candidate(s) elected depending on the electoral system; it can be e.g. the top candidate on a party list.

Stringoptional
Floatfloat

Alignment for floating the table; use left, right, center, or none (default)

Stringoptional

See also

Election box begin

Election box candidate

Standard

Winning

Inline


Election summary

For parties without an article on Wikipedia.


Election box gain/hold/loss etc

Election box majority

Election box turnout

Election box total and related

Election box end