Template:Party: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| align="right" style="border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #000; padding: 20; float:right; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; margin: 0 0 2em 2em" width=200px
{| align="right" style="border-collapse: separate; border-spacing: 5; border-width: 2px; border-style: solid; border-color: #{{#if: {{{col1|}}} | {{{col1|}}} | 999 }}; padding: 20; float:right; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px; margin: 0 0 2em 2em" width=200px
|align="center" valign="top" style="padding-bottom: 2em; border-style: solid; border-width: 0 0 1px 0;"|<big><big>{{{name}}}</big></big>{{#if: {{{logo|}}} |<br>[[Image:{{{logo|Circle.png}}}{{!}}200px]]|}}
|align="center" valign="top" style="padding-bottom: 2em; border-style: solid; border-width: 0 0 0 0;"|<big><big>{{{name}}}</big></big>{{#if: {{{logo|}}} |<br>[[Image:{{{logo|Circle.png}}}{{!}}200px]]|}}
|-
| style="background:#{{#if: {{{col2|}}} | {{{col2|}}} | {{#if: {{{col1|}}} | {{{col1|}}} | 999 }} }};" |
|-
|-
|align="left"|'''Leader:''' {{{boss|(Unknown)}}}
|align="left"|'''Leader:''' {{{boss|(Unknown)}}}
Line 20: Line 22:
  |date2=The date the party ceased to be active.  Not shown if nothing is entered for date1.
  |date2=The date the party ceased to be active.  Not shown if nothing is entered for date1.
  |bel=The core beliefs of the party.  This might be their 50-word statement, or a simpler expression of their ideals.  Not shown if undefined.
  |bel=The core beliefs of the party.  This might be their 50-word statement, or a simpler expression of their ideals.  Not shown if undefined.
|col1=Main color used by the party (will show up as border). Defaults to gray.
|col2=Secondary color used by the party (will show up as separator). Defaults to col1.
  }<nowiki>}</nowiki>
  }<nowiki>}</nowiki>
[[Category:Templates]][[Category:Infoboxes]]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 07:31, 18 July 2019

{{{name}}}
Leader: (Unknown)


Usage

This template is for political party pages. To use it, copy and paste the following code to the top of the page, substituting in the necessary variables where indicated.

{{Party
|name=The party's name.
|logo=The title of an uploaded image of the party's official or unofficial logo here.
|boss=The name of the most recent party leader.
|date1=The date the party became active.  Not shown if undefined.
|date2=The date the party ceased to be active.  Not shown if nothing is entered for date1.
|bel=The core beliefs of the party.  This might be their 50-word statement, or a simpler expression of their ideals.  Not shown if undefined.
|col1=Main color used by the party (will show up as border). Defaults to gray.
|col2=Secondary color used by the party (will show up as separator). Defaults to col1.
}}