Template:Infobox political party: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
imported>ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ
(add support for chairwoman per tper)
 
Line 1: Line 1:
<includeonly>{{Short description|Political party{{#if:{{{country|}}}|&#32;in {{{country}}}}}|noreplace}}</includeonly>
<includeonly>{{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{Short description|Political party{{#if:{{{country|}}}|&#32;in {{Plain text|{{{country}}}}}}}|noreplace}}}} }}</includeonly>
{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
Line 45: Line 45:
|  data7  = {{{president|}}}
|  data7  = {{{president|}}}


| label8  = [[Party chair|Chair{{#if:{{{chairperson|}}}|person|man}}]]
| label8  = [[Party chair|Chair{{#if:{{{chairperson|}}}|person|{{#if:{{{chairman|}}}|man|woman}}}}]]
| class8  = agent
| class8  = agent
|  data8  = {{if empty|{{{chairperson|}}}|{{{chairman|}}}}}
|  data8  = {{if empty|{{{chairperson|}}}|{{{chairman|}}}|{{{chairwoman|}}}}}


| label9 = [[Party secretary|Secretary]]
| label9 = [[Party secretary|Secretary]]
Line 268: Line 268:


| header74 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
| header74 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
|  data75 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.6|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}
|  data75 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.8|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}


| header76 = {{#if:{{{website|}}} |Website}}
| header76 = {{#if:{{{website|}}} |Website}}
Line 275: Line 275:
| belowstyle = padding-top:0;
| belowstyle = padding-top:0;
| below = {{#if:{{{state|}}}{{{country|}}}
| below = {{#if:{{{state|}}}{{{country|}}}
     | {{Unbulleted list |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
     | {{Hlist |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 291: Line 291:


         -->{{#if:{{{country2|}}}
         -->{{#if:{{{country2|}}}
     | {{Unbulleted list |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
     | {{Hlist |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 307: Line 307:
       -->{{#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 | categories | chairman | chairperson | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | demo | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | governing_body | 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 | nocat | 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
}}{{#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 | categories | chairman | chairperson | chairwoman | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | demo | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | governing_body | 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 | nocat | 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>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 05:32, 23 February 2023

Infobox political party