Template:Infobox Election: Difference between revisions
Created page with "{| class="infobox vcard" style="border: 1px solid #a2a9b1; border-collapse: collapse; float: right; clear: right; width: 320px; margin: 0 0 1em 1em; font-size: 88%; line-height: 1.5em; color: inherit;" |- ! colspan="4" class="fn org" style="font-size: 125%; text-align: center; padding: 0.5em 0.4em;" | {{{election_name|Election Name}}} |- {{#if: {{{flag|}}} | {{!}} colspan="4" style="text-align: center; border-top: 1px solid #a2a9b1; padding: 0.6em 0.4em 0.2em 0.4em;" {..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="infobox vcard" style="border: 1px solid #a2a9b1; border-collapse: collapse; float: right; clear: right; width: 320px; margin: 0 0 1em 1em; font-size: 88%; line-height: 1.5em; color: inherit;" | {| class="infobox vcard" style="border: none; border-top: 1px solid #a2a9b1; border-bottom: 1px solid #a2a9b1; border-collapse: collapse; float: right; clear: right; width: 320px; margin: 0 0 1em 1em; font-size: 88%; line-height: 1.5em; background: transparent; color: inherit;" | ||
|- | |- | ||
! colspan="4" class="fn org" style="font-size: 125%; text-align: center; padding: 0.5em 0.4em;" | {{{election_name|Election Name}}} | ! colspan="4" class="fn org" style="font-size: 125%; text-align: center; padding: 0.5em 0.4em; border-bottom: 1px solid #a2a9b1; background: transparent;" | {{{election_name|Election Name}}} | ||
|- | |- | ||
{{#if: {{{flag|}}} | | {{#if: {{{flag|}}} | | ||
{{!}} colspan="4" style="text-align: center | {{!}} colspan="4" style="text-align: center; padding: 0.6em 0.4em 0.2em 0.4em;" {{!}} {{{flag}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| colspan="4" style=" | | colspan="4" style="padding: 0.4em 0.4em;" | | ||
{| style="width: 100%; text-align: center; background: transparent; color: inherit;" | {| style="width: 100%; text-align: center; background: transparent; color: inherit;" | ||
| Line 28: | Line 28: | ||
}} | }} | ||
| colspan="4" style="border-top: 1px solid #a2a9b1; padding: 0.6em 0.2em 0. | | colspan="4" style="border-top: 1px solid #a2a9b1; padding: 0.6em 0.2em 0.5em 0.2em;" | | ||
{| style="width: 100%; text-align: center; table-layout: fixed; background: transparent; color: inherit; border-collapse: collapse;" | {| style="width: 100%; text-align: center; table-layout: fixed; background: transparent; color: inherit; border-collapse: collapse;" | ||
| Line 46: | Line 46: | ||
| style="text-align: left; font-weight: bold; padding: 4px 2px; vertical-align: top;" | Nominee | | style="text-align: left; font-weight: bold; padding: 4px 2px; vertical-align: top;" | Nominee | ||
| style="padding: 4px 2px; vertical-align: top | | style="padding: 4px 2px; vertical-align: top;" | {{{nominee1|}}} | ||
| style="padding: 4px 2px; vertical-align: top;" | {{{nominee2|}}} | | style="padding: 4px 2px; vertical-align: top;" | {{{nominee2|}}} | ||
| style="padding: 4px 2px; vertical-align: top;" | {{{nominee3|}}} | | style="padding: 4px 2px; vertical-align: top;" | {{{nominee3|}}} | ||
| Line 65: | Line 65: | ||
}} | }} | ||
| style="text-align: left; font-weight: bold; padding: 2px; vertical-align: top;" | {{#if: {{{popular_vote1|}}}{{{popular_vote2|}}}{{{popular_vote3|}}} | | ||
{{!}} style="text-align: left; font-weight: bold; padding: 2px; vertical-align: top;" {{!}} Popular vote | |||
{{!}} style="padding: 2px; vertical-align: top;" {{!}} {{{popular_vote1|}}} | |||
{{!}} style="padding: 2px; vertical-align: top;" {{!}} {{{popular_vote2|}}} | |||
{{!}} style="padding: 2px; vertical-align: top;" {{!}} {{{popular_vote3|}}} | |||
{{!}}- | |||
}} | |||
| style="text-align: left; font-weight: bold; padding: 2px; vertical-align: top;" | {{#if: {{{percentage1|}}}{{{percentage2|}}}{{{percentage3|}}} | | ||
{{!}} style="text-align: left; font-weight: bold; padding: 2px; vertical-align: top;" {{!}} Percentage | |||
{{!}} style="padding: 2px; vertical-align: top;" {{!}} {{{percentage1|}}} | |||
{{!}} style="padding: 2px; vertical-align: top;" {{!}} {{{percentage2|}}} | |||
{{!}} style="padding: 2px; vertical-align: top;" {{!}} {{{percentage3|}}} | |||
{{!}}- | |||
}} | |||
|} | |} | ||
|- | |- | ||
{{#if: {{{before_election|}}}{{{ | {{#if: {{{before_election|}}}{{{title|}}} | | ||
{{!}} colspan="4" style="border-top: 1px solid #a2a9b1; padding: 0.5em 0.4em;" {{!}} | {{!}} colspan="4" style="border-top: 1px solid #a2a9b1; padding: 0.5em 0.4em;" {{!}} | ||
{{{!}} style="width: 100%; background: transparent; color: inherit;" | {{{!}} style="width: 100%; background: transparent; color: inherit;" | ||
{{!}} style="width: 50%; text-align: left; vertical-align: top;" {{!}} '''{{{title|Office}}} before election'''<br />{{{before_election|}}}<br />{{{before_party|}}} | {{!}} style="width: 50%; text-align: left; vertical-align: top;" {{!}} '''{{{title|Office}}} before election'''<br />{{{before_election|}}}<br />{{{before_party|}}} | ||
{{!}} style="width: 50%; text-align: right; vertical-align: top;" {{!}} '''Elected {{{title|office}}}'''<br />{{{after_election|}}}<br />{{{after_party|}}} | {{!}} style="width: 50%; text-align: right; vertical-align: top;" {{!}} '''Elected {{{title|office}}}'''<br />{{{after_election|''TBD''}}}<br />{{{after_party|}}} | ||
{{!}}} | {{!}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|} | |} | ||