Template:Infobox elections: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Undo revision 229612 by Kemal HagemaruFRP (talk)) Tag: Undo |
No edit summary |
||
Line 88: | Line 88: | ||
{{#if:{{{alliance1|}}}|<!-- Alliance name 1, 2, 3 --> | {{#if:{{{alliance1|}}}|<!-- Alliance name 1, 2, 3 --> | ||
! style="text-align: left" {{!}} Alliance | ! style="text-align: left" {{!}} Alliance | ||
{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance1|}}}|{{{alliance1}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance1}}}| | {{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance1|}}}|{{{alliance1}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance1}}}|{{{alliance1}}}}} }} | ||
{{#if:{{{alliance2|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance2|}}}|{{{alliance2}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance2}}}| | {{#if:{{{alliance2|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance2|}}}|{{{alliance2}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance2}}}|{{{alliance2}}}}} }} }} | ||
{{#if:{{{alliance3|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance3|}}}|{{{alliance3}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance3}}}| | {{#if:{{{alliance3|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance3|}}}|{{{alliance3}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance3}}}|{{{alliance3}}}}} }} }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 566: | Line 566: | ||
{{#if:{{{alliance4|}}}|<!-- Alliance name 4, 5, 6 --> | {{#if:{{{alliance4|}}}|<!-- Alliance name 4, 5, 6 --> | ||
! style="text-align: left" {{!}} Alliance | ! style="text-align: left" {{!}} Alliance | ||
{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance4|}}}|{{{alliance4}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance4}}}| | {{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance4|}}}|{{{alliance4}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance4}}}|{{{alliance4}}}}} }} | ||
{{#if:{{{alliance5|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance5|}}}|{{{alliance5}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance5}}}| | {{#if:{{{alliance5|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance5|}}}|{{{alliance5}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance5}}}|{{{alliance5}}}}} }} }} | ||
{{#if:{{{alliance6|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance6|}}}|{{{alliance6}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance6}}}| | {{#if:{{{alliance6|}}}|{{!}} width="70" style="text-align: center" {{!}} {{#switch:{{{alliance_name|}}}| no={{#if:{{{alliance6|}}}|{{{alliance6}}} }}| #default= {{#ifeq: {{{alliance_name}}}|no|{{{alliance6}}}|{{{alliance6}}}}} }} }} | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 00:01, 4 January 2024
[create]
Template documentation

Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |