Template:Infobox Tunisian political party/doc

From IxWiki
Revision as of 05:35, 27 July 2020 by >John of Reading (Typo/general fixes, replaced: an European → a European)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template produces an infobox for use on Tunisian political parties articles.

Full syntax

{{Infobox Tunisian political party
| name               = 
| arabic_name        = 
| french_name        = <!-- optional -->
| logo               = 
| colorcode          = <!-- it is better to create "Template:{{PAGENAME}}/meta/color" and to delete this parameter -->
| abbreviation       = 
| leader             = 
| chairperson        = 
| president          = 
| first_secretary    = 
| secretary_general  = 
| spokesperson       = 
| founder            = 
| former_leaders_title = <!-- for defunct parties. "leader(s)" by default -->
| former_leaders     = <!-- for defunct parties -->
| slogan             = 
| founded            = <!-- {{Start date|YYYY|MM|DD}} -->
| legalized          = <!-- only for parties whose legalization date is a separately significant date -->
| dissolved          = <!-- {{End date|YYYY|MM|DD}} -->
| predecessor        = 
| merger             = 
| split              = 
| successor          = 
| merged             = 
| headquarters       = 
| newspaper          = 
| student_wing       = 
| youth_wing         = 
| membership_year    = 
| membership         = 
| ideology           = 
| position           = 
| national           = 
| international      = 
| european           = 
| african            = 
| parties            = 
| colors             = 
| seats              = <!-- number only -->
| light_text         = <!-- yes/no. "no" by default -->
| symbol             = 
| website            = <!-- {{URL|example.com}} -->
| footnotes          = 
}}

Parameters

  • name: English name of the party.
  • arabic_name: Arabic name of the party. No need for {{lang}}.
  • french_name: French name of the party. No need for {{lang}}.
  • logo: The filename, with a width parameter of no more than 230px, for example [[File:Example.jpg|150px]].
  • leader & other leadership positions: Current leader (or other leadership position holder) of the party, wikilinked if notable. For a defunct party, only include if they only had one.
  • former_leaders_title: For defunct parties only, title held by the former leaders. leader(s) by default.
  • former_leaders: For defunct parties only, name of the former leader(s).
  • founded: Date for the foundation of the party. Use {{Start date}}.
  • legalized: Date for the legalization of the party if significantly later than the foundation date. Except for some potential exceptions, this parameter should be relevant to pre-revolution parties only.
  • dissolution: Date for the dissolution of the party, if a defunct or inactive party. Use {{End date}}.
  • headquarters: The headquarters for the party, remember that Wikipedia is not a directory, and the party's headquarters is not in a post box.
  • ideology: The ideology of the party listed on List of political ideologies.
  • position: The position of the party on the left–right political spectrum.
  • national: A coalition or alliance the party is affiliated with.
  • international: An international party the party is affiliated with.
  • colors: The color(s) that are used to identify the party.
  • colorcode: The primary color that represents the party, in a hextriplet colour code with hash, or X11 name.
  • membership: The current number of party members.
  • membership_year: The year during which members were counted.
  • seats: The current number of seats the party holds in the Assembly of Representatives. Write the number only.
  • light_text: If the party color makes it hard to read the text in the seats bar, give the value yes to this parameter.
  • website: The party's website, using {{URL}}. If the party is defunct, but still has an active website, the website can still be listed.
  • footnotes: Any text or references to be added to the bottom of the infobox.

Example

Current party

Tunisian Imaginary Party

الحزب الخيالي التونسي
French nameParti imaginaire tunisien
AbbreviationPIT
LeaderFulan ibn Fulan
PresidentFulana Fulani
FounderFulan Fulani
FoundedDecember 31, 2000 (2000-12-31)
Preceded byFormer Tunisian Imaginary Party
Headquarters123, Imaginary street
Tunis
Membership10,000
IdeologyImagination
National affiliationNational Imaginary Front
SloganImagination, imagination and more imagination
Assembly of the
Representatives
of the People
100 / 217
Website
example.com
{{Infobox Tunisian political party
| name               = Tunisian Imaginary Party
| arabic_name        = الحزب الخيالي التونسي
| french_name        = Parti imaginaire tunisien
| logo               = [[File:Example-ar.PNG|150px]]
| colorcode          = #ff0000
| abbreviation       = PIT
| leader             = Fulan ibn Fulan
| chairperson        = 
| president          = Fulana Fulani
| first_secretary    = 
| secretary_general  = 
| spokesperson       = 
| founder            = Fulan Fulani
| former_leaders_title = 
| former_leaders     = 
| slogan             = Imagination, imagination and more imagination
| founded            = {{Start date|2000|12|31}}
| legalized          = 
| dissolved          = {{End date|2001|01|01}}
| merger             = 
| split              = 
| predecessor        = Former Tunisian Imaginary Party
| merged             = 
| successor          = 
| headquarters       = 123, Imaginary street<br/>Tunis
| newspaper          = 
| student_wing       = 
| youth_wing         = 
| membership_year    = 
| membership         = 10,000
| ideology           = Imagination
| position           = 
| national           = National Imaginary Front
| international      = 
| colors             = 
| seats              = 100
| light_text         = 
| symbol             = 
| website            = {{URL|example.com}}
| footnotes          = 
}}

Defunct party

Tunisian Imaginary Party

