Template:Infobox political party/doc: Difference between revisions

wiki>DiaoBaoHuaJian
Apply block format for major infobox
 
Remove unsupported imported template links from documentation
 
(6 intermediate revisions by 2 users not shown)
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 Wikidata)-->
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{Auto short description}}<includeonly>{{Short description|Infobox for political parties}}</includeonly>
{{Auto short description}}<includeonly>{{Short description|Infobox for political parties}}</includeonly>
Line 153: Line 153:
| affiliation2_title =
| affiliation2_title =
| affiliation2 =
| affiliation2 =
| colors =            <!-- or | colours = ; use based on [[WP:ENGVAR]]-->
| colors =            <!-- or | colours = -->
| slogan =  
| slogan =  
| anthem =  
| anthem =  
Line 194: Line 194:
{{UF-hcard-org}}
{{UF-hcard-org}}


== TemplateData ==
 
{{TemplateData header}}
<templatedata>
{
"description": "An infobox for a political party. Used to briefly summarize information about a party at the top of the article. ",
"format": "block",
"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 {{Start date|YYYY|MM|DD}}.",
"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": {
"aliases": [
"European affiliation"
],
"label": "European affiliation",
"description": "European political party or alliance the party is a member of",
"type": "string"
},
"continental": {
"aliases": [
"continental affiliation"
]
},
"europarl": {
"label": "Political group affiliation in the European Parliament",
"description": "Political group of the European Parliament the party is a member of"
},
"slogan": {},
"anthem": {},
"symbol": {},
"flag": {
"aliases": [
"flag_title"
]
},
"flag_alt": {},
"country2": {},
"footnotes": {},
"logo_upright": {},
"logo_alt": {},
"Advisor": {
"label": "Advisor",
"description": "The advisor of the party",
"type": "string"
}
},
"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",
"Advisor"
]
}
</templatedata>


== Tracking categories ==
== Tracking categories ==
Line 484: Line 200:


== See also ==
== See also ==
* {{tl|Composition bar}}, used to display a statistic, such as the number of seats held by a political party.
* <code>Template:Composition bar</code>, used to display a statistic, such as the number of seats held by a political party.
 
{{Organization infoboxes}}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Organization infobox templates|Political Party]]
 
[[Category:Political party infobox templates| ]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
}}</includeonly>