Template:Party: Difference between revisions
Jump to navigation
Jump to search
(Added more parameters to the template including the ability to indicate party mergers) |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|- | |- | ||
|align="left"|'''Leader:''' {{{boss|(Unknown)}}} | |align="left"|'''Leader:''' {{{boss|(Unknown)}}} | ||
|- | |||
{{#if: {{{motto|}}} |{{!}}- align="left" | |||
{{!}}'''Motto:''' {{{motto}}}|}} | |||
|- | |||
{{#if: {{{date1|}}}|{{!}}- align="left" | {{#if: {{{date1|}}}|{{!}}- align="left" | ||
{{!}}'''Founded:''' {{{date1}}}|}} | {{!}}'''Founded:''' {{{date1}}}|}} | ||
|- | |||
{{#if: {{{date2|}}}|{{!}}- align="left" | {{#if: {{{date2|}}}|{{!}}- align="left" | ||
{{!}}'''Disbanded:'''{{{date2}}} |}} | {{!}}'''Disbanded:'''{{{date2}}} |}} | ||
|- | |||
{{#if: {{{pre|}}}|{{!}}- align="left" | |||
{{!}}'''Preceded By:''' {{{pre}}} |}} | |||
|- | |- | ||
{{#if: {{{split|}}}|{{!}}- align="left" | {{#if: {{{split|}}}|{{!}}- align="left" | ||
{{!}}''' | {{!}}'''Split From:''' {{{split}}} |}} | ||
|- | |- | ||
{{#if: {{{merger|}}}|{{!}}- align="left" | {{#if: {{{merger|}}}|{{!}}- align="left" | ||
{{!}}''' | {{!}}'''Merged From:''' {{{merger}}} |}} | ||
|- | |- | ||
{{#if: {{{merged|}}}|{{!}}- align="left" | {{#if: {{{merged|}}}|{{!}}- align="left" | ||
{{!}}''' | {{!}}'''Merged Into:''' {{{merged}}} |}} | ||
|- | |||
{{#if: {{{succ|}}}|{{!}}- align="left" | |||
{{!}}'''Succeeded By:''' {{{succ}}} |}} | |||
|- | |- | ||
{{#if: {{{pos|}}}|{{!}}- align="left" | {{#if: {{{pos|}}}|{{!}}- align="left" | ||
Line 24: | Line 35: | ||
{{#if: {{{bel|}}}|{{!}}- align="left" | {{#if: {{{bel|}}}|{{!}}- align="left" | ||
{{!}}'''Beliefs:''' {{{bel}}} |}} | {{!}}'''Beliefs:''' {{{bel}}} |}} | ||
|- | |||
{{#if: {{{col1|}}}|{{#if: {{{col2|}}}|{{!}}- align="left" | |||
{{!}}'''Colors:''' <br>{{color box|{{{col1}}}}} {{#if: {{{colname1|}}}|{{{colname1}}}|}}<br>{{color box|{{{col2}}}}} {{#if: {{{colname2|}}}|{{{colname2}}}|}} {{#if: {{{col3|}}}|<br>{{color box|{{{col3}}}}} {{#if: {{{colname3|}}}|{{{colname3}}}|}}|}}|{{!}}- align="left" | |||
{{!}}'''Color:''' {{color box|{{{col1}}}}} {{#if: {{{colname1|}}}|{{{colname1}}}|}}|}}|}} | |||
|} | |} | ||
<includeonly>[[Category:Political parties]]</includeonly> | <includeonly>[[Category:Political parties]]</includeonly> | ||
Line 32: | Line 47: | ||
|name=The party's name. | |name=The party's name. | ||
|logo=The title of an uploaded image of the party's official or unofficial logo here. | |logo=The title of an uploaded image of the party's official or unofficial logo here. | ||
|motto=The party's motto or slogan. | |||
|boss=The name of the most recent party leader. | |boss=The name of the most recent party leader. | ||
|date1=The date the party became active. Not shown if undefined. | |date1=The date the party became active. Not shown if undefined. | ||
Line 38: | Line 54: | ||
|merger=The parties which merged to form this party. 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. | |merged=The party into which this party merged. Not shown if undefined. | ||
|succ=The party or parties by which this party was succeeded. Not shown if undefined. | |||
|pos=The party's position on the political spectrum. 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 and under party colors). Defaults to gray for border. | ||
|col2=Secondary color used by the party (will show up as separator). Defaults to col1. | |col2=Secondary color used by the party (will show up as separator and under party colors). Defaults to col1 for separator. | ||
|col3=Tertiary color used by the party (will show up and under party colors). | |||
|colname1=Name for color 1. | |||
|colname2=Name for color 2. | |||
|colname3=Name for color 3. | |||
}<nowiki>}</nowiki> | }<nowiki>}</nowiki> | ||
[[Category:Templates]][[Category:Infoboxes]] | [[Category:Templates]][[Category:Infoboxes]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:39, 19 November 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. |motto=The party's motto or slogan. |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. |succ=The party or parties by which this party was succeeded. 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 and under party colors). Defaults to gray for border. |col2=Secondary color used by the party (will show up as separator and under party colors). Defaults to col1 for separator. |col3=Tertiary color used by the party (will show up and under party colors). |colname1=Name for color 1. |colname2=Name for color 2. |colname3=Name for color 3. }}