Template:Infobox political party/doc
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 employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Basic usage
[[File:{{{logo}}}|frameless|upright=0.8]] | |
Leader | {{{leader}}} |
President | {{{president}}} |
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
{{{native_name}}} | |
---|---|
[[File:{{{logo}}}|frameless|upright=0.8]] | |
{{{lang1}}} name | {{{name_lang1}}} |
{{{lang2}}} name | {{{name_lang2}}} |
{{{lang3}}} name | {{{name_lang3}}} |
{{{lang4}}} name | {{{name_lang4}}} |
Leader | {{{leader}}} |
President | {{{president}}} |
{{{leader1_title}}} | {{{leader1_name}}} |
{{{leader2_title}}} | {{{leader2_name}}} |
{{{leader3_title}}} | {{{leader3_name}}} |
{{{leader4_title}}} | {{{leader4_name}}} |
{{{leader5_title}}} | {{{leader5_name}}} |
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}}} |
European affiliation | {{{european}}} |
International affiliation | {{{international}}} |
European Parliament group | {{{europarl}}} |
{{{affiliation1_title}}} | {{{affiliation1}}} |
Colors | {{{colors}}} |
Slogan | {{{slogan}}} |
{{{blank1_title}}} | {{{blank1}}} |
{{{blank2_title}}} | {{{blank2}}} |
{{{blank3_title}}} | {{{blank3}}} |
{{{seats1_title}}} | {{{seats1}}} |
{{{seats2_title}}} | {{{seats2}}} |
{{{seats3_title}}} | {{{seats3}}} |
{{{seats4_title}}} | {{{seats4}}} |
Election symbol | |
{{{symbol}}} | |
Party flag | |
[[File:{{{flag}}}|frameless|upright=0.6]] | |
Website | |
{{{website}}} | |
{{{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
The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
- If the organisation has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE).
- If the organisation has a URL, use {{URL}}.
- If the organisation has a "coordinates" field, use {{Coord}} to include a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- 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.
Related pages