Template:Infobox election: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
Szlanty (talk | contribs)
No edit summary
Tag: Manual revert
Astaryuu (talk | contribs)
No edit summary
Line 17: Line 17:
{{Infobox/image|image={{{leader1|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/image|image={{{leader1|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/row||{{{lname1|}}}}}
{{Infobox/row||{{{lname1|}}}}}
{{Infobox/row||{{{party1|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor1|ffffff00}}}|{{{party1|}}}|{{{plink1|}}}|{{#if:{{{ptext1|}}}|#{{{ptext1|}}}|#000}}}}}}
{{Infobox/row||{{{past1|}}}}}
{{Infobox/row||{{{past1|}}}}}
{{Infobox/row||{{{after1|}}}}}
{{Infobox/row||{{{after1|}}}}}
Line 26: Line 26:
{{Infobox/image|image={{{leader2|}}}|options=frameless{{!}}100px}}
{{Infobox/image|image={{{leader2|}}}|options=frameless{{!}}100px}}
{{Infobox/row||{{{lname2|}}}}}
{{Infobox/row||{{{lname2|}}}}}
{{Infobox/row||{{{party2|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor2|ffffff00}}}|{{{party2|}}}|{{{plink2|}}}|{{#if:{{{ptext2|}}}|#{{{ptext2|}}}|#000}}}}}}
{{Infobox/row||{{{past2|}}}}}
{{Infobox/row||{{{past2|}}}}}
{{Infobox/row||{{{after2|}}}}}
{{Infobox/row||{{{after2|}}}}}
Line 35: Line 35:
{{Infobox/image|image={{{leader3|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/image|image={{{leader3|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/row||{{{lname3|}}}}}
{{Infobox/row||{{{lname3|}}}}}
{{Infobox/row||{{{party3|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor3|ffffff00}}}|{{{party3|}}}|{{{plink3|}}}|{{#if:{{{ptext3|}}}|#{{{ptext3|}}}|#000}}}}}}
{{Infobox/row||{{{past3|}}}}}
{{Infobox/row||{{{past3|}}}}}
{{Infobox/row||{{{after3|}}}}}
{{Infobox/row||{{{after3|}}}}}
Line 44: Line 44:
{{Infobox/image|image={{{leader4|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/image|image={{{leader4|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/row||{{{lname4|}}}}}
{{Infobox/row||{{{lname4|}}}}}
{{Infobox/row||{{{party4|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor4|ffffff00}}}|{{{party4|}}}|{{{plink4|}}}|{{#if:{{{ptext4|}}}|#{{{ptext4|}}}|#000}}}}}}
{{Infobox/row||{{{past4|}}}}}
{{Infobox/row||{{{past4|}}}}}
{{Infobox/row||{{{after4|}}}}}
{{Infobox/row||{{{after4|}}}}}
Line 66: Line 66:
{{Infobox/image|image={{{leader5|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/image|image={{{leader5|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/row||{{{lname5|}}}}}
{{Infobox/row||{{{lname5|}}}}}
{{Infobox/row||{{{party5|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor5|ffffff00}}}|{{{party5|}}}|{{{plink5|}}}|{{#if:{{{ptext5|}}}|#{{{ptext5|}}}|#000}}}}}}
{{Infobox/row||{{{past5|}}}}}
{{Infobox/row||{{{past5|}}}}}
{{Infobox/row||{{{after5|}}}}}
{{Infobox/row||{{{after5|}}}}}
Line 75: Line 75:
{{Infobox/image|image={{{leader6|}}}|options=frameless{{!}}100px}}
{{Infobox/image|image={{{leader6|}}}|options=frameless{{!}}100px}}
{{Infobox/row||{{{lname6|}}}}}
{{Infobox/row||{{{lname6|}}}}}
{{Infobox/row||{{{party6|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor6|ffffff00}}}|{{{party6|}}}|{{{plink6|}}}|{{#if:{{{ptext6|}}}|#{{{ptext6|}}}|#000}}}}}}
{{Infobox/row||{{{past6|}}}}}
{{Infobox/row||{{{past6|}}}}}
{{Infobox/row||{{{after6|}}}}}
{{Infobox/row||{{{after6|}}}}}
Line 84: Line 84:
{{Infobox/image|image={{{leader7|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/image|image={{{leader7|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/row||{{{lname7|}}}}}
{{Infobox/row||{{{lname7|}}}}}
{{Infobox/row||{{{party7|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor7|ffffff00}}}|{{{party7|}}}|{{{plink7|}}}|{{#if:{{{ptext7|}}}|#{{{ptext7|}}}|#000}}}}}}
{{Infobox/row||{{{past7|}}}}}
{{Infobox/row||{{{past7|}}}}}
{{Infobox/row||{{{after7|}}}}}
{{Infobox/row||{{{after7|}}}}}
Line 93: Line 93:
{{Infobox/image|image={{{leader8|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/image|image={{{leader8|}}}|options=border{{!}}frameless{{!}}100px}}
{{Infobox/row||{{{lname8|}}}}}
{{Infobox/row||{{{lname8|}}}}}
{{Infobox/row||{{{party8|}}}}}
{{Infobox/row||{{Colorbox|#{{{pcolor8|ffffff00}}}|{{{party8|}}}|{{{plink8|}}}|{{#if:{{{ptext8|}}}|#{{{ptext8|}}}|#000}}}}}}
{{Infobox/row||{{{past8|}}}}}
{{Infobox/row||{{{past8|}}}}}
{{Infobox/row||{{{after8|}}}}}
{{Infobox/row||{{{after8|}}}}}

Revision as of 21:43, 1 October 2026

Election of Place 2026
←2025 CURRENT 2027→
Candidate
Party
Seats before
Seats won
Seats change
Him.
ZPP
0
49
+49
John Arbuckle
PŽ
0
1
+1
Marcy Sheikah
ZPP
0
2
+2
carl
PIR
0
3
+3
Candidate
Party
Seats before
Seats won
Seats change
omg who is this
RyR
0
4
+4
depressed cat
Kennyoung
0
5
+5
knife oh no
LzŠl
0
6
+6
dirk
strider
0
7
+7
Preceded by2025
Succeeded by2027
Map



552nd Executive Council of the Carpenters’ Guild of Yetch Bay
←2025 CURRENT 2027→
Candidate
Party
Seats before
Seats won
Seats change

Him.
ZPP
0
49
+49
John Arbuckle
PŽ
0
1
+1
Marcy Sheikah
ZPP
0
2
+2
carl
PIR
0
3
+3
Preceded by2025
Succeeded by2027
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