Template:Infobox election/row: Difference between revisions

From Roblox SCP Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 76: Line 76:
|-<!-- Home state  -->
|-<!-- Home state  -->
{{#if:{{{home_state1|}}}{{{home_state2|}}}{{{home_state3|}}}|
{{#if:{{{home_state1|}}}{{{home_state2|}}}{{{home_state3|}}}|
{{#switch:{{{type|}}}
! style="text-align:left" {{!}} Designation
| primary
| Primary
| presidential
| Presidential =
! style="text-align:left" {{!}} Home&nbsp;state
{{!}} style="{{#if:{{{home_state1|}}}|width:75px;}}text-align:center" {{!}} {{{home_state1|}}}
{{!}} style="{{#if:{{{home_state1|}}}|width:75px;}}text-align:center" {{!}} {{{home_state1|}}}
{{!}} style="{{#if:{{{home_state2|}}}|width:75px;}}text-align:center" {{!}} {{{home_state2|}}}
{{!}} style="{{#if:{{{home_state2|}}}|width:75px;}}text-align:center" {{!}} {{{home_state2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{home_state3|}}}|width:75px;}}text-align:center" {{!}} {{{home_state3|}}}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{home_state3|}}}|width:75px;}}text-align:center" {{!}} {{{home_state3|}}}}}
| #default      =
}}
}}
}}
|-<!-- Running mate  -->
|-<!-- Running mate  -->
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#if:{{{running_mate1|}}}{{{running_mate2|}}}{{{running_mate3|}}}|
{{#if:{{{running_mate1|}}}{{{running_mate2|}}}{{{running_mate3|}}}|
! style="text-align:left" {{!}} Running&nbsp;mate
! style="text-align:left" {{!}} Department
{{!}} style="{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate1|}}}
{{!}} style="{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate1|}}}
{{!}} style="{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate2|}}}
{{!}} style="{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate3|}}}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate3|}}}}}
}}
| #default      =
}}
}}
|-<!-- Electoral vote  -->
|-<!-- Electoral vote  -->

Latest revision as of 20:16, 3 January 2023