Difference between revisions of "Template:Infobox political party/doc"
imported>Funandtrvl (remove obsolete parameters from basic example, add current ones) |
imported>Funandtrvl (update TD) |
||
| Line 220: | Line 220: | ||
"label": "Leader", | "label": "Leader", | ||
"description": "The leader of the party.", | "description": "The leader of the party.", | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| Line 239: | Line 233: | ||
"description": "The chairperson of the party.", | "description": "The chairperson of the party.", | ||
"type": "string", | "type": "string", | ||
| − | "required": false | + | "required": false, |
| − | + | "aliases": [ | |
| − | + | "chairman" | |
| − | + | ] | |
| − | " | ||
| − | |||
| − | |||
}, | }, | ||
"general_secretary": { | "general_secretary": { | ||
| Line 281: | Line 272: | ||
"description": "The spokesperson of the party.", | "description": "The spokesperson of the party.", | ||
"type": "string", | "type": "string", | ||
| − | "required": false | + | "required": false, |
| + | "aliases": [ | ||
| + | "spokesman" | ||
| + | ] | ||
}, | }, | ||
"foundation": { | "foundation": { | ||
| Line 287: | Line 281: | ||
"description": "The foundation date of the party. Insert as {{Start date|YYYY|MM|DD}}.", | "description": "The foundation date of the party. Insert as {{Start date|YYYY|MM|DD}}.", | ||
"type": "string", | "type": "string", | ||
| − | "required": false | + | "required": false, |
| + | "aliases": [ | ||
| + | "founded" | ||
| + | ] | ||
}, | }, | ||
"ideology": { | "ideology": { | ||
| Line 318: | Line 315: | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| − | }, | + | }, |
"country": { | "country": { | ||
"label": "Country", | "label": "Country", | ||
"description": "The country of the party.", | "description": "The country of the party.", | ||
"type": "string", | "type": "string", | ||
| − | "required": false | + | "required": false, |
| − | } | + | "aliases": [ |
| + | "state" | ||
| + | ] | ||
| + | }, | ||
| + | "abbreviation": { | ||
| + | "aliases": [ | ||
| + | "abbr" | ||
| + | ] | ||
| + | }, | ||
| + | "founder": { | ||
| + | "aliases": [ | ||
| + | "founders" | ||
| + | ] | ||
| + | }, | ||
| + | "legalised": { | ||
| + | "aliases": [ | ||
| + | "legalized" | ||
| + | ] | ||
| + | }, | ||
| + | "dissolved": { | ||
| + | "aliases": [ | ||
| + | "banned", | ||
| + | "dissolution" | ||
| + | ] | ||
| + | }, | ||
| + | "colors": { | ||
| + | "aliases": [ | ||
| + | "colours" | ||
| + | ] | ||
| + | }, | ||
| + | "native_name": {}, | ||
| + | "native_name_lang": {}, | ||
| + | "standing_committee": {}, | ||
| + | "merger": {}, | ||
| + | "split": {}, | ||
| + | "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": {} | ||
}, | }, | ||
| − | "format": "block" | + | "format": "block", |
| + | "paramOrder": [ | ||
| + | "name", | ||
| + | "native_name", | ||
| + | "logo", | ||
| + | "logo_size", | ||
| + | "colorcode", | ||
| + | "leader", | ||
| + | "president", | ||
| + | "chairperson", | ||
| + | "general_secretary", | ||
| + | "first_secretary", | ||
| + | "secretary_general", | ||
| + | "presidium", | ||
| + | "secretary", | ||
| + | "spokesperson", | ||
| + | "foundation", | ||
| + | "ideology", | ||
| + | "headquarters", | ||
| + | "international", | ||
| + | "website", | ||
| + | "registered", | ||
| + | "country", | ||
| + | "abbreviation", | ||
| + | "founder", | ||
| + | "legalised", | ||
| + | "dissolved", | ||
| + | "colors", | ||
| + | "native_name_lang", | ||
| + | "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> | </templatedata> | ||
Latest revision as of 02:14, 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 =
| 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
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 |
| 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 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 |
| 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 havent registered 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 | no description | 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.
Template:Organization infoboxes