Template:Infobox political party/doc

From Omniversalis

Usage[edit]

Basic usage[edit]

{{{name}}}
Leader {{{leader}}}
Chairperson {{{chairman}}}
President {{{president}}}
Secretary-General {{{secretary_general}}}
Spokesperson {{{spokesperson}}}
Founded {{{foundation}}}}
Headquarters {{{headquarters}}}
Ideology {{{ideology}}}
International affiliation {{{international}}}
Website
{{{website}}}
{{Infobox political party
| name               = 
| logo               = 
| colorcode          = <!-- HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring -->
| leader             = 
| president          = 
| chairman           = 
| general_secretary  = 
| first_secretary    = 
| secretary_general  = 
| presidium          = 
| secretary          = 
| spokesperson       = 
| foundation         = <!-- {{Start date|YYYY|MM|DD}} -->
| ideology           = 
| headquarters       = 
| international      = 
| website            = 
| country            = 
}}


Complete usage[edit]

{{{name}}}
{{{native_name}}}
{{{lang1}}} name {{{name_lang1}}}
{{{lang2}}} name {{{name_lang2}}}
{{{lang3}}} name {{{name_lang3}}}
{{{lang4}}} name {{{name_lang4}}}
Leader {{{leader}}}
Chairperson {{{chairperson}}} or {{{chairman}}}
President {{{president}}}
Secretary-General {{{secretary_general}}}
Spokesperson {{{spokesperson}}}
Founder {{{founder}}}
{{{leader1_title}}} {{{leader1_name}}}
{{{leader2_title}}} {{{leader2_name}}}
{{{leader3_title}}} {{{leader3_name}}}
{{{leader4_title}}} {{{leader4_name}}}
{{{leader5_title}}} {{{leader5_name}}}
Slogan {{{slogan}}}
Founded {{{founded}}}
Dissolved {{{dissolved}}}
Merger of {{{merger}}}
Split from {{{split}}}
Preceded by {{{predecessor}}}
Merged into {{{merged}}}
Succeeded by {{{successor}}}
Headquarters {{{headquarters}}}
Newspaper {{{newspaper}}}
Student wing {{{student_wing}}}
Youth wing {{{youth_wing}}}
{{{wing1_title}}} {{{wing1}}}
{{{wing2_title}}} {{{wing2}}}
{{{wing3_title}}} {{{wing3}}}
Membership  ({{{membership_year}}}) {{{membership}}}
Ideology {{{ideology}}}
Religion {{{religion}}}
National affiliation {{{national}}}
International affiliation {{{international}}}
European affiliation {{{european}}}
European Parliament Group {{{europarl}}}
{{{affiliation1_title}}} {{{affiliation1}}}
Official colors {{{colors}}}
{{{blank1_title}}} {{{blank1}}}
{{{blank2_title}}} {{{blank2}}}
{{{blank3_title}}} {{{blank3}}}
{{{seats1_title}}} {{{seats1}}}
{{{seats2_title}}} {{{seats2}}}
{{{seats3_title}}} {{{seats3}}}
{{{seats4_title}}} {{{seats4}}}
Election symbol
{{{symbol}}}
Website
{{{website}}}
Party flag
{{{flag}}}


