Difference between revisions of "Template:Infobox political party/doc"

From blackwiki
Jump to navigation Jump to search
imported>Trialpears
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}}
{{high-use|6300}}
 
  
 
==Usage==
 
==Usage==
 
===Basic===
 
===Basic===
{{Generic template demo
+
{{Parameter names example
 
|name
 
|name
 
|logo
 
|logo
Line 50: Line 50:
  
 
===Full===
 
===Full===
{{Generic template demo
+
{{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}}}
|leader |president |chairperson={{{chairperson}}} or {{{chair}}} or {{{chairman}}} |vice_chairperson={{{vice_chairperson}}} or {{{vice_chair}}} or {{{vice_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 |registered |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
+
|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 |website |country |country2 |footnotes  
+
  |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 =       <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
+
| colorcode =         <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation =   <!-- official abbreviation -->
+
| abbreviation =     <!-- official abbreviation or | abbr = -->
 
| leader =  
 
| leader =  
 
| president =  
 
| president =  
| chairperson =     <!-- or: | chair = --> <!-- or: | chairman = -->
+
| chairperson =       <!-- or | chairman = -->
| vice_chairperson =    <!-- or: | vice_chair = --> <!-- or: | vice_chairman = -->
 
 
| general_secretary =
 
| general_secretary =
 
| first_secretary =
 
| first_secretary =
 
| secretary_general =  
 
| secretary_general =  
 
| presidium =
 
| presidium =
 +
| standing_committee =
 
| secretary =
 
| secretary =
| spokesperson =  
+
| spokesperson =     <!-- or | spokesman = -->
| founder =  
 
 
| leader1_title =  
 
| leader1_title =  
 
| leader1_name =  
 
| leader1_name =  
Line 100: Line 100:
 
| leader5_title =  
 
| leader5_title =  
 
| leader5_name =  
 
| leader5_name =  
| founded =         <!-- {{start date|YYYY|MM|DD}} -->
+
| founder =          <!-- or | founders = -->
 +
| founded =           <!-- or | foundation = use {{start date|YYYY|MM|DD}} -->
 
| registered =  
 
| registered =  
| legalised =       <!-- or |legalized= -->
+
| legalised =         <!-- or | legalized = -->
| dissolved =       <!-- {{end date|YYYY|MM|DD}} -->
+
| dissolved =         <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} -->
| banned =
 
 
| 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 =         <!-- or: | colours = -->
+
| affiliation2_title =
 +
| affiliation2 =
 +
| colors =           <!-- or | colours = -->
 
| slogan =  
 
| slogan =  
 
| anthem =  
 
| anthem =  
Line 149: Line 151:
 
| blank4 =  
 
| blank4 =  
 
| seats1_title =  
 
| seats1_title =  
| seats1 =         <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} -->
+
| 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 =         <!-- up to |seats15= -->
+
| seats4 =           <!-- up to | seats11 = -->
 
| symbol =  
 
| symbol =  
 
| flag =  
 
| flag =  
 +
| flag_title =
 +
| flag_alt =
 
| website =  
 
| website =  
| state =           <!-- or country -->
+
| state =             <!-- or | country = -->
| country =         <!-- or state -->
+
| country =           <!-- or | state = -->
 
| country_dab1 =  
 
| country_dab1 =  
 
| parties_dab1 =  
 
| parties_dab1 =  
Line 318: Line 322:
 
}
 
}
 
</templatedata>
 
</templatedata>
 
== See also ==
 
* {{tl|Composition bar}}, used to display a statistic such as the number of seats held by a political party.
 
  
 
== 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>{{basepage subpage|
+
<includeonly>{{sandbox other||
<!--Categories below this line, please; interwikis at Wikidata-->
+
<!-- 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

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

Template:UF-hcard-org

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox political party

An infobox for political party.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the party.

Stringoptional
Logologo

The logo of the party.

Stringoptional
Logo Sizelogo_size

Size of logo image

Stringoptional
Color codecolorcode

The color code of the party. HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring.

Stringoptional
Leaderleader

The leader of the party.

Stringoptional
Deputy Leaderdeputy_leader

The deputy leader of the party.

Stringoptional
Presidentpresident

The president of the party.

Stringoptional
Chairpersonchairperson

The chairperson of the party.

Stringoptional
Vice Chairpersonvice_chairperson

The vice chairperson of the party.

Stringoptional
General secretarygeneral_secretary

The general secretary of the party.

Stringoptional
First secretaryfirst_secretary

The first secretary of the party.

Stringoptional
Secretary-generalsecretary_general

The secretary-general of the party.

Stringoptional
Presidiumpresidium

The presidium of the party.

Stringoptional
Secretarysecretary

The secretary of the party.

Stringoptional
Spokespersonspokesperson

The spokesperson of the party.

Stringoptional
Foundationfoundation

The foundation date of the party. Insert as {{Start date|YYYY|MM|DD}}.

Stringoptional
Ideologyideology

The ideology of the party.

Stringoptional
Headquartersheadquarters

The headquarters of the party.

Stringoptional
Internationalinternational

The international of the party.

Stringoptional
Websitewebsite

The website of the party.

Stringoptional
Registeredregistered

The Registration Number of party,If havent registered then write NO.

Stringoptional
Countrycountry

The country of the party.

Stringoptional

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