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

From blackwiki
Jump to navigation Jump to search
imported>GKFX
m (GKFX moved page Template:Election box begin/doc to Template:Election box begin/TemplateData: To allow transclusion from the main doc page.)
imported>GKFX
(Condense for transclusion.)
 
Line 1: Line 1:
{{Documentation subpage}}
+
{{Format TemplateData|JSON=
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
 
 
== Usage ==
 
See [[Template:Election box]]
 
 
 
== TemplateData ==
 
{{TemplateDataHeader}}
 
<templatedata>
 
 
{
 
{
 
   "description": "A template to start the box for showing election results; part of the 'Election box' series",
 
   "description": "A template to start the box for showing election results; part of the 'Election box' series",
Line 30: Line 22:
 
     }
 
     }
 
   }
 
   }
}
+
} }}
</templatedata>
 
 
 
== See also ==
 
{{List of election box templates}}
 
 
 
<includeonly>
 
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Election and referendum infobox templates]]
 
 
 
</includeonly>
 

Latest revision as of 09:57, 12 March 2018

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
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
Test of raw TemplateData output:

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