الحزب الخيالي التونسي
French nameParti imaginaire tunisien
AbbreviationPIT
Former presidentsFulan ibn Fulan
Fulana Fulani
FounderFulan Fulani
FoundedDecember 31, 2000 (2000-12-31)
DissolvedJanuary 1, 2001 (2001-01-01)
Preceded byFormer Tunisian Imaginary Party
Headquarters123, Imaginary street
Tunis
Membership (2000)10,000
IdeologyImagination
National affiliationNational Imaginary Front
SloganImagination, imagination and more imagination
Website
example.com
{{Infobox Tunisian political party
| name               = Tunisian Imaginary Party
| arabic_name        = الحزب الخيالي التونسي
| french_name        = Parti imaginaire tunisien
| logo               = [[File:Example-ar.PNG|150px]]
| colorcode          = #ff0000
| abbreviation       = PIT
| leader             = 
| chairperson        = 
| president          = 
| first_secretary    = 
| secretary_general  = 
| spokesperson       = 
| founder            = Fulan Fulani
| former_leaders_title = presidents
| former_leaders     = Fulan ibn Fulan<br/>Fulana Fulani
| slogan             = Imagination, imagination and more imagination
| founded            = {{Start date|2000|12|31}}
| legalized          = 
| dissolved          = {{End date|2001|01|01}}
| merger             = 
| split              = 
| predecessor        = Former Tunisian Imaginary Party
| merged             = 
| successor          = 
| headquarters       = 123, Imaginary street<br/>Tunis
| newspaper          = 
| student_wing       = 
| youth_wing         = 
| membership_year    = 2000
| membership         = 10,000
| ideology           = Imagination
| position           = 
| national           = National Imaginary Front
| international      = 
| colors             = 
| seats              = 
| light_text         = 
| symbol             = 
| website            = {{URL|example.com}}
| footnotes          = 
}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox Tunisian political party in articles based on its TemplateData.

TemplateData for Infobox Tunisian political party

This template produces an infobox for use on Tunisian political parties articles.

Template parameters

ParameterDescriptionTypeStatus
English namename

Name in English.

Stringrequired
Arabic namearabic_name

Name in Arabic. <s><code>{{lang}}</code></s> not needed.

Stringrequired
French namefrench_name

Name in French. <s><code>{{lang}}</code></s> not needed.

Stringsuggested
Color codecolorcode

The primary color that represents the party, in a hextriplet color code with hash, or X11 name.

Auto value
#ccc
Stringoptional
logologo

The filename, with a width parameter of no more than 230px, for example <code><nowiki>[[File:Example.jpg|150px]]</nowiki></code>.

Fileoptional
Short nameabbreviation

Short name or acronym for the party.

Stringoptional
Leader(s)leader chairperson first_secretary founder president secretary_general spokesperson

Current leader (or other leadership position holder) of the party, wikilinked if notable. For a defunct party, only include if they only had one.

Stringoptional
Former leadersformer_leaders

For defunct parties only, name of the former leader(s).

Stringoptional
Former leaders titleformer_leaders_title

For defunct parties only, title held by the former leaders.

Auto value
leader(s)
Stringoptional
sloganslogan

Slogan of the party in English and Arabic.

Stringoptional
foundedfounded

Use <code>{{Start date}}</code>.

Daterequired
legalizedlegalized

Date for the legalization of the party if significantly later than the foundation date. Except for some potential exceptions, this parameter should be relevant to pre-revolution parties only.

Dateoptional
dissolveddissolved

Use <code>{{End date}}</code>.

Dateoptional
predecessorpredecessor

Single predecessor party.

Stringoptional
Split fromsplit

The party this one split from.

Stringoptional
Merger ofmerger

Parties that merged to form this one.

Stringoptional
successorsuccessor

Single successor party.

Stringoptional
Merged intomerged

What this party merged into.

Stringoptional
headquartersheadquarters

The headquarters for the party, remember that [[WP:NOTDIR]] (Wikipedia is not a directory), and the party's headquarters is not in a post box.

Stringoptional
membershipmembership

The latest number of party members.

Numberoptional
Year of membershipmembership_year

The year during which members were counted.

Dateoptional
ideologyideology

The ideology of the party listed on [[List of political ideologies]].

Stringoptional
positionposition

The position of the party on the [[left–right political spectrum]].

Stringoptional
National affiliationnational

A coalition or alliance the party is affiliated with.

Stringoptional
International affiliationinternational

An international party the party is affiliated with.

Stringoptional
European affiliationeuropean

Affiliation with a European party.

Stringoptional
African affiliationafrican

Affiliation to an African party federation.

Unknownoptional
Partiesparties

Parties that are members of the coalition.

Stringoptional
Party color(s)colors

The color(s) that are used to identify the party.

Stringoptional
newspapernewspaper

The party's newspaper.

Stringoptional
Student wingstudent_wing

Student wing of the party.

Stringoptional
Youth wingyouth_wing

Youth wing of the party.

Stringoptional
Electoral symbolsymbol

The electoral symbol of the party. For example <code><nowiki>[[File:Example.jpg|100px]]</nowiki></code>.

Fileoptional
Representationseats

The current number of seats the party holds in the Assembly of the Representatives of the People. '''Write the number only.'''

Numberoptional
Light textlight_text

If the party color makes it hard to read the text in the seats bar, give the value <code>yes</code> to this parameter.

Booleanoptional
websitewebsite

The party's website, using <code>{{URL}}</code>. If the party is defunct, but still has an active website, the website can still be listed.

Stringoptional
footnotesfootnotes

Any text or references to be added to the bottom of the infobox.

Contentoptional