Template:Infobox political party/doc: Difference between revisions
Ozycaevias (talk | contribs) m (1 revision imported) |
Tag: Undo |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 12: | Line 12: | ||
|colorcode=red | |colorcode=red | ||
|leader | |leader | ||
|deputy_leader | |||
|president | |president | ||
|chairman | |chairman | ||
Line 53: | Line 54: | ||
|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 |caption |colorcode=red |abbreviation | ||
|leader |president |chairperson={{{chairperson}}} or {{{chairman}}} |general_secretary |first_secretary |secretary_general |presidium |secretary |spokesperson |founder | |leader |deputy_leader |president |chairperson={{{chairperson}}} or {{{chairman}}} |general_secretary |first_secretary |secretary_general |presidium |secretary |spokesperson |founder | ||
|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 | ||
|founded |legalised |dissolved | banned = {{{banned}}}|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 | |founded |legalised |dissolved | banned = {{{banned}}}|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 | ||
Line 80: | Line 81: | ||
| abbreviation = <!-- official abbreviation --> | | abbreviation = <!-- official abbreviation --> | ||
| leader = | | leader = | ||
| deputy_leader = | |||
| president = | | president = | ||
| chairperson = <!-- or: | chairman = --> | | chairperson = <!-- or: | chairman = --> | ||
| vice-chairperson = | |||
| general_secretary = | | general_secretary = | ||
| first_secretary = | | first_secretary = |
Latest revision as of 11:42, 28 December 2021
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 uses Lua: |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template is used on approximately 12,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). |
Usage
Basic
{{{name}}} | |
---|---|
[[File:{{{logo}}}|frameless|upright=0.8]] | |
Leader | {{{leader}}} |
Deputy Leader | {{{deputy_leader}}} |
President | {{{president}}} |
Chairman | {{{chairman}}} |
First Secretary | {{{first_secretary}}} |
Secretary-General | {{{secretary_general}}} |
Presidium | {{{presidium}}} |
Secretary | {{{secretary}}} |
Spokesperson | {{{spokesperson}}} |
Founded | {{{foundation}}} |
International affiliation | {{{international}}} |
Website | |
{{{website}}} |
{{Infobox political party | name = | logo = | colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" --> | leader = | deputy_leader = | president = | chairman = | general_secretary = | first_secretary = | secretary_general = | presidium = | secretary = | spokesperson = | foundation = <!-- {{start date|YYYY|MM|DD}} --> | ideology = | headquarters = | international = | website = | country = }}
Full
{{{name}}} {{{native_name}}} | |
---|---|
[[File:{{{logo}}}|{{{logo_size}}}|upright=0.8]] | |
{{{lang1}}} name | {{{name_lang1}}} |
{{{lang2}}} name | {{{name_lang2}}} |
{{{lang3}}} name | {{{name_lang3}}} |
{{{lang4}}} name | {{{name_lang4}}} |
Abbreviation | {{{abbreviation}}} |
Leader | {{{leader}}} |
Deputy Leader | {{{deputy_leader}}} |
President | {{{president}}} |
Chairperson | {{{chairperson}}} or {{{chairman}}} |
General Secretary | {{{general_secretary}}} |
First Secretary | {{{first_secretary}}} |
Secretary-General | {{{secretary_general}}} |
Presidium | {{{presidium}}} |
Secretary | {{{secretary}}} |
Spokesperson | {{{spokesperson}}} |
{{{leader1_title}}} | {{{leader1_name}}} |
{{{leader2_title}}} | {{{leader2_name}}} |
{{{leader3_title}}} | {{{leader3_name}}} |
{{{leader4_title}}} | {{{leader4_name}}} |
{{{leader5_title}}} | {{{leader5_name}}} |
Founder | {{{founder}}} |
Founded | {{{founded}}} |
Legalised | {{{legalised}}} |
Banned | {{{banned}}} |
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}}} |
Colors | {{{colors}}} |
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}}} | |
Party flag | |
[[File:{{{flag}}}|frameless|upright=0.6]] | |
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 = | caption = | colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" --> | abbreviation = <!-- official abbreviation --> | leader = | deputy_leader = | president = | chairperson = <!-- or: | chairman = --> | vice-chairperson = | general_secretary = | first_secretary = | secretary_general = | presidium = | secretary = | spokesperson = | founder = | leader1_title = | leader1_name = | leader2_title = | leader2_name = | leader3_title = | leader3_name = | leader4_title = | leader4_name = | leader5_title = | leader5_name = | founded = <!-- {{start date|YYYY|MM|DD}} --> | legalised = <!-- or |legalized= --> | dissolved = <!-- {{end date|YYYY|MM|DD}} --> | banned = | 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 = | european = | continental = | international = | europarl = | affiliation1_title = | affiliation1 = | 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 = | seats4 = <!-- up to |seats15= --> | symbol = | flag = | 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
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 |
Chairman | chairman | The chairman 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 |
Country | country | The country of the party. | String | optional |
See also
- {{Composition bar}}, used to display a statistic such as the number of seats held by a political party.
Tracking categories