Template:Party table entry: Difference between revisions
From AlternateWiki
Content added Content deleted
(Created page with "<includeonly>|- | bgcolor="{{GetJSON|{{{1}}}|{{{2}}}.color|none}}" | |{{GetJSON|{{{1}}}|{{{2}}}.name}} |[[File:{{GetJSON|{{{1}}}|{{{2}}}.logo}}|70x70px]] |{{#arraydefine:ideologies|{{GetJSON|User:Tombricks/sandbox/JSON|tories.ideologies}}|;}} <div style="text-align: left">{{#arrayprint:ideologies|<br />}}</div> |{{GetJSON|{{{1}}}|{{{2}}}.leader}} |{{GetJSON|{{{1}}}|{{{2}}}.desc}} |-</includeonly><noinclude> {{#arraydefine:parties|tories;liberal unionists;tories|;}} {| cl...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>|- |
<includeonly>|- |
||
| bgcolor="{{GetJSON|{{{1}}}|{{{2}}}.color|none}}" |
{{#if:{{{show_color|}}}|{{!}} bgcolor="{{GetJSON|{{{1}}}|{{{2}}}.color|none}}" {{!}}}} |
||
|{{GetJSON|{{{1}}}|{{{2}}}.name}} |
|{{GetJSON|{{{1}}}|{{{2}}}.name}} |
||
|[[File:{{GetJSON|{{{1}}}|{{{2}}}.logo}}|70x70px]] |
|[[File:{{GetJSON|{{{1}}}|{{{2}}}.logo}}|70x70px]] |
||
{{#if:{{{show_founded|}}}|{{!}}<div style="text-align: center">{{GetJSON|User:Tombricks/sandbox/JSON|{{{2}}}.founded}}</div>}}<!-- |
|||
-->{{#if:{{{show_position|}}}|{{!}}{{GetJSON|User:Tombricks/sandbox/JSON|{{{2}}}.position}}}} |
|||
⚫ | |||
|{{#arraydefine:{{{2}}}.ideologies|{{GetJSON|User:Tombricks/sandbox/JSON|{{{2}}}.ideologies}}|;}} |
|||
⚫ | |||
|{{GetJSON|{{{1}}}|{{{2}}}.leader}} |
|{{GetJSON|{{{1}}}|{{{2}}}.leader}} |
||
|{{GetJSON|{{{1}}}|{{{2}}}.desc}} |
|{{GetJSON|{{{1}}}|{{{2}}}.desc}} |
||
{{#if:{{{show_seats|}}}|{{!}}{{GetJSON|{{{1}}}|{{{2}}}.seats}}}}<!-- |
|||
-->{{#if:{{{after1|}}}|{{!}}{{GetJSON|{{{1}}}|{{{2}}}.{{{after1}}}}}}}<!-- |
|||
-->{{#if:{{{after2|}}}|{{!}}{{GetJSON|{{{1}}}|{{{2}}}.{{{after2}}}}}}}<!-- |
|||
-->{{#if:{{{after3|}}}|{{!}}{{GetJSON|{{{1}}}|{{{2}}}.{{{after3}}}}}}} |
|||
|-</includeonly><noinclude> |
|-</includeonly><noinclude> |
||
{{#arraydefine:parties| |
{{#arraydefine:parties|conservatives;liberal unionists;liberal democrats;reform;sdp|;}} |
||
{| class="wikitable" style="text-align: |
{| class="wikitable" style="text-align:left;" |
||
! colspan="2" |Name |
! colspan="2" |Name |
||
!Emblem |
!Emblem |
||
!Founded |
|||
!Ideology |
!Ideology |
||
!Leader |
!Leader |
||
!Summary |
!Summary |
||
{{#arrayprint:parties||@@@@|{{Party table entry|User:Tombricks/sandbox/JSON|@@@@}}}} |
{{#arrayprint:parties||@@@@|{{Party table entry|User:Tombricks/sandbox/JSON|@@@@|show_color=y|show_founded=y}}}} |
||
|} |
|} |
||
</noinclude> |
</noinclude> |
Revision as of 23:33, 16 May 2024
Name | Emblem | Founded | Ideology | Leader | Summary | |
---|---|---|---|---|---|---|
[[File:|70x70px]] | ||||||
[[File:|70x70px]] | ||||||
[[File:|70x70px]] | ||||||
[[File:|70x70px]] | ||||||
[[File:|70x70px]] |