Template:Party: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
m (spacing)
(Added more parameters to the template including the ability to indicate party mergers)
Line 9: Line 9:
{{#if: {{{date2|}}}|{{!}}- align="left"
{{#if: {{{date2|}}}|{{!}}- align="left"
{{!}}'''Disbanded:'''{{{date2}}} |}}
{{!}}'''Disbanded:'''{{{date2}}} |}}
|-
{{#if: {{{split|}}}|{{!}}- align="left"
{{!}}'''Position:''' {{{split}}} |}}
|-
{{#if: {{{merger|}}}|{{!}}- align="left"
{{!}}'''Position:''' {{{merger}}} |}}
|-
{{#if: {{{merged|}}}|{{!}}- align="left"
{{!}}'''Position:''' {{{merged}}} |}}
|-
{{#if: {{{pos|}}}|{{!}}- align="left"
{{!}}'''Position:''' {{{pos}}} |}}
|-
|-
{{#if: {{{bel|}}}|{{!}}- align="left"
{{#if: {{{bel|}}}|{{!}}- align="left"
Line 23: Line 35:
  |date1=The date the party became active.  Not shown if undefined.
  |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.
  |date2=The date the party ceased to be active.  Not shown if nothing is entered for date1.
|split=The party from which this party split off of. Not shown if undefined.
|merger=The parties which merged to form this party. Not shown if undefined.
|merged=The party into which this party merged. Not shown if undefined.
|pos=The party's position on the political spectrum. 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.
  |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.
  |col1=Main color used by the party (will show up as border). Defaults to gray.

Revision as of 22:42, 31 March 2024

{{{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.
|split=The party from which this party split off of. Not shown if undefined.
|merger=The parties which merged to form this party. Not shown if undefined.
|merged=The party into which this party merged. Not shown if undefined.
|pos=The party's position on the political spectrum. 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.
}}