Template:Infobox election: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
Szlanty (talk | contribs)
Created page with "<includeonly><onlyinclude>{{Infobox| {{Infobox/above|{{{name|}}}}} {{#if: {{{era|}}} |{{Infobox/header|{{{era}}}}}|<nowiki />}} <!-- The #ifeq function below this comment places a UŊ member row if ung-member is yes --> {{#ifeq: {{{ung-member|no}}}|yes|{{Infobox/header|former UŊ member{{#if: {{{observer|}}}|<small><br>''(observer)''</small>|}}|style=background:#37abd0}}|<nowiki />}} {{#ifeq: {{{unung-member|no}}}|yes|{{Infobox/header|UnUŊ member..."
 
Szlanty (talk | contribs)
No edit summary
Line 39: Line 39:
{{Infobox/row|Preceded by|{{{predecessor|}}}}}
{{Infobox/row|Preceded by|{{{predecessor|}}}}}
{{Infobox/row|Succeeded by|{{{successor|}}}}}
{{Infobox/row|Succeeded by|{{{successor|}}}}}
}}{{#if: {{{nocategory|}}}||[[Category:Countries]]}}{{#if: {{{disbanded|}}}|[[Category:Former countries]]|}}</onlyinclude></includeonly><noinclude>[[Category:Infobox templates|ŋation]]
}}</onlyinclude></includeonly><noinclude>
 
[[Category:Infobox templates|ŋation]]
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Revision as of 16:18, 1 October 2026

Election of Place 2026

Flag
Map
LegislatureExamplian Parliament

552nd Executive Council of the Carpenters’ Guild of Yetch Bay

Flag
Map
LegislatureExamplian Parliament

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