Difference between revisions of "Template:Australian elections/Title row/doc"
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 == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<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
| This is a documentation subpage for Template:Australian elections/Title row. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template codes for the top few rows of a table displaying the results of an Australian election.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | no description | Unknown | optional |
| House | house | no description | Unknown | optional |
| Back | back | no description | Unknown | optional |
| Forward | forward | no description | Unknown | optional |
| Series | series | no description | Unknown | optional |
| Number of enrolled voters | enrolled | no description | Number | required |
| Total_votes | total_votes | no description | Unknown | optional |
| Turnout % | turnout % | no description | Unknown | optional |
| Turnout chg | turnout chg | no description | Unknown | optional |
| Informal | informal | no description | Unknown | optional |
| Informal % | informal % | no description | Unknown | optional |
| Informal chg | informal chg | no description | Unknown | optional |
| Staggered | staggered | no description | Unknown | optional |
| Style | table style | Custom CSS for the whole table. Use with caution. | Unknown | optional |