Template:Infobox election: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Now Supporting non-multiples of 4! |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
{{Infobox/above|{{{name|}}}}} | {{Infobox/above|{{{name|}}}}} | ||
{{Infobox/image|image={{{flag|}}}|options=border{{!}}50px}} | {{Infobox/image|image={{{flag|}}}|options=border{{!}}50px}} | ||
{{Infobox/header|←{{{previous}}} ''' | {{Infobox/header|← {{{previous}}} '''·''' {{{next}}} →}} | ||
{{Infobox/split|equal=no| | {{Infobox/split|equal=no| | ||
| Line 32: | Line 32: | ||
}} | }} | ||
{{#if: {{{lname3|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader3|}}} |{{Infobox/image|image={{{leader3|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader3|}}} |{{Infobox/image|image={{{leader3|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 40: | Line 41: | ||
{{Infobox/row||{{{change3|}}}}} | {{Infobox/row||{{{change3|}}}}} | ||
}} | }} | ||
|}} | |||
{{#if: {{{lname4|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader4|}}} |{{Infobox/image|image={{{leader4|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader4|}}} |{{Infobox/image|image={{{leader4|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 50: | Line 53: | ||
}} | }} | ||
}} | }} | ||
|}} | |||
<!-- Start of If block for 5+ parties --> | <!-- Start of If block for 5+ parties --> | ||
| Line 62: | Line 66: | ||
{{Infobox/row|Seats change|''}} | {{Infobox/row|Seats change|''}} | ||
}} | }} | ||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
| Line 72: | Line 77: | ||
}} | }} | ||
{{#if: {{{lname6|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader6|}}} |{{Infobox/image|image={{{leader6|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader6|}}} |{{Infobox/image|image={{{leader6|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 80: | Line 86: | ||
{{Infobox/row||{{{change6|}}}}} | {{Infobox/row||{{{change6|}}}}} | ||
}} | }} | ||
|}} | |||
{{#if: {{{lname7|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader7|}}} |{{Infobox/image|image={{{leader7|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader7|}}} |{{Infobox/image|image={{{leader7|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 89: | Line 97: | ||
{{Infobox/row||{{{change7|}}}}} | {{Infobox/row||{{{change7|}}}}} | ||
}} | }} | ||
|}} | |||
{{#if: {{{lname8|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader8|}}} |{{Infobox/image|image={{{leader8|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader8|}}} |{{Infobox/image|image={{{leader8|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 99: | Line 109: | ||
}} | }} | ||
}} | }} | ||
|}} | |||
|}} | |}} | ||
| Line 124: | Line 135: | ||
}} | }} | ||
{{#if: {{{leader10|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader10|}}} |{{Infobox/image|image={{{leader10|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader10|}}} |{{Infobox/image|image={{{leader10|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 132: | Line 144: | ||
{{Infobox/row||{{{change10|}}}}} | {{Infobox/row||{{{change10|}}}}} | ||
}} | }} | ||
|}} | |||
{{#if: {{{leader11|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader11|}}} |{{Infobox/image|image={{{leader11|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader11|}}} |{{Infobox/image|image={{{leader11|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 141: | Line 155: | ||
{{Infobox/row||{{{change11|}}}}} | {{Infobox/row||{{{change11|}}}}} | ||
}} | }} | ||
|}} | |||
{{#if: {{{leader12|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader12|}}} |{{Infobox/image|image={{{leader12|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader12|}}} |{{Infobox/image|image={{{leader12|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 151: | Line 167: | ||
}} | }} | ||
}} | }} | ||
|}} | |||
|}} | |}} | ||
| Line 176: | Line 193: | ||
}} | }} | ||
{{#if: {{{leader14|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader14|}}} |{{Infobox/image|image={{{leader14|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader14|}}} |{{Infobox/image|image={{{leader14|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 184: | Line 202: | ||
{{Infobox/row||{{{change14|}}}}} | {{Infobox/row||{{{change14|}}}}} | ||
}} | }} | ||
|}} | |||
{{#if: {{{leader15|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader15|}}} |{{Infobox/image|image={{{leader15|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader15|}}} |{{Infobox/image|image={{{leader15|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 193: | Line 213: | ||
{{Infobox/row||{{{change15|}}}}} | {{Infobox/row||{{{change15|}}}}} | ||
}} | }} | ||
|}} | |||
{{#if: {{{lname16|}}} | | |||
{{Infobox/split/column|vertical-align=right|style=width:min-content| | {{Infobox/split/column|vertical-align=right|style=width:min-content| | ||
{{#if: {{{leader16|}}} |{{Infobox/image|image={{{leader16|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | {{#if: {{{leader16|}}} |{{Infobox/image|image={{{leader16|}}}|options=border{{!}}frameless{{!}}100x100px}}|{{Infobox/image|image=Portrait-placeholder.png|options=border{{!}}frameless{{!}}100x100px}}}} | ||
| Line 203: | Line 225: | ||
}} | }} | ||
}} | }} | ||
|}} | |||
|}} | |}} | ||
Latest revision as of 03:31, 25 November 2026
| 552nd Executive Council of the Carpenters’ Guild of Yetch Bay | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ← 2025 · 2027 → | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Preceded by | 2025 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Succeeded by | 2027 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Map | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Election of Place 2026 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ← 2025 · 2027 → | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Preceded by | 2025 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Succeeded by | 2027 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Map | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This is a template for Elections, and almost certainly jankily made.
Most parameters are optional and the row will not appear if the parameter is empty or omitted. Feel free to add more parameters for stuff that people might want to put in a ŋation infobox. The current parameters are:
- name
- Name of the ŋation
- previous
- Link to previous election
- next
- Link to next election
- flag
- Filename of the flag
[n] indicates that there are multiple of this type, one for every party in an election. [n] is to be replaced with whatever number it is to be, starting with 1. 1 is required.
- leader[n]
- Filename of the leader portrait
- lname[n]
- Name of the leader
- party[n]
- Name of the Party
- plink[n]
- Title of the Party's page
- pcolor[n]
- Color of Party (as hexcode)
- ptext[n]
- Optional; recommended to set to FFF if black text does not look right for your party color
- past[n]
- Number of seats before the election
- after[n]
- Number of seats after the election
- change[n]
- Change in number of seats (+/0/-)
- map
- Filename of the map
