Template:Infobox election: Difference between revisions
Appearance
Created page with "<includeonly>{{#invoke:infobox|infoboxTemplate | templatestyles = Infobox election/styles.css | child templatestyles = Screen reader-only/styles.css<!-- for /row template --> | child = {{{child|{{{embed|}}}}}} | bodyclass = ib-election infobox-table {{#if:{{{election_date|}}}|vevent|}} | bodystyle = {{#if:<!-- -->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!-- -->|width:{{#invoke:Math|max | 1 = {{#i..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 21: | Line 21: | ||
| subheader2 = {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}| | | subheader2 = {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}| | ||
{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%; | {{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%; | ||
| left = | | left = [[{{{previous_election}}}|{{{previous_year}}}]] | ||
| center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}} | | center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}} | ||
| right = | | right = [[{{{next_election}}}|{{{next_year}}}]] | ||
}} | }} | ||
}} | }} | ||
| Line 75: | Line 75: | ||
| header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Third party|#default=Third party}} | | header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Third party|#default=Third party}} | ||
| party_color = {{#invoke:if empty|main| {{{party_colour|}}} | {{{party_color|}}} | yes }} | | party_color = {{#invoke:if empty|main| {{{party_colour|}}} | {{{party_color|}}} | yes }} | ||
| color1 = | | color1 = {{{color1|}}} | ||
| color2 = {{#invoke:if empty|main| {{{color2|}}} | {{{colour2|}}} }} | | color2 = {{#invoke:if empty|main| {{{color2|}}} | {{{colour2|}}} }} | ||
| color3 = {{#invoke:if empty|main| {{{color3|}}} | {{{colour3|}}} }} | | color3 = {{#invoke:if empty|main| {{{color3|}}} | {{{colour3|}}} }} | ||
Latest revision as of 16:12, 17 March 2025
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]