Template:Infobox elections: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1,029: Line 1,029:
{{!}} style="width:50%; text-align:left; text-size: 80%" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{ongoing|}}}|yes|Incumbent {{{title}}}|{{{title}}} before election}}'''<br />
{{!}} style="width:50%; text-align:left; text-size: 80%" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{ongoing|}}}|yes|Incumbent {{{title}}}|{{{title}}} before election}}'''<br />
{{{before_election}}}<br />
{{{before_election}}}<br />
{{#if:{{{before_party|}}}|{{#ifeq: {{{party_name}}}|no|{{{before_party}}}|[[{{{before_party}}}|{{Template: {{{before_party}}}/meta/shortname}}]]}} }} }}
{{#if:{{{before_party|}}}|{{#ifeq: {{{party_name}}}|no|{{{before_party}}}|{{{before_party}}}}} }} }}
{{!}} style="width:50%; text-align:right; text-size: 80%" {{!}}{{#ifeq:{{{ongoing|}}}|yes||'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|Elected {{{title}}}}}'''<br />
{{!}} style="width:50%; text-align:right; text-size: 80%" {{!}}{{#ifeq:{{{ongoing|}}}|yes||'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|Elected {{{title}}}}}'''<br />
{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#if:{{{after_party|}}}|{{#ifeq: {{{party_name}}}|no|{{{after_party}}}|[[{{{after_party}}}|{{Template: {{{after_party}}}/meta/shortname}}]]}} }} }}
{{#if:{{{after_party|}}}|{{#ifeq: {{{party_name}}}|no|{{{after_party}}}|{{{after_party}}}}} }} }}
{{!}}} }}
{{!}}} }}
|}</includeonly><noinclude>{{Documentation}}</noinclude><noinclude>[[Category:Infobox templates]]</noinclude>
|}</includeonly><noinclude>{{Documentation}}</noinclude><noinclude>[[Category:Infobox templates]]</noinclude>
[[Category:Elections]]
[[Category:Elections]]

Revision as of 00:15, 4 January 2024

[create] Template documentation