Template:Infobox Political Party/doc
This is a documentation subpage for Template:Infobox Political Party. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many 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 adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses Lua: |
Usage
Basic
{{{name}}} | |
---|---|
[[File:{{{logo}}}|frameless|alt={{{logo_alt}}}|upright=0.8|{{{logo_alt}}}]] | |
Leader | {{{leader}}} |
President | {{{president}}} |
Chairperson | {{{chairperson}}} |
Secretary | {{{secretary}}} |
General Secretary | {{{general_secretary}}} |
First Secretary | {{{first_secretary}}} |
Secretary-General | {{{secretary_general}}} |
Presidium | {{{presidium}}} |
Governing body | {{{governing_body}}} |
Standing Committee | {{{standing_committee}}} |
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 =
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| 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}}}]] | |
{{{lang1}}} name | {{{name_lang1}}} |
{{{lang2}}} name | {{{name_lang2}}} |
{{{lang4}}} name | {{{name_lang4}}} |
Abbreviation | {{{abbreviation}}} or {{{abbr}}} |
Leader | {{{leader}}} |
President | {{{president}}} |
Chairperson | {{{chairperson}}} or {{{chairman}}} |
Secretary | {{{secretary}}} |
General Secretary | {{{general_secretary}}} |
First Secretary | {{{first_secretary}}} |
Secretary-General | {{{secretary_general}}} |
Presidium | {{{presidium}}} |
Governing body | {{{governing_body}}} |
Standing Committee | {{{standing_committee}}} |
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 affiliation | {{{european}}} |
Continental affiliation | {{{continental}}} |
International affiliation | {{{international}}} |
European Parliament group | {{{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.8|{{{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 = -->
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| 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 = ; use based on [[WP:ENGVAR]]-->
| 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
The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.
TemplateData
TemplateData for Infobox Political Party
<templatedata> { "description": "An infobox for a political party. Used to briefly summarize information about a party at the top of the article. ", "format": "Template:\n\n", "params": { "name": { "label": "Name", "description": "The name of the party", "type": "string" }, "logo": { "label": "Logo", "description": "The logo of the party", "type": "string" }, "logo_size": { "label": "Logo size", "description": "Size of logo image", "type": "string" }, "colorcode": { "label": "Color code", "description": "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.", "type": "string" }, "leader": { "label": "Leader", "description": "The leader of the party", "type": "string" }, "president": { "label": "President", "description": "The president of the party", "type": "string" }, "chairperson": { "label": "Chairperson", "description": "The chairperson of the party", "type": "string", "aliases": [ "chairman" ] }, "secretary": { "label": "Secretary", "description": "The secretary of the party", "type": "string" }, "general_secretary": { "label": "General secretary", "description": "The general secretary of the party", "type": "string" }, "first_secretary": { "label": "First secretary", "description": "The first secretary of the party", "type": "string" }, "secretary_general": { "label": "Secretary-general", "description": "The secretary-general of the party", "type": "string" }, "presidium": { "label": "Presidium", "description": "The presidium of the party", "type": "string" }, "spokesperson": { "label": "Spokesperson", "description": "The spokesperson of the party", "type": "string", "aliases": [ "spokesman" ] }, "foundation": { "label": "Foundation", "description": "The foundation date of the party. Insert as Expression error: Unrecognised word "dd"., YYYY .", "type": "string", "aliases": [ "founded" ] }, "ideology": { "label": "Ideology", "description": "The ideology of the party", "type": "string" }, "headquarters": { "label": "Headquarters", "description": "The headquarters of the party", "type": "string" }, "international": { "label": "International", "description": "The party’s international affiliation(s)", "type": "string" }, "website": { "label": "Website", "description": "The website of the party", "type": "string" }, "registered": { "label": "Registered", "description": "The registration number of party; if unregistered, then write NO.", "type": "string" }, "country": { "label": "Country", "description": "The country of the party", "type": "string", "aliases": [ "state" ] }, "abbreviation": { "aliases": [ "abbr" ] }, "founder": { "aliases": [ "founders" ] }, "legalised": { "aliases": [ "legalized" ] }, "dissolved": { "aliases": [ "banned", "dissolution" ] }, "colors": { "description": "The official colors of the party, independent of infobox usage", "aliases": [ "colours" ] }, "native_name": { "label": "Native name", "description": "The native name of the party", "type": "string" }, "native_name_lang": { "label": "Native name language code", "description": "The ISO-639 language code of the native name of the party", "example": "fr", "type": "string" }, "governing_body": {}, "standing_committee": {}, "merger": {}, "split": { "label": "Split from", "description": "Party or organisation the party was split from", "type": "string" }, "predecessor": {}, "merged": {}, "successor": {}, "newspaper": {}, "think_tank": { "aliases": [ "think tank" ] }, "student_wing": {}, "youth_wing": {}, "womens_wing": {}, "membership": {}, "membership_year": {}, "position": {}, "religion": {}, "national": {}, "regional": { "aliases": [ "regional affiliation" ] }, "european": {}, "continental": { "aliases": [ "continental affiliation" ] }, "europarl": {}, "slogan": {}, "anthem": {}, "symbol": {}, "flag": { "aliases": [ "flag_title" ] }, "flag_alt": {}, "country2": {}, "footnotes": {}, "logo_upright": {}, "logo_alt": {} }, "paramOrder": [ "name", "native_name", "logo", "logo_size", "colorcode", "leader", "president", "chairperson", "secretary", "general_secretary", "first_secretary", "secretary_general", "presidium", "spokesperson", "foundation", "ideology", "headquarters", "international", "website", "registered", "country", "abbreviation", "founder", "legalised", "dissolved", "colors", "native_name_lang", "governing_body", "standing_committee", "merger", "split", "predecessor", "merged", "successor", "newspaper", "think_tank", "student_wing", "youth_wing", "womens_wing", "membership", "membership_year", "position", "religion", "national", "regional", "european", "continental", "europarl", "slogan", "anthem", "symbol", "flag", "flag_alt", "country2", "footnotes", "logo_upright", "logo_alt" ] } </templatedata>
Tracking categories
See also
- {{Composition bar}}, used to display a statistic, such as the number of seats held by a political party.