Template:Infobox political party: Difference between revisions

Template page
(Template documentation)
 
m (per edit request on talk page)
Line 12: Line 12:
| imageclass = logo
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#if:{{{logo|}}}|{{{logo}}}{{#if:{{{logo_alt|}}}|{{!}}alt={{{logo_alt}}}|}}}}|size={{#if:{{{logo_size|}}}|{{{logo_size}}}|upright={{{logo_upright|0.8}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|}}}|size={{{logo_size|}}}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


Line 172: Line 172:
|  data43 = {{{position|}}}
|  data43 = {{{position|}}}


| label44 = [[Religion]]
| label44 = Religion
| class44 = category
| class44 = category
|  data44 = {{{religion|}}}
|  data44 = {{{religion|}}}
Line 267: Line 267:


| header73 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
| header73 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
|  data74 = {{#if:{{{flag|}}}|[[{{{flag}}}|alt={{{flag_alt|{{{flag_title|Party flag}}}}}}|size={{#if:{{{flag_size|}}}|{{{flag_size}}}|upright={{{flag_upright|0.6}}}}}]]}}
|  data74 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}


| header75 = {{#if:{{{website|}}} |Website}}
| header75 = {{#if:{{{website|}}} |Website}}
Line 274: Line 274:
| belowstyle = padding-top:0;
| belowstyle = padding-top:0;
| below = {{#if:{{{state|}}}{{{country|}}}
| below = {{#if:{{{state|}}}{{{country|}}}
     | {{ubl |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
     | {{Unbulleted list |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
           | {{#if:{{{country_dab1|}}}
           | {{#if:{{{country_dab1|}}}
             | {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
             | {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
Line 290: Line 290:


         -->{{#if:{{{country2|}}}
         -->{{#if:{{{country2|}}}
     | {{ubl |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
     | {{Unbulleted list |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
           | {{#if:{{{country_dab2|}}}
           | {{#if:{{{country_dab2|}}}
             | {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
             | {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
Line 306: Line 306:
       -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
       -->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}


}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox political party with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox political party]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | abbr | abbreviation | affiliation1 | affiliation1_title | affiliation2 | affiliation2_title | anthem | banned | blank1 | blank1_title | blank2 | blank2_title | blank3 | blank3_title | blank4 | blank4_title | caption | chairman | chairperson | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | headquarters | ideology | international | lang1 | lang2 | lang3 | lang4 | leader | leader1_name | leader1_title | leader2_name | leader2_title | leader3_name | leader3_title | leader4_name | leader4_title | leader5_name | leader5_title | legalised | legalized | logo | logo_alt | logo_size | logo_upright | membership | membership_year | merged | merger | name | name_lang1 | name_lang2 | name_lang3 | name_lang4 | national | native_name | native_name_lang | newspaper | parties_dab1 | parties_dab2 | position | predecessor | president | presidium | regional | regional affiliation | registered | religion | seats1 | seats1_title | seats10 | seats10_title | seats11 | seats11_title | seats2 | seats2_title | seats3 | seats3_title | seats4 | seats4_title | seats5 | seats5_title | seats6 | seats6_title | seats7 | seats7_title | seats8 | seats8_title | seats9 | seats9_title | secretary | secretary_general | slogan | split | spokesman | spokesperson | standing_committee | state | student_wing | successor | symbol | think tank | think_tank | website | wing1 | wing1_title | wing2 | wing2_title | wing3 | wing3_title | wing4 | wing4_title | womens_wing | youth_wing
<noinclude>
}}<noinclude>
How to use this template:
{{Documentation}}
<nowiki>
{{Infobox political party
| abbreviation = Abbreviation of the party
| leader1_title = Title of the party leader
| leader1_name = Name of first party leader {{small|(first)}}<br />Name of last party leader (if different) {{small|(last)}}
| colorcode = Colour code, if different from default
| slogan = Slogan of the party
| anthem = Anthem of the party
| native_name = NAme of the party in the language of its country
| name = Full English name
| logo = Logo of the party
| founded = {{start date and age|Year when the party was founded|1|df=yes}}
| dissolved = {{end date and age|Year when the party was dissolved (if any)|df=yes}}
| founder = Who founded the party
| newspaper = Newspaper of the party
| ideology = Specific ideology that the party follows
| position = Political position (e. g. far-left, left, centre, right, far-right)
| international = International organizations that the party belongs to (if any)
| predecessor = Predecessor party (if any)
| successor = Successor party (if any)
| youth_wing = Youth wing / youth organization of the party
| colours = {{Color box|Put colour code here|border=darkgray}} Colour name
| country = Country that the party is in
| membership = Amount of members {{small|(Year)}}
| website = Website (if any)
}}</nowiki>
</noinclude>
</noinclude>

Revision as of 11:38, 5 March 2020

Infobox political party