Template:Infobox election/doc: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
Szlanty (talk | contribs)
No edit summary
Szlanty (talk | contribs)
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox election
{{Infobox election
|name=Example ŋation
|name=Election of Place 2026
|previous=2025
|previous=2025
|next=2027
|next=2027
|era=2023–2025
|ung-member=no
|flag=Enkavak flag.png
|flag=Enkavak flag.png
|coat-of-arms=PFCA CoA.png
 
|banner=Enkavak-banner.png
|leader1 = Nar-Demærwaf.png
|lname1 = Him.
|party1 = ZPP
|past1 = 0
|after1 = 49
|change1 = +49
|pcolor1 = FF0000
|ptext1 = fff
 
|leader2 = Nar-Sjëtnwëtaŋ.png
|lname2 = John Arbuckle
|party2 = PŽ
|past2 = 0
|after2 = 1
|change2 = +1
|pcolor2 = 00FF00
 
|leader3 = Nar-Maīwaf.png
|lname3 = Marcy Sheikah
|party3 = ZPP
|past3 = 0
|after3 = 2
|change3 = +2
|pcolor3 = 0000FF
|ptext3 = fff
 
|leader4 = Nar-Cafăscu.png
|lname4 = carl
|party4 = PIR
|past4 = 0
|after4 = 3
|change4 = +3
|pcolor4 = FF00FF
 
|leader5 = Nar-Slanti.png
|lname5 = omg who is this
|party5 = RyR
|past5 = 0
|after5 = 4
|change5 = +4
|pcolor5 = 00FFFF
 
|leader6 = Nar-Skihaň.png
|lname6 = depressed cat
|party6 = Kennyoung
|past6 = 0
|after6 = 5
|change6 = +5
|pcolor6 = FFFF00
 
|leader7 = Nar-Suhiwstaš.png
|lname7 = knife oh no
|party7 = LzŠl
|past7 = 0
|after7 = 6
|change7 = +6
|pcolor7 = FFFFFF
 
|leader8 = Nar-Jancoma.png
|lname8 = dirk
|party8 = strider
|past8 = 0
|after8 = 7
|change8 = +7
|pcolor8 = 000000
|ptext8 = fff
 
|legislature=Examplian Parliament
|map=Kyaw-cen-administrative.png
|map=Kyaw-cen-administrative.png
|capital=New Example
}}
|demonym=Examplian
 
|government=Examplianism
{{Infobox election
|ruler=Eggs Ample;Eggs Emplar
|name=552nd Executive Council of the Carpenters’ Guild of Yetch Bay
|ruler-title=Lead Egg;Prime Example
|previous=2025
|next=2027
|flag=Enkavak flag.png
 
|leader1 =
|lname1 = Him.
|party1 = ZPP
|past1 = 0
|after1 = 49
|change1 = +49
 
|leader2 = Nar-Sjëtnwëtaŋ.png
|lname2 = John Arbuckle
|party2 = PŽ
|past2 = 0
|after2 = 1
|change2 = +1
 
|leader3 = Nar-Maīwaf.png
|lname3 = Marcy Sheikah
|party3 = ZPP
|past3 = 0
|after3 = 2
|change3 = +2
 
|leader4 = Nar-Cafăscu.png
|lname4 = carl
|party4 = PIR
|past4 = 0
|after4 = 3
|change4 = +3
 
|legislature=Examplian Parliament
|legislature=Examplian Parliament
|languages=Examplese<br>Examplian
|map=Kyaw-cen-administrative.png
|predecessor=[[Imerchal]]
|successor=[[Enkavak]]
}}
}}


This is a template for ŋation infoboxes. This will be modified until I make a proper Election Template, for now, have fun seeing this be butchered gradually.
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:
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
; name : Name of the ŋation
; ung-member : <code>yes</code> causes the UŊ member line to display
; previous : Link to previous election
; observer : If nonnull, causes the ''(observer)'' line to display iff <code>ung-member = yes</code>
; next : Link to next election
; flag : Filename of the flag
; flag : Filename of the flag
; flag-label : Label under the flag. Default is <code><nowiki>'''Flag'''</nowiki></code>
 
; coat-of-arms : Filename of the coat of arms
[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.
; coat-of-arms-label : Label under the coat of arms. Default is <code><nowiki>'''Coat of Arms'''</nowiki></code>
 
; banner : Filename of the banner, e.g. <code>Enkavak-banner.webp</code>
; leader[n] : Filename of the leader portrait
; banner-label : Label under the banner. Default is <code><nowiki>'''Banner'''</nowiki></code>
; 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
; map : Filename of the map
; map-label : Label under the map. Default is <code><nowiki>'''Map'''</nowiki></code>
; capital : Capital of  the ŋation
; demonym : Demonym of the ŋation
; government : Type of government
; ruler : Ruler or rulers of the ŋation. This is placed under <code>government</code> if present and on its own row if <code>government</code> is not present. If you want several rows with a title for each you can separate them with <code>;</code> (see also comment for <code>ruler-title</code>).
; ruler-title : The title of the ruler. If omitted this will default to "Ruler". If you want several rulers with titles for each, you can separate the titles with <code>;</code> and include several rulers in the same way (see also comment for <code>ruler</code>).
; ruler-left : Use this instead of <code>ruler</code> if you want to have a row for government and a separate row for the ruler.
; legislature : Legislature of the country (usually that means its parliament)
; languages : Official languages of the ŋation
; two-digit-code : The ŋation's official 2-digit code, ISO-3166-1/2
; three-digit-code : The ŋation's official 3-digit code, ISO-3166-1/3
; religions : Official religions of the ŋation
; currency : Currency of the ŋation
; ngational-motto : Motto of the ŋation
; ngational-anthem : Anthem of the ŋation
; population : Population of the ŋation
; date-format : Date format used in the ŋation
; military : The military of the ŋation
; broadcaster : The ŋational broadcasting company of the ŋation

Latest revision as of 16:49, 2 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