Difference between revisions of "Template:Infobox Party"

From Taijitu
Jump to: navigation, search
(+If template)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
{{#if: {{{Logo|}}}|
 
{{#if: {{{Logo|}}}|
 
{{!}}-align="center"
 
{{!}}-align="center"
{{!}}colspan=2{{!}}[[image: {{{Logo}}}{{!}}center{{!}}256px{{!}}Logo of the {{{Name}}}]]
+
{{!}}colspan=2 style="max-height: 256px"{{!}}[[image: {{{Logo}}}{{!}}center{{!}}256px{{!}}Logo of the {{{Name}}}]]
 
}}
 
}}
 
|-
 
|-
Line 12: Line 12:
 
|-valign="top"
 
|-valign="top"
 
!Ideology
 
!Ideology
|{{{Ideology}}}
+
|{{{Ideology}}} {{if||{{{Leader Title 1|}}}|
{{if||{{{Leader Title 1|}}}|
+
{{!}}-{{top}}
{{!}}-valign="top"
+
 
!{{{Leader Title 1}}}
 
!{{{Leader Title 1}}}
 
{{!}}{{{Leader Holder 1}}}}}{{if||{{{Leader Title 2|}}}|
 
{{!}}{{{Leader Holder 1}}}}}{{if||{{{Leader Title 2|}}}|
{{!}}-valign="top"
+
{{!}}-{{top}}
 
!{{{Leader Title 2}}}
 
!{{{Leader Title 2}}}
 
{{!}}{{{Leader Holder 2}}}}}{{if||{{{Leader Title 3|}}}|
 
{{!}}{{{Leader Holder 2}}}}}{{if||{{{Leader Title 3|}}}|
{{!}}-valign="top"
+
{{!}}-{{top}}
 
!{{{Leader Title 3}}}
 
!{{{Leader Title 3}}}
 
{{!}}{{{Leader Holder 3}}}}}
 
{{!}}{{{Leader Holder 3}}}}}
Line 39: Line 38:
 
|-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=
}}