Template:Infobox political party: Difference between revisions
(test fix) |
No edit summary |
||
(42 intermediate revisions by 17 users not shown) | |||
Line 1:
{{Infobox
| bodyclass = vcard
| abovestyle = padding-top:0; padding-bottom:0;
|
| 1 = <
| 2 = {{#if:{{{native_name|}}} |<
}}</div>
| subheader = {{{_subheader|}}}
Line 14 ⟶ 12:
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{
| caption = {{{caption|}}}
Line 39 ⟶ 37:
| label5 = Abbreviation
| class5 = nickname
| data5 = {{if empty|{{{abbreviation|}}}|{{{abbr|
| label6 =
| class6 = agent
| data6 = {{{leader|}}}
| label7 =
| class7 = agent
| data7 = {{{president|}}}
| label8 =
| class8 = agent
| data8 = {{
| label9 =
| class9 = agent
| data9 = {{if empty|{{{general_secretary|}}}|{{{general_secretary|
| label10 =
| class10 = agent
| data10 = {{if empty|{{{first_secretary|}}}|{{{first_secretary|
| label11 =
| class11 = agent
| data11 = {{if empty|{{{secretary_general|}}}|{{{secretary_general|
| label12 =
| class12 = agent
| data12 = {{if empty|{{{presidium|}}}|{{{presidium|
| label13 =
| class13 = agent
| data13 = {{if empty|{{{standing_committee|}}}|{{{standing_committee|
| label14 =
| class14 = agent
| data14 = {{if empty|{{{secretary|}}}|{{{secretary|
| label15 =
| class15 = agent
| data15 = {{
| label16 =
| class16 = agent
| data16 = {{{
| label17 = {{{
| class17 = agent
| data17 = {{{
| label18 = {{{
| class18 = agent
| data18 = {{{
| label19 = {{{
| class19 = agent
| data19 = {{{
| label20 = {{{
| class20 = agent
| data20 = {{{
| label21 = {{#if:{
| class21 = agent
| data21 = {{if empty|{{{founders|}}}|{{{
| label22 =
| data22 = {{if empty|{{{founded|}}}|{{{
| label23 =
| data23 = {{{
| label24 = Legali{{#if:{{{legalised|}}}
| data24 = {{
| label25 = {{#if:{{{banned|}}} |Banned |Dissolved}}
| data25 = {{if empty|{{{banned|}}}|{{{dissolved|}}}|{{{dissolution|
| label26 = Merger of
Line 124 ⟶ 122:
| label28 = Preceded by
| data28 = {{{predecessor
| label29 = Merged into
Line 130 ⟶ 128:
| label30 = Succeeded by
| data30 = {{{successor
| label31 = Headquarters
Line 139 ⟶ 137:
| data32 = {{{newspaper|}}}
| label33 =
| data33 = {{if empty|{{{think tank|}}}|{{{think_tank|
| label34 = Student wing
| data34 = {{{student_wing|}}}
| label35 =
| data35 = {{{youth_wing|}}}
Line 163 ⟶ 161:
| data40 = {{{wing4|}}}
| label41 = Membership
| data41 = {{{membership|}}}
| label42 =
| class42 = category
| data42 = {{{ideology|}}}
| label43 =
| class43 = category
| data43 = {{{position|}}}
| label44 =
| class44 = category
| data44 = {{{religion|}}}
Line 184 ⟶ 182:
| label46 = Regional affiliation
| class46 = category
| data46 = {{if empty|{{{regional|}}}|{{{regional affiliation|
| label47 =
| class47 = category
| data47 = {{{european
| label48 = Continental affiliation
| class48 = category
| data48 = {{if empty|{{{continental|}}}|{{{continental affiliation|
| label49 = International affiliation
| class49 = category
| data49 = {{{international
| label50 =
| class50 = category
| data50 = {{{europarl
| label51 = {{{affiliation1_title}}}
Line 206 ⟶ 204:
| data51 = {{#if:{{{affiliation1_title|}}}|{{{affiliation1|}}}}}
| label52 =
| class52 = category
| data52 =
| label53 =
| data53 = {{{
| label54 =
| data54 = {{{
| label55 =
| data55 = {{{
| label56 = {{{
| data56 = {{{
| label57 = {{{
| data57 = {{{
| label58 = {{{
| data58 = {{{
| label59 = {{{
| data59 = {{{
| label60 = {{{
| data60 = {{{
| label61 = {{{
| data61 = {{{
| label62 = {{{
| data62 = {{{
| label63 = {{{
| data63 = {{{
| label64 = {{{
| data64 = {{{
| label65 = {{{
| data65 = {{{
| label66 = {{{
| data66 = {{{
| label67 = {{{
| data67 = {{{
| label68 = {{{
| data68 = {{{
|
| rowstyle70 = font-size: 150%▼
▲| data70 = {{{symbol|}}}
| label70 = {{{seats11_title|}}}
| header71 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}▼
| data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{{flag_alt|{{{flag_title|}}}}}}}}▼
|
▲| data74 = {{{website|}}}
| data72 = {{{symbol|}}}
| belowstyle = line-height:1.3em; padding-top:0.4em; {{#if:{{{colorcode|}}}|border-top:2px solid {{#invoke:string|replace|{{{colorcode}}}|#|#}}}};▼
▲|
| below = {{#if:{{{state|{{{country|}}}}}}▼
| {{#ifexist: {{#if:{{{country_dab1|}}} |{{{country_dab1}}} |Politics of {{{state|{{{country}}}}}} }}▼
| {{#if:{{{country_dab1|}}}▼
| [[{{{country_dab1}}}|Politics of {{{state|{{{country}}}}}}]]<br/>▼
| [[Politics of {{{state|{{{country}}}}}}]]<br/>▼
}} }}<!--▼
-->{{#ifexist: {{#if:{{{parties_dab1|}}} |{{{parties_dab1}}} |List of political parties in {{{state|{{{country}}}}}} }}▼
| [[{{#if:{{{parties_dab1|}}} |{{{parties_dab1}}} |List of political parties in {{{state|{{{country}}}}}}}}|Political parties]]<br/>▼
}}<!--▼
-->{{#ifexist: {{#if:{{{elections_dab1|}}} |{{{elections_dab1}}} |Elections in {{{state|{{{country}}}}}} }}▼
| [[{{#if:{{{elections_dab1|}}} |{{{elections_dab1}}} |Elections in {{{state|{{{country}}}}}}}}|Elections]]▼
}}<!--▼
-->{{#if:{{{country2|}}}▼
| <hr/><!--▼
-->{{#ifexist: {{#if:{{{country_dab2|}}} |{{{country_dab2}}} |Politics of {{{country2}}} }}▼
| {{#if:{{{country_dab2|}}}▼
}} }}<!--▼
-->{{#ifexist: {{#if:{{{parties_dab2|}}} |{{{parties_dab2}}} |List of political parties in {{{country2}}} }}▼
| [[{{#if:{{{parties_dab2|}}} |{{{parties_dab2}}} |List of political parties in {{{country2}}}}}|Political parties]]<br/>▼
}}<!--▼
-->{{#ifexist: {{#if:{{{elections_dab2|}}} |{{{elections_dab2}}} |Elections in {{{country2}}} }}▼
| [[{{#if:{{{elections_dab2|}}} |{{{elections_dab2}}} |Elections in {{{country2}}}}}|Elections]]▼
}} }} }}<!--▼
-->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes|}}} }}▼
| header75 = {{#if:{{{website|}}} |Website}}
| data76 = {{{website|}}}
|<!--▼
<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no ||
[[Category:Political Parties]]}}</includeonly>
| belowstyle = padding-top:0;
▲ |
▲
▲ | {{#ifexist: Politics of {{if
| {{#if:{{{parties_dab1|}}}
▲
▲ | {{#ifexist: List
| {{#if:{{{elections_dab1|}}}
▲
▲ | {{#ifexist: Elections
| {{Unbulleted list |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
▲ |
▲ | {{#ifexist: Politics of
| {{#if:{{{parties_dab1|}}}
▲ |
▲ | {{#ifexist: List of political parties in
| {{#if:{{{elections_dab1|}}}
▲ |
▲
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox political party with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox political party]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | abbr | abbreviation | affiliation1 | affiliation1_title | affiliation2 | affiliation2_title | anthem | banned | blank1 | blank1_title | blank2 | blank2_title | blank3 | blank3_title | blank4 | blank4_title | caption | chairman | chairperson | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | headquarters | ideology | international | lang1 | lang2 | lang3 | lang4 | leader | leader1_name | leader1_title | leader2_name | leader2_title | leader3_name | leader3_title | leader4_name | leader4_title | leader5_name | leader5_title | legalised | legalized | logo | logo_alt | logo_size | logo_upright | membership | membership_year | merged | merger | name | name_lang1 | name_lang2 | name_lang3 | name_lang4 | national | native_name | native_name_lang | newspaper | parties_dab1 | parties_dab2 | position | predecessor | president | presidium | regional | regional affiliation | registered | religion | seats1 | seats1_title | seats10 | seats10_title | seats11 | seats11_title | seats2 | seats2_title | seats3 | seats3_title | seats4 | seats4_title | seats5 | seats5_title | seats6 | seats6_title | seats7 | seats7_title | seats8 | seats8_title | seats9 | seats9_title | secretary | secretary_general | slogan | split | spokesman | spokesperson | standing_committee | state | student_wing | successor | symbol | think tank | think_tank | website | wing1 | wing1_title | wing2 | wing2_title | wing3 | wing3_title | wing4 | wing4_title | womens_wing | youth_wing
}}<noinclude>
{{Documentation}}
[[Category:Civ infobox templates]]
</noinclude>
|
Latest revision as of 03:14, 7 January 2024
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}}} | |
---|---|
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright=0.8|{{{logo_alt}}}]] | |
Leader | {{{leader}}} |
President | {{{president}}} |
Chairperson | {{{chairperson}}} |
General Secretary | {{{general_secretary}}} |
First Secretary | {{{first_secretary}}} |
Secretary-General | {{{secretary_general}}} |
Presidium | {{{presidium}}} |
Standing Committee | {{{standing_committee}}} |
Secretary | {{{secretary}}} |
Spokesperson | {{{spokesperson}}} |
Founder | {{{founder}}} |
Founded | {{{founded}}} |
Headquarters | {{{headquarters}}} |
Ideology | {{{ideology}}} |
International affiliation | {{{international}}} |
Website | |
{{{website}}} |
{{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}}} | |
---|---|
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright={{{logo_upright}}}|{{{logo_alt}}}]] {{{caption}}} | |
{{{lang1}}} name | {{{name_lang1}}} |
{{{lang2}}} name | {{{name_lang2}}} |
{{{lang3}}} name | {{{name_lang3}}} |
{{{lang4}}} name | {{{name_lang4}}} |
Abbreviation | {{{abbreviation}}} or {{{abbr}}} |
Leader | {{{leader}}} |
President | {{{president}}} |
Chairperson | {{{chairperson}}} or {{{chairman}}} |
General Secretary | {{{general_secretary}}} |
First Secretary | {{{first_secretary}}} |
Secretary-General | {{{secretary_general}}} |
Presidium | {{{presidium}}} |
Standing Committee | {{{standing_committee}}} |
Secretary | {{{secretary}}} |
Spokesperson | {{{spokesperson}}} or {{{spokesman}}} |
{{{leader1_title}}} | {{{leader1_name}}} |
{{{leader2_title}}} | {{{leader2_name}}} |
{{{leader3_title}}} | {{{leader3_name}}} |
{{{leader4_title}}} | {{{leader4_name}}} |
{{{leader5_title}}} | {{{leader5_name}}} |
Founder | {{{founder}}} or {{{founders}}} |
Founded | {{{founded}}} or {{{foundation}}} |
Registered | {{{registered}}} |
Legalised | {{{legalised}}} or {{{legalized}}} |
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}}} |
Think tank | {{{think_tank}}} |
Student wing | {{{student_wing}}} |
Youth wing | {{{youth_wing}}} |
Women's wing | {{{womens_wing}}} |
{{{wing1_title}}} | {{{wing1}}} |
{{{wing2_title}}} | {{{wing2}}} |
{{{wing3_title}}} | {{{wing3}}} |
{{{wing4_title}}} | {{{wing4}}} |
Membership ([year]) | {{{membership}}} |
Ideology | {{{ideology}}} |
Political position | {{{position}}} |
Religion | {{{religion}}} |
National affiliation | {{{national}}} |
Regional affiliation | {{{regional}}} |
European political party | {{{european}}} |
Continental affiliation | {{{continental}}} |
International affiliation | {{{international}}} |
Political groups of the European Parliament | {{{europarl}}} |
{{{affiliation1_title}}} | {{{affiliation1}}} |
{{{affiliation2_title}}} | {{{affiliation2}}} |
Colors | {{{colors}}} or {{{colours}}} |
Slogan | {{{slogan}}} |
Anthem | {{{anthem}}} |
{{{blank1_title}}} | {{{blank1}}} |
{{{blank2_title}}} | {{{blank2}}} |
{{{blank3_title}}} | {{{blank3}}} |
{{{blank4_title}}} | {{{blank4}}} |
{{{seats1_title}}} | {{{seats1}}} |
{{{seats2_title}}} | {{{seats2}}} |
{{{seats3_title}}} | {{{seats3}}} |
{{{seats4_title}}} | {{{seats4}}} |
Election symbol | |
{{{symbol}}} | |
{{{flag_title}}} | |
[[File:{{{flag}}}|frameless|alt={{{flag_alt}}}|upright=0.6|{{{flag_alt}}}]] | |
Website | |
{{{website}}} | |
{{{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.