Difference between revisions of "Template:Infobox Party"

From Taijitu
Jump to: navigation, search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|cellspacing="8" cellpadding="1" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid darkgray; background-Color: #f9f9f9; margin: 0 0 0 1.5em;" align="right"
+
{|class="infobox" style="width: 22em; text-align: left; font-size: 88%;"
!colspan=2 style="text-align: center; font-size: 125%; Color: {{{text-color|black}}}; background-Color: {{Color|{{{Name}}}}}"|{{{Name}}}
+
!colspan=2 style="text-align: center; font-size: 125%; Color: {{{text-color|black}}}; background-color: {{{color|{{Color|{{{Name}}}}}}}}"|{{{Name}}}
|-align="center"
+
{{#if: {{{Logo|}}}|
|colspan=2|[[image: {{{Logo}}}|center|256px|Logo of {{{The Name}}}]]
+
{{!}}-align="center"
 +
{{!}}colspan=2 style="max-height: 256px"{{!}}[[image: {{{Logo}}}{{!}}center{{!}}256px{{!}}Logo of the {{{Name}}}]]
 +
}}
 
|-
 
|-
|-valign="top"
+
|colspan=2 style="border-top: 1px solid darkgray"|
!Ideology
+
|{{{Ideology}}}
+
 
|-valign="top"
 
|-valign="top"
 
!Formation
 
!Formation
 
|{{{Formation}}}
 
|{{{Formation}}}
{{#if: {{{Leader Title 1|}}}|
+
|-valign="top"
{{!}}-valign="top"
+
!Ideology
 +
|{{{Ideology}}} {{if||{{{Leader Title 1|}}}|
 +
{{!}}-{{top}}
 
!{{{Leader Title 1}}}
 
!{{{Leader Title 1}}}
{{!}}{{{Leader Holder 1}}} }}
+
{{!}}{{{Leader Holder 1}}}}}{{if||{{{Leader Title 2|}}}|
{{#if: {{{Leader Title 2|}}}|
+
{{!}}-{{top}}
{{!}}-valign="top"
+
 
!{{{Leader Title 2}}}
 
!{{{Leader Title 2}}}
{{!}}{{{Leader Holder 2}}} }}
+
{{!}}{{{Leader Holder 2}}}}}{{if||{{{Leader Title 3|}}}|
{{#if: {{{Leader Title 3|}}}|
+
{{!}}-{{top}}
{{!}}-valign="top"
+
 
!{{{Leader Title 3}}}
 
!{{{Leader Title 3}}}
{{!}}{{{Leader Holder 3}}} }}
+
{{!}}{{{Leader Holder 3}}}}}
 
|-valign="top"
 
|-valign="top"
 
!Membership
 
!Membership
Line 30: Line 30:
 
|-valign="top"
 
|-valign="top"
 
![[Senate of Taijitu|Senate]]
 
![[Senate of Taijitu|Senate]]
|{{Seats_box|color={{Color|{{{Name}}}}}|percent={{{Senate percent}}}|seats={{{Senate}}}|total=7}}
+
|{{Seats_box|color={{{color|{{Color|{{{Name}}}}}}}}|seats={{{Senate|0}}}|total={{Senate size}}}}
 
|-
 
|-
 
![[Cabinet of Taijitu|Cabinet]]
 
![[Cabinet of Taijitu|Cabinet]]
|{{Seats_box|color={{Color|{{{Name}}}}}|percent={{{Cabinet percent}}}|seats={{{Cabinet}}}|total=7}}
+
|{{Seats_box|color={{{color|{{Color|{{{Name}}}}}}}}|seats={{{Cabinet|0}}}|total={{Cabinet size}}}}
 +
|-
 +
|colspan=2 style="border-top: 1px solid darkgray"|
 
|-align="center"
 
|-align="center"
|colspan=2|[[{{{Headquarters URL}}} {{{Headquarters}}}]]
+
|colspan=2|[{{{Headquarters URL}}} {{{Headquarters}}}]
|}
+
|}<noinclude>
 +
<div style="width:325px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 +
{{Infobox Party
 +
|text-color= //optional default black
 +
|Name=
 +
|Logo= //optional
 +
|Ideology=
 +
|Leader Title 1= //optional
 +
|Leader Holder 1= //if Leader Title 1
 +
|Leader Title 2= //optional
 +
|Leader Holder 2= //if Leader Title 2
 +
|Leader Title 3= //optional
 +
|Leader Holder 3= //if Leader Title 3
 +
|Membership=
 +
|Colors=
 +
|Senate=
 +
|Cabinet=
 +
|Headquarters=
 +
|Headquarters URL=
 +
}}</pre></div>
 +
[[Category:Templates|Infobox Party]][[Category:Infoboxes|Party]]</noinclude>

Latest revision as of 05:49, 21 July 2014

{{{Name}}}
Formation {{{Formation}}}
Ideology {{{Ideology}}}
Membership {{{Membership}}}
Colors {{{Colors}}}
Senate
0/10
Cabinet
0/4
[{{{Headquarters URL}}} {{{Headquarters}}}]
{{Infobox Party
|text-color= //optional default black
|Name=
|Logo= //optional
|Ideology=
|Leader Title 1= //optional
|Leader Holder 1= //if Leader Title 1
|Leader Title 2= //optional
|Leader Holder 2= //if Leader Title 2
|Leader Title 3= //optional
|Leader Holder 3= //if Leader Title 3
|Membership=
|Colors=
|Senate=
|Cabinet=
|Headquarters=
|Headquarters URL=
}}