Template:Infobox political party: Difference between revisions
(de-weirdify docs) |
(If we are formatting it this way, might as well move this to the doc page ...) |
||
Line 1: | Line 1: | ||
{{Infobox |
{{Infobox |
||
| bodyclass = vcard |
| bodyclass = vcard |
||
| above = <span class="fn org">{{{name |
| above = <span class="fn org">{{{name|{{{name_english|{{{party name|{{{party_name|{{PAGENAME}}}}}}}}}}}}}}</span>{{#if:{{{name_native|}}}{{{native_name|}}}|<br />''<small class="nickname">{{{name_native|{{{native_name}}}}}}</small>''}} |
||
| abovestyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}; border-bottom: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}} |
| abovestyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}; border-bottom: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}} |
||
| image = {{{party logo|{{{party_logo|{{{logo |
| image = {{{party logo|{{{party_logo|{{{logo|}}}}}}}}} |
||
| imageclass = logo |
| imageclass = logo |
||
| caption = {{{caption |
| caption = {{{caption|}}} |
||
| label2 = {{{lang1}}} name |
| label2 = {{{lang1}}} name |
||
| class2 = nickname |
| class2 = nickname |
||
| data2 = {{{name_lang1 |
| data2 = {{{name_lang1|}}} |
||
| label3 = {{{lang2}}} name |
| label3 = {{{lang2}}} name |
||
| class3 = nickname |
| class3 = nickname |
||
| data3 = {{{name_lang2 |
| data3 = {{{name_lang2|}}} |
||
| label4 = {{{lang3}}} name |
| label4 = {{{lang3}}} name |
||
| class4 = nickname |
| class4 = nickname |
||
| data4 = {{{name_lang3 |
| data4 = {{{name_lang3|}}} |
||
| label5 = {{{lang4}}} name |
| label5 = {{{lang4}}} name |
||
| class5 = nickname |
| class5 = nickname |
||
| data5 = {{{name_lang4 |
| data5 = {{{name_lang4|}}} |
||
| label6 = {{#ifeq:{{{disbanded|no}}}|no|Leader|Former leader}} |
| label6 = {{#ifeq:{{{disbanded|no}}}|no|Leader|Former leader}} |
||
| class6 = agent |
| class6 = agent |
||
| data6 = {{{leader |
| data6 = {{{leader|}}} |
||
| label7 = {{#ifeq:{{{disbanded|no}}}|no|Chairperson|Former chairperson}} |
| label7 = {{#ifeq:{{{disbanded|no}}}|no|Chairperson|Former chairperson}} |
||
| class7 = agent |
| class7 = agent |
||
| data7 = {{{chairperson |
| data7 = {{{chairperson|{{{chairman|}}}}}} |
||
| label8 = {{#ifeq:{{{disbanded|no}}}|no|President|Former president}} |
| label8 = {{#ifeq:{{{disbanded|no}}}|no|President|Former president}} |
||
| class8 = agent |
| class8 = agent |
||
| data8 = {{{president |
| data8 = {{{president|}}} |
||
| label9 = {{#ifeq:{{{disbanded|no}}}|no|Secretary-General|Former secretary-general}} |
| label9 = {{#ifeq:{{{disbanded|no}}}|no|Secretary-General|Former secretary-general}} |
||
| class9 = agent |
| class9 = agent |
||
| data9 = {{{secretary_general |
| data9 = {{{secretary_general|{{{secretary|}}}}}} |
||
| label10 = {{#ifeq:{{{disbanded|no}}}|no|Spokesperson|Former spokesperson}} |
| label10 = {{#ifeq:{{{disbanded|no}}}|no|Spokesperson|Former spokesperson}} |
||
| class10 = agent |
| class10 = agent |
||
| data10 = {{{spokesperson |
| data10 = {{{spokesperson|{{{spokesman|}}}}}} |
||
| label11 = Founder |
| label11 = Founder |
||
| class11 = agent |
| class11 = agent |
||
| data11 = {{{founder |
| data11 = {{{founder|}}} |
||
| label12 = {{{leader1_title |
| label12 = {{{leader1_title|}}} |
||
| class12 = agent |
| class12 = agent |
||
| data12 = {{{leader1_name |
| data12 = {{{leader1_name|}}} |
||
| label13 = {{{leader2_title |
| label13 = {{{leader2_title|}}} |
||
| class13 = agent |
| class13 = agent |
||
| data13 = {{{leader2_name |
| data13 = {{{leader2_name|}}} |
||
| label14 = {{{leader3_title |
| label14 = {{{leader3_title|}}} |
||
| class14 = agent |
| class14 = agent |
||
| data14 = {{{leader3_name |
| data14 = {{{leader3_name|}}} |
||
| label15 = {{{leader4_title |
| label15 = {{{leader4_title|}}} |
||
| class15 = agent |
| class15 = agent |
||
| data15 = {{{leader4_name |
| data15 = {{{leader4_name|}}} |
||
| label16 = {{{leader5_title |
| label16 = {{{leader5_title|}}} |
||
| class16 = agent |
| class16 = agent |
||
| data16 = {{{leader5_name |
| data16 = {{{leader5_name|}}} |
||
| label17 = Slogan |
| label17 = Slogan |
||
| data17 = {{{slogan |
| data17 = {{{slogan|}}} |
||
| label18 = Founded |
| label18 = Founded |
||
| data18 = {{{founded |
| data18 = {{{founded|{{{foundation|}}}}}} |
||
| label19 = Dissolved |
| label19 = Dissolved |
||
| data19 = {{{dissolved |
| data19 = {{{dissolved|{{{dissolution|}}}}}} |
||
| label20 = Merger of |
| label20 = Merger of |
||
| data20 = {{{merger |
| data20 = {{{merger|}}} |
||
| label21 = Split from |
| label21 = Split from |
||
| data21 = {{{split |
| data21 = {{{split|}}} |
||
| label22 = Preceded by |
| label22 = Preceded by |
||
| data22 = {{{predecessor |
| data22 = {{{predecessor|{{{preceded by|{{{preceded_by|}}}}}}}}} |
||
| label23 = Merged into |
| label23 = Merged into |
||
| data23 = {{{merged |
| data23 = {{{merged|}}} |
||
| label24 = Succeeded by |
| label24 = Succeeded by |
||
| data24 = {{{successor |
| data24 = {{{successor|{{{succeeded by|{{{succeeded_by|}}}}}}}}} |
||
| label25 = Headquarters |
| label25 = Headquarters |
||
| class25 = label |
| class25 = label |
||
| data25 = {{{headquarters |
| data25 = {{{headquarters|}}} |
||
| label26 = Newspaper |
| label26 = Newspaper |
||
| data26 = {{{newspaper |
| data26 = {{{newspaper|}}} |
||
| label27 = Student wing |
| label27 = Student wing |
||
| data27 = {{{student_wing |
| data27 = {{{student_wing|}}} |
||
| label28 = Youth wing |
| label28 = Youth wing |
||
| data28 = {{{youth_wing |
| data28 = {{{youth_wing|}}} |
||
| label29 = {{{wing1_title}}} |
| label29 = {{{wing1_title}}} |
||
| data29 = {{{wing1 |
| data29 = {{{wing1|}}} |
||
| label30 = {{{wing2_title}}} |
| label30 = {{{wing2_title}}} |
||
| data30 = {{{wing2 |
| data30 = {{{wing2|}}} |
||
| label31 = {{{wing3_title}}} |
| label31 = {{{wing3_title}}} |
||
| data31 = {{{wing3 |
| data31 = {{{wing3|}}} |
||
| label32 = Membership {{#if:{{{membership_year |
| label32 = Membership {{#if:{{{membership_year|}}}| ({{{membership_year}}})}} |
||
| data32 = {{{membership |
| data32 = {{{membership|}}} |
||
| class33 = category |
| class33 = category |
||
| label33 = [[Ideologies of parties|Ideology]] |
| label33 = [[Ideologies of parties|Ideology]] |
||
| data33 = {{{ideology |
| data33 = {{{ideology|}}} |
||
| class34 = category |
| class34 = category |
||
| label34 = [[Political spectrum|Political position]] |
| label34 = [[Political spectrum|Political position]] |
||
| data34 = {{{position |
| data34 = {{{position|}}} |
||
| class35 = category |
| class35 = category |
||
| label35 = [[Religion]] |
| label35 = [[Religion]] |
||
| data35 = {{{religion |
| data35 = {{{religion|}}} |
||
| class36 = category |
| class36 = category |
||
| label36 = National affiliation |
| label36 = National affiliation |
||
| data36 = {{{national |
| data36 = {{{national|}}} |
||
| class37 = category |
| class37 = category |
||
| label37 = International affiliation |
| label37 = International affiliation |
||
| data37 = {{{international |
| data37 = {{{international|{{{international affiliation|}}}}}} |
||
| class38 = category |
| class38 = category |
||
| label38 = European affiliation |
| label38 = European affiliation |
||
| data38 = {{{european |
| data38 = {{{european|{{{european affiliation|}}}}}} |
||
| class39 = category |
| class39 = category |
||
| label39 = European Parliament Group |
| label39 = European Parliament Group |
||
| data39 = {{{europarl |
| data39 = {{{europarl|{{{european parliament group|}}}}}} |
||
| class40 = category |
| class40 = category |
||
| label40 = {{{affiliation1_title}}} |
| label40 = {{{affiliation1_title}}} |
||
| data40 = {{{affiliation1 |
| data40 = {{{affiliation1|}}} |
||
| label41 = Official colo{{#if:{{{colours|}}}|u|}}rs |
| label41 = Official colo{{#if:{{{colours|}}}|u|}}rs |
||
| data41 = {{{colo{{#if:{{{colours|}}}|u|}}rs |
| data41 = {{{colo{{#if:{{{colours|}}}|u|}}rs|}}} |
||
| label42 = {{{blank1_title |
| label42 = {{{blank1_title|{{{blank_title|}}}}}} |
||
| data42 = {{{blank1 |
| data42 = {{{blank1|{{{blank1_info|{{{blank_info|}}}}}}}}} |
||
| label43 = {{{blank2_title |
| label43 = {{{blank2_title|}}} |
||
| data43 = {{{blank2 |
| data43 = {{{blank2|{{{blank2_info|}}}}}} |
||
| label44 = {{{blank3_title |
| label44 = {{{blank3_title|}}} |
||
| data44 = {{{blank3 |
| data44 = {{{blank3|{{{blank3_info|}}}}}} |
||
| label45 = {{{seats1_title |
| label45 = {{{seats1_title|}}} |
||
| data45 = {{{seats1 |
| data45 = {{{seats1|}}} |
||
| label46 = {{{seats2_title |
| label46 = {{{seats2_title|}}} |
||
| data46 = {{{seats2 |
| data46 = {{{seats2|}}} |
||
| label47 = {{{seats3_title |
| label47 = {{{seats3_title|}}} |
||
| data47 = {{{seats3 |
| data47 = {{{seats3|}}} |
||
| label48 = {{{seats4_title |
| label48 = {{{seats4_title|}}} |
||
| data48 = {{{seats4 |
| data48 = {{{seats4|}}} |
||
| label49 = {{{seats5_title |
| label49 = {{{seats5_title|}}} |
||
| data49 = {{{seats5 |
| data49 = {{{seats5|}}} |
||
| label50 = {{{seats6_title |
| label50 = {{{seats6_title|}}} |
||
| data50 = {{{seats6 |
| data50 = {{{seats6|}}} |
||
| label51 = {{{seats7_title |
| label51 = {{{seats7_title|}}} |
||
| data51 = {{{seats7 |
| data51 = {{{seats7|}}} |
||
| header52 = {{#if:{{{symbol |
| header52 = {{#if:{{{symbol|}}}|Election symbol}} |
||
| data53 = {{{symbol |
| data53 = {{{symbol|}}} |
||
| header54 = {{#if:{{{website |
| header54 = {{#if:{{{website|}}}|Website}} |
||
| data55 = {{{website |
| data55 = {{{website|}}} |
||
| below = {{#if:{{{state|{{{country|}}}}}}|[[Politics of {{{state|{{{country}}}}}}]]<br>[[List of political parties in {{{state|{{{country}}}}}}|Political parties]]<br>[[Elections in {{{state|{{{country}}}}}}|Elections]]{{#if:{{{country2|}}}|<hr />[[Politics of {{{country2}}}]]<br>[[List of political parties in {{{country2}}}|Political parties]]<br>[[Elections in {{{country2}}}|Elections]]}}}}{{#if:{{{footnotes |
| below = {{#if:{{{state|{{{country|}}}}}}|[[Politics of {{{state|{{{country}}}}}}]]<br>[[List of political parties in {{{state|{{{country}}}}}}|Political parties]]<br>[[Elections in {{{state|{{{country}}}}}}|Elections]]{{#if:{{{country2|}}}|<hr />[[Politics of {{{country2}}}]]<br>[[List of political parties in {{{country2}}}|Political parties]]<br>[[Elections in {{{country2}}}|Elections]]}}}}{{#if:{{{footnotes|}}}|<hr />{{{footnotes|}}}}} |
||
| belowstyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}} |
| belowstyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}} |
Revision as of 16:20, 15 April 2010
Infobox political party |
---|
This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
Basic
{{{name}}} | |
---|---|
{{{logo}}} | |
Leader | {{{leader}}} |
Chairperson | {{{chairperson}}} |
President | {{{president}}} |
Secretary-General | {{{secretary_general}}} |
Spokesperson | {{{spokesperson}}} |
Founder | {{{founder}}} |
Founded | {{{founded}}} |
Headquarters | {{{headquarters}}} |
Ideology | {{{ideology}}} |
International affiliation | {{{international}}} |
Website | |
{{{website}}} | |
[[Politics of {{{country}}}]] [[List of political parties in {{{country}}}|Political parties]] [[Elections in {{{country}}}|Elections]] |
{{Infobox political party | name = | logo = | logo_alt = | colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" --> | leader = | president = | chairperson = | general_secretary = | first_secretary = | secretary_general = | presidium = | standing_committee = | secretary = | spokesperson = | founder = | founded = <!-- {{start date|YYYY|MM|DD}} --> | headquarters = | ideology = | international = | website = | country = }}
Full
{{{name}}} {{{native_name}}} | |
---|---|
{{{logo}}} {{{caption}}} | |
{{{lang1}}} name | {{{name_lang1}}} |
{{{lang2}}} name | {{{name_lang2}}} |
{{{lang3}}} name | {{{name_lang3}}} |
{{{lang4}}} name | {{{name_lang4}}} |
Leader | {{{leader}}} |
Chairperson | {{{chairperson}}} or {{{chairman}}} |
President | {{{president}}} |
Secretary-General | {{{secretary_general}}} |
Spokesperson | {{{spokesperson}}} or {{{spokesman}}} |
Founder | {{{founder}}} or {{{founders}}} |
{{{leader1_title}}} | {{{leader1_name}}} |
{{{leader2_title}}} | {{{leader2_name}}} |
{{{leader3_title}}} | {{{leader3_name}}} |
{{{leader4_title}}} | {{{leader4_name}}} |
{{{leader5_title}}} | {{{leader5_name}}} |
Slogan | {{{slogan}}} |
Founded | {{{founded}}} or {{{foundation}}} |
Dissolved | {{{dissolved}}} or {{{banned}}} or {{{dissolution}}} |
Merger of | {{{merger}}} |
Split from | {{{split}}} |
Preceded by | {{{predecessor}}} |
Merged into | {{{merged}}} |
Succeeded by | {{{successor}}} |
Headquarters | {{{headquarters}}} |
Newspaper | {{{newspaper}}} |
Student wing | {{{student_wing}}} |
Youth wing | {{{youth_wing}}} |
{{{wing1_title}}} | {{{wing1}}} |
{{{wing2_title}}} | {{{wing2}}} |
{{{wing3_title}}} | {{{wing3}}} |
Membership ([year]) | {{{membership}}} |
Ideology | {{{ideology}}} |
Political position | {{{position}}} |
Religion | {{{religion}}} |
National affiliation | {{{national}}} |
International affiliation | {{{international}}} |
European affiliation | {{{european}}} |
European Parliament Group | {{{europarl}}} |
{{{affiliation1_title}}} | {{{affiliation1}}} |
Official colors | {{{colors}}} or {{{colours}}} |
{{{blank1_title}}} | {{{blank1}}} |
{{{blank2_title}}} | {{{blank2}}} |
{{{blank3_title}}} | {{{blank3}}} |
{{{seats1_title}}} | {{{seats1}}} |
{{{seats2_title}}} | {{{seats2}}} |
{{{seats3_title}}} | {{{seats3}}} |
{{{seats4_title}}} | {{{seats4}}} |
Election symbol | |
{{{symbol}}} | |
Website | |
{{{website}}} | |
[[Politics of {{{country}}}]] [[List of political parties in {{{country}}}|Political parties]] [[Elections in {{{country}}}|Elections]] [[Politics of {{{country2}}}]] [[List of political parties in {{{country2}}}|Political parties]] [[Elections in {{{country2}}}|Elections]] {{{footnotes}}} |
{{Infobox political party | name = | native_name = | native_name_lang = | lang1 = | name_lang1 = | lang2 = | name_lang2 = | lang3 = | name_lang3 = | lang4 = | name_lang4 = | logo = | logo_size = | logo_upright = | logo_alt = | caption = | colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" --> | abbreviation = <!-- official abbreviation or | abbr = --> | leader = | president = | chairperson = <!-- or | chairman = --> | general_secretary = | first_secretary = | secretary_general = | presidium = | standing_committee = | secretary = | spokesperson = <!-- or | spokesman = --> | leader1_title = | leader1_name = | leader2_title = | leader2_name = | leader3_title = | leader3_name = | leader4_title = | leader4_name = | leader5_title = | leader5_name = | founder = <!-- or | founders = --> | founded = <!-- or | foundation = use {{start date|YYYY|MM|DD}} --> | registered = | legalised = <!-- or | legalized = --> | dissolved = <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} --> | merger = | split = | predecessor = | merged = | successor = | headquarters = | newspaper = | think_tank = | student_wing = | youth_wing = | womens_wing = | wing1_title = | wing1 = | wing2_title = | wing2 = | wing3_title = | wing3 = | wing4_title = | wing4 = | membership_year = | membership = | ideology = | position = | religion = | national = | regional = <!-- or | regional affiliation = --> | european = | continental = <!-- or | continental affiliation = --> | international = | europarl = | affiliation1_title = | affiliation1 = | affiliation2_title = | affiliation2 = | colors = <!-- or | colours = --> | slogan = | anthem = | blank1_title = | blank1 = | blank2_title = | blank2 = | blank3_title = | blank3 = | blank4_title = | blank4 = | seats1_title = | seats1 = <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} --> | seats2_title = | seats2 = | seats3_title = | seats3 = | seats4_title = <!-- up to | seats11_title = --> | seats4 = <!-- up to | seats11 = --> | symbol = | flag = | flag_title = | flag_alt = | website = | state = <!-- or | country = --> | country = <!-- or | state = --> | country_dab1 = | parties_dab1 = | elections_dab1 = | country2 = | country_dab2 = | parties_dab2 = | elections_dab2 = | footnotes = }}
Microformat
TemplateData
TemplateData for Infobox political party
An infobox for political party.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the party. | String | optional |
native_name | native_name | no description | Unknown | optional |
Logo | logo | The logo of the party. | String | optional |
Logo Size | logo_size | Size of logo image | String | optional |
Color code | colorcode | The color to be used for infobox accents. HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring. | String | optional |
Leader | leader | The leader of the party. | String | optional |
President | president | The president of the party. | String | optional |
Chairperson | chairperson chairman | The chairperson of the party. | String | optional |
General secretary | general_secretary | The general secretary of the party. | String | optional |
First secretary | first_secretary | The first secretary of the party. | String | optional |
Secretary-general | secretary_general | The secretary-general of the party. | String | optional |
Presidium | presidium | The presidium of the party. | String | optional |
Secretary | secretary | The secretary of the party. | String | optional |
Spokesperson | spokesperson spokesman | The spokesperson of the party. | String | optional |
Foundation | foundation founded | The foundation date of the party. Insert as {{Start date|YYYY|MM|DD}}. | String | optional |
Ideology | ideology | The ideology of the party. | String | optional |
Headquarters | headquarters | The headquarters of the party. | String | optional |
International | international | The international of the party. | String | optional |
Website | website | The website of the party. | String | optional |
Registered | registered | The registration number of party; if unregistered, then write NO. | String | optional |
Country | country state | The country of the party. | String | optional |
abbreviation | abbreviation abbr | no description | Unknown | optional |
founder | founder founders | no description | Unknown | optional |
legalised | legalised legalized | no description | Unknown | optional |
dissolved | dissolved banned dissolution | no description | Unknown | optional |
colors | colors colours | The official colors of the party, independent of infobox usage. | Unknown | optional |
native_name_lang | native_name_lang | no description | Unknown | optional |
standing_committee | standing_committee | no description | Unknown | optional |
merger | merger | no description | Unknown | optional |
split | split | no description | Unknown | optional |
predecessor | predecessor | no description | Unknown | optional |
merged | merged | no description | Unknown | optional |
successor | successor | no description | Unknown | optional |
newspaper | newspaper | no description | Unknown | optional |
think_tank | think_tank think tank | no description | Unknown | optional |
student_wing | student_wing | no description | Unknown | optional |
youth_wing | youth_wing | no description | Unknown | optional |
womens_wing | womens_wing | no description | Unknown | optional |
membership | membership | no description | Unknown | optional |
membership_year | membership_year | no description | Unknown | optional |
position | position | no description | Unknown | optional |
religion | religion | no description | Unknown | optional |
national | national | no description | Unknown | optional |
regional | regional regional affiliation | no description | Unknown | optional |
european | european | no description | Unknown | optional |
continental | continental continental affiliation | no description | Unknown | optional |
europarl | europarl | no description | Unknown | optional |
slogan | slogan | no description | Unknown | optional |
anthem | anthem | no description | Unknown | optional |
symbol | symbol | no description | Unknown | optional |
flag | flag flag_title | no description | Unknown | optional |
flag_alt | flag_alt | no description | Unknown | optional |
country2 | country2 | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |
logo_upright | logo_upright | no description | Unknown | optional |
logo_alt | logo_alt | no description | Unknown | optional |
Tracking categories
See also
- {{Composition bar}}, used to display a statistic, such as the number of seats held by a political party.