{{{footnotes}}}
{{Infobox political party
| name               = 
| native_name        = 
| lang1              = 
| name_lang1         = 
| lang2              = 
| name_lang2         = 
| lang3              = 
| name_lang3         = 
| lang4              = 
| name_lang4         = 
| logo               = 
| colorcode          = <!-- HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring -->
| leader             = 
| chairman           = <!-- or chairperson, but not both -->
| chairperson        = <!-- or chairman, but not both -->
| president          = 
| secretary_general  = 
| spokesperson       = 
| founder            = 
| leader1_title      = 
| leader1_name       = 
| leader2_title      = 
| leader2_name       = 
| leader3_title      = 
| leader3_name       = 
| leader4_title      = 
| leader4_name       = 
| leader5_title      = 
| leader5_name       = 
| slogan             = 
| founded            = <!-- {{Start date|YYYY|MM|DD}} -->
| dissolved          = <!-- {{End date|YYYY|MM|DD}} -->
| merger             = 
| split              = 
| predecessor        = 
| merged             = 
| successor          = 
| headquarters       =  
| newspaper          = 
| paramilitary_wing  = 
| student_wing       = 
| youth_wing         = 
| wing1_title        = 
| wing1              = 
| wing2_title        = 
| wing2              = 
| wing3_title        = 
| wing3              = 
| membership_year    = 
| membership         = 
| ideology           = 
| religion           = 
| national           = 
| international      = 
| european           = 
| europarl           = 
| affiliation1_title = 
| affiliation1       = 
| colors             = <!-- use "colours" for British English -->
| blank1_title       = 
| blank1             = 
| blank2_title       = 
| blank2             = 
| blank3_title       = 
| blank3             = 
| seats1_title       = 
| seats1             = <!-- {{Infobox political party/seats|seats_won|total_seats|hex=#ff0000}} -->
| seats2_title       = 
| seats2             = 
| seats3_title       = 
| seats3             = 
| seats4_title       = 
| seats4             = 
| symbol             = 
| flag               = 
| website            = 
| state              = <!-- or country -->
| country            = <!-- or state -->
| country_dab1       = 
| parties_dab1       = 
| elections_dab1     = 
| country2           = 
| country_dab2       = 
| parties_dab2       = 
| elections_dab2     = 
| footnotes          =
}}


Microformat[edit]

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

Please do not remove instances of these subtemplates.

Classes used

The HTML classes this microformat uses include:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.

Template Data[edit]

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

TemplateData for Infobox political party

<templatedata>{

 "description": "An infobox for political party.",
 "params": {
 "name": {
     "label": "Name",
     "description": "The name of the party.",
     "type": "string",
     "default": "",
     "required": false
   },
 "logo": {
     "label": "Logo",
     "description": "The logo of the party.",
     "type": "string",
     "default": "",
     "required": false
   },
 "colorcode": {
     "label": "Color code",
     "description": "The color code of the party. HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring.",
     "type": "string",
     "default": "",
     "required": false
   },
 "leader": {
     "label": "Leader",
     "description": "The leader of the party.",
     "type": "string",
     "default": "",
     "required": false
   },
 "president": {
     "label": "President",
     "description": "The president of the party.",
     "type": "string",
     "default": "",
     "required": false
   },
 "chairman":{
   "label": "Chairman",
   "description":
   "The chairman of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "general_secretary":{
   "label": "General secretary",
   "description":
   "The general secretary of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "first_secretary":{
   "label": "First secretary",
   "description":
   "The first secretary of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "secretary_general":{
   "label": "Secretary-general",
   "description":
   "The secretary-general of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "presidium":{
   "label": "Presidium",
   "description":
   "The presidium of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "secretary":{
   "label": "Secretary",
   "description":
   "The secretary of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "spokesperson":{
   "label": "Spokesperson",
   "description":
   "The spokesperson of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "foundation":{
   "label": "Foundation",
   "description":
   "The foundation date of the party. Insert as  Expression error: Unrecognized word "dd"., YYYY (YYYY-MM-DD).",
   "type": "string",
   "default": "",
   "required": false
 },
 "ideology":{
   "label": "Ideology",
   "description":
   "The ideology of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "headquarters":{
   "label": "Headquarters",
   "description":
   "The headquarters of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "international":{
   "label": "International",
   "description":
   "The international of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "website":{
   "label": "Website",
   "description":
   "The website of the party.",
   "type": "string",
   "default": "",
   "required": false
 },
 "country":{
   "label": "Country",
   "description":
   "The country of the party.",
   "type": "string",
   "default": "",
   "required": false
 }
} 

}</templatedata>

See also[edit]

  • {{Composition bar}} – used for displaying the number of seats held by a political party, or other single statistics.