Template:Political party abbrev key
Appearance
A template to help create a key of abbreviated names for political parties. The abbreviated names are derived from the templates listed in Module:Political party.
It creates a table row, spanning a specified number of columns. The row may be wrapped in any way the editor chooses.
By default, the key is hidden in a collapsed box. The collapsing may be disabled by adding the parameter |nohide=yes
.
Usage
[edit]- Basic usage
{{Political party abbrev key | colspan=n | Party1 | Party2 ... Party30}}
- Collapsing disabled
{{Political party abbrev key | nohide=yes | colspan=n | Party1 | Party2 ... Party30}}
Example
[edit]- Code
{| class ="wikitable" {{Political party abbrev key |colspan=3 |Clann na Poblachta |Fianna Fáil |Fine Gael |Labour Party (Ireland) }} |- ! !! Party !! Comment |- | {{party color cell|Clann na Poblachta}} | {{Party abbrev linked|Clann na Poblachta}} || Lorem ipsum dolor sit amet |- | {{party color cell|Fianna Fáil}} | {{Party abbrev linked|Fianna Fáil}} || consectetur adipiscing elit |- | {{party color cell|Fine Gael}} | {{Party abbrev linked|Fine Gael}} || ut labore et dolore magna aliqua. |- | {{party color cell|Labour Party (Ireland)}} | {{Party abbrev linked|Labour Party (Ireland)}} || Duis aute irure dolor in reprehenderit |}
- Output
Key to parties
| ||
Party | Comment | |
---|---|---|
CnaP | Lorem ipsum dolor sit amet | |
FF | consectetur adipiscing elit | |
FG | ut labore et dolore magna aliqua. | |
Lab | Duis aute irure dolor in reprehenderit |
See also
[edit]- Template:Political party abbrev key item — helper template for this one, which may have standalone uses
- Template:Party abbrev — just displays the abbreviated name