Template:Political party: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
This template displays information about a political party. Example usage:
{{Political_party
| name = Example Party
| image1 = [[File:ExampleImage.png|200px]]
| political_alignment = Center
| full_name = Example Political Party
| abbreviation = EPP
| leader = John Doe
| members = 50
}}
</noinclude>
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
|-
|-
Line 7: Line 20:
|- style="text-align:center;"
|- style="text-align:center;"
|-
|-
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{#if:{{{image1|<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image1|}}}||display:none;}}" {{!}}{{{image1}}}
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image1|}}}||display:none;}}" {{!}}{{{image1}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
| colspan="2" style="{{#if:{{{political alignment|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{political alignment|}}}
| colspan="2" style="{{#if:{{{political_alignment|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{political_alignment|}}}
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Party Information'''
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Party Information'''
Line 31: Line 44:
</div>
</div>
|}
|}
== Example Usage ==
<pre>
{{Political_party
|color=Example
|title1=Example
|image1=ExampleImage.png
|political_alignment=Example Alignment
|full_name=Example Full Name
|abbreviation=EP
|leader=Example Leader
|members=Example Members
}}
</pre>

Revision as of 14:47, 3 October 2024

This template displays information about a political party. Example usage:


Example Party
File:ExampleImage.png
Center
Party Information
Full Name Example Political Party
Abbreviation EPP
Leader John Doe
Members 50


{{{title1}}}
Party Information
Full Name
Abbreviation
Leader
Members