Difference between revisions of "Template:Australian elections/Title row/doc"

From blackwiki
Jump to navigation Jump to search
imported>GKFX
(Crude templatedata)
 
imported>GKFX
(Add a little more info, not finished.)
 
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
 
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
 
}}</includeonly>
 
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
"table style": {},
+
"table style": {
 +
"label": "Style",
 +
"description": "Custom CSS for the whole table. Use with caution."
 +
},
 
"title": {},
 
"title": {},
 
"house": {},
 
"house": {},
Line 17: Line 14:
 
"forward": {},
 
"forward": {},
 
"series": {},
 
"series": {},
"enrolled": {},
+
"enrolled": {
 +
"label": "Number of enrolled voters",
 +
"type": "number",
 +
"required": true
 +
},
 
"total_votes": {},
 
"total_votes": {},
 
"turnout %": {},
 
"turnout %": {},
Line 25: Line 26:
 
"informal chg": {},
 
"informal chg": {},
 
"staggered": {}
 
"staggered": {}
}
+
},
 +
"description": "This template codes for the top few rows of a table displaying the results of an Australian election.",
 +
"paramOrder": [
 +
"title",
 +
"house",
 +
"back",
 +
"forward",
 +
"series",
 +
"enrolled",
 +
"total_votes",
 +
"turnout %",
 +
"turnout chg",
 +
"informal",
 +
"informal %",
 +
"informal chg",
 +
"staggered",
 +
"table style"
 +
]
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
 +
}}</includeonly>

Latest revision as of 16:45, 28 May 2018

Usage

This template codes for the top few rows of a table displaying the results of an Australian election.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

no description

Unknownoptional
Househouse

no description

Unknownoptional
Backback

no description

Unknownoptional
Forwardforward

no description

Unknownoptional
Seriesseries

no description

Unknownoptional
Number of enrolled votersenrolled

no description

Numberrequired
Total_votestotal_votes

no description

Unknownoptional
Turnout %turnout %

no description

Unknownoptional
Turnout chgturnout chg

no description

Unknownoptional
Informalinformal

no description

Unknownoptional
Informal %informal %

no description

Unknownoptional
Informal chginformal chg

no description

Unknownoptional
Staggeredstaggered

no description

Unknownoptional
Styletable style

Custom CSS for the whole table. Use with caution.

Unknownoptional