Difference between revisions of "Template:Infobox political party/doc"
imported>Trialpears m (Removing unnecessary Template:Intricate template per Template talk:Intricate template#Change to editnotice? (via WP:JWB)) |
imported>Funandtrvl (sync w/template, add missing parameters, remove obsolete parameters) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | ||
| + | {{high-use}} | ||
{{lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | {{lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| − | |||
==Usage== | ==Usage== | ||
===Basic=== | ===Basic=== | ||
| − | {{ | + | {{Parameter names example |
|name | |name | ||
|logo | |logo | ||
| Line 50: | Line 50: | ||
===Full=== | ===Full=== | ||
| − | {{ | + | {{Parameter names example |
|name |native_name | |name |native_name | ||
| − | |native_name_lang |lang1 |name_lang1 |lang2 |name_lang2 |lang3 |name_lang3 |lang4 |name_lang4 |logo |logo_size |caption |colorcode=red |abbreviation | + | |native_name_lang |lang1 |name_lang1 |lang2 |name_lang2 |lang3 |name_lang3 |lang4 |name_lang4 |logo |logo_size |logo_upright |logo_alt |caption |colorcode=red |abbreviation={{{abbreviation}}} or {{{abbr}}} |leader |president |chairperson={{{chairperson}}} or {{{chairman}}} |general_secretary |first_secretary |secretary_general |presidium |standing_committee |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 | |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 |legalised={{{legalised}}} or {{{legalized}}} |dissolved={{{dissolved}}} or {{{banned}}} or {{{dissolution}}} |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=[''year''] |membership |ideology |position |religion |national |regional |european |continental |international |europarl |affiliation1_title |affiliation1 |colors |slogan |anthem | + | |membership_year=[''year''] |membership |ideology |position |religion |national |regional |european |continental |international |europarl |affiliation1_title |affiliation1 |affiliation2_title |affiliation2 |colors={{{colors}}} or {{{colours}}} |slogan |anthem |
|blank1_title |blank1 |blank2_title |blank2 |blank3_title |blank3 |blank4_title |blank4 | |blank1_title |blank1 |blank2_title |blank2 |blank3_title |blank3 |blank4_title |blank4 | ||
|seats1_title |seats1 |seats2_title |seats2 |seats3_title |seats3 |seats4_title |seats4 | |seats1_title |seats1 |seats2_title |seats2 |seats3_title |seats3 |seats4_title |seats4 | ||
| − | |symbol |flag | + | |symbol |flag |flag_title |flag_alt |website |country |country2 |footnotes |
}} | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
| Line 76: | Line 75: | ||
| logo = | | logo = | ||
| logo_size = | | logo_size = | ||
| + | | logo_upright = | ||
| + | | logo_alt = | ||
| caption = | | caption = | ||
| − | | colorcode = | + | | colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" --> |
| − | | abbreviation = | + | | abbreviation = <!-- official 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 = | ||
| secretary = | | secretary = | ||
| − | | spokesperson = | + | | spokesperson = <!-- or | spokesman = --> |
| − | | | ||
| leader1_title = | | leader1_title = | ||
| leader1_name = | | leader1_name = | ||
| Line 100: | Line 100: | ||
| leader5_title = | | leader5_title = | ||
| leader5_name = | | leader5_name = | ||
| − | | founded = | + | | founder = <!-- or | founders = --> |
| + | | founded = <!-- or | foundation = use {{start date|YYYY|MM|DD}} --> | ||
| registered = | | registered = | ||
| − | | legalised = | + | | legalised = <!-- or | legalized = --> |
| − | | dissolved = | + | | dissolved = <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} --> |
| − | |||
| merger = | | merger = | ||
| split = | | split = | ||
| Line 130: | Line 130: | ||
| religion = | | religion = | ||
| national = | | national = | ||
| − | | regional = | + | | regional = <!-- or | regional affiliation = --> |
| european = | | european = | ||
| − | | continental = | + | | continental = <!-- or | continental affiliation = --> |
| international = | | international = | ||
| europarl = | | europarl = | ||
| affiliation1_title = | | affiliation1_title = | ||
| affiliation1 = | | affiliation1 = | ||
| − | | colors = | + | | affiliation2_title = |
| + | | affiliation2 = | ||
| + | | colors = <!-- or | colours = --> | ||
| slogan = | | slogan = | ||
| anthem = | | anthem = | ||
| Line 149: | Line 151: | ||
| blank4 = | | blank4 = | ||
| seats1_title = | | seats1_title = | ||
| − | | seats1 = | + | | seats1 = <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} --> |
| seats2_title = | | seats2_title = | ||
| seats2 = | | seats2 = | ||
| seats3_title = | | seats3_title = | ||
| seats3 = | | seats3 = | ||
| − | | seats4_title = | + | | seats4_title = <!-- up to | seats11_title = --> |
| − | | seats4 = | + | | seats4 = <!-- up to | seats11 = --> |
| symbol = | | symbol = | ||
| flag = | | flag = | ||
| + | | flag_title = | ||
| + | | flag_alt = | ||
| website = | | website = | ||
| − | | state = | + | | state = <!-- or | country = --> |
| − | | country = | + | | country = <!-- or | state = --> |
| country_dab1 = | | country_dab1 = | ||
| parties_dab1 = | | parties_dab1 = | ||
| Line 318: | Line 322: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| − | |||
| − | |||
| − | |||
== Tracking categories == | == Tracking categories == | ||
* {{clc|Pages using infobox political party with unknown parameters}} | * {{clc|Pages using infobox political party with unknown parameters}} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|Composition bar}}, used to display a statistic, such as the number of seats held by a political party. | ||
{{Organization infoboxes}} | {{Organization infoboxes}} | ||
| − | <includeonly>{{ | + | <includeonly>{{sandbox other|| |
| − | <!--Categories below this line | + | <!-- Categories below this line; interwikis at Wikidata --> |
[[Category:Organization infobox templates|Political Party]] | [[Category:Organization infobox templates|Political Party]] | ||
[[Category:Political party infobox templates| ]] | [[Category:Political party infobox templates| ]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 01:47, 30 September 2020
| This is a documentation subpage for Template:Infobox political party. It contains usage information, categories and other content that is not part of the original template page. |
| 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.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
Usage
Basic
Template:Parameter names example
{{Infobox political party
| name =
| logo =
| colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| leader =
| deputy_leader =
| president =
| chairperson =
| vice_chairperson =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| secretary =
| spokesperson =
| foundation = <!-- {{start date|YYYY|MM|DD}} -->
| ideology =
| headquarters =
| international =
| website =
| country =
}}
Full
Template:Parameter names example
{{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 |
| Logo | logo | The logo of the party. | String | optional |
| Logo Size | logo_size | Size of logo image | String | optional |
| Color code | colorcode | The color code of the party. 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 |
| Deputy Leader | deputy_leader | The deputy leader of the party. | String | optional |
| President | president | The president of the party. | String | optional |
| Chairperson | chairperson | The chairperson of the party. | String | optional |
| Vice Chairperson | vice_chairperson | The vice 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 | The spokesperson of the party. | String | optional |
| Foundation | foundation | 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 havent registered then write NO. | String | optional |
| Country | country | The country of the party. | String | optional |
Tracking categories
See also
- {{Composition bar}}, used to display a statistic, such as the number of seats held by a political party.
Template:Organization infoboxes