Difference between revisions of "Template:Infobox political party/sandbox"

From blackwiki
Jump to navigation Jump to search
(set up with current code)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| bodyclass = vcard
+
| bodyclass = vcard
| above      = <span class="fn org">{{{name|{{{name_english|{{{party name|{{{party_name|{{PAGENAME}}}}}}}}}}}}}}</span>{{#if:{{{name_native|}}}{{{native_name|}}}|<br />''<small class="nickname">{{{name_native|{{{native_name}}}}}}</small>''}}
+
| above      = <span class="fn org">{{{name|{{{name_english|{{{party name|{{{party_name|{{PAGENAME}}}}}}}}}}}}}}</span>{{#if:{{{name_native|}}}{{{native_name|}}}|<br /><small class="nickname">{{{name_native|{{{native_name}}}}}}</small>}}
 
| abovestyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}; border-bottom: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}
 
| abovestyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}; border-bottom: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}
  
Line 7: Line 7:
 
| imageclass = logo
 
| imageclass = logo
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 +
 +
| labelstyle = padding-top:0.2em;line-height:1.2em;
 +
| datastyle = padding-top:0.1em;line-height:1.3em;
  
 
| label1    = {{{lang1}}} name
 
| label1    = {{{lang1}}} name
Line 44: Line 47:
 
| data9      = {{{first_secretary|{{{first_secretary|}}}}}}
 
| data9      = {{{first_secretary|{{{first_secretary|}}}}}}
  
| label10    = {{#ifeq:{{{disbanded|no}}}|no|Secretary-General|Former&nbsp;secretary-general}}
+
| label10    = {{#ifeq:{{{disbanded|no}}}|no|{{nowrap|Secretary-General}}|Former&nbsp;secretary-general}}
 
| class10    = agent
 
| class10    = agent
 
| data10    = {{{secretary_general|{{{secretary_general|}}}}}}
 
| data10    = {{{secretary_general|{{{secretary_general|}}}}}}
Line 93: Line 96:
 
| data22    = {{{dissolved|{{{dissolution|}}}}}}
 
| data22    = {{{dissolved|{{{dissolution|}}}}}}
  
| label23    = Merger of
+
| label23    = Merger&nbsp;of
 
| data23    = {{{merger|}}}
 
| data23    = {{{merger|}}}
  
Line 99: Line 102:
 
| data24    = {{{split|}}}
 
| data24    = {{{split|}}}
  
| label25    = Preceded by
+
| label25    = Preceded&nbsp;by
 
| data25    = {{{predecessor|{{{preceded by|{{{preceded_by|}}}}}}}}}
 
| data25    = {{{predecessor|{{{preceded by|{{{preceded_by|}}}}}}}}}
  
Line 105: Line 108:
 
| data26    = {{{merged|}}}
 
| data26    = {{{merged|}}}
  
| label27    = Succeeded by
+
| label27    = Succeeded&nbsp;by
 
| data27    = {{{successor|{{{succeeded by|{{{succeeded_by|}}}}}}}}}
 
| data27    = {{{successor|{{{succeeded by|{{{succeeded_by|}}}}}}}}}
  
Line 204: Line 207:
 
| data56    = {{{seats9|}}}
 
| data56    = {{{seats9|}}}
  
 +
| label57    = {{{seats10_title|}}}
 +
| data57    = {{{seats10|}}}
 +
 +
| label58    = {{{seats11_title|}}}
 +
| data58    = {{{seats11|}}}
  
| header57   = {{#if:{{{symbol|}}}|Election symbol}}
+
| header59   = {{#if:{{{symbol|}}}|Election symbol}}
  
| data58     = {{{symbol|}}}
+
| data60     = {{{symbol|}}}
  
| header59   = {{#if:{{{website|}}}|Website}}
+
| header61   = {{#if:{{{website|}}}|Website}}
  
| data60     = {{{website|}}}
+
| data62     = {{{website|}}}
  
| header61   = {{#if:{{{flag|}}}|Party flag}}
+
| header63   = {{#if:{{{flag|}}}|Party flag}}
  
| data62     = {{{flag|}}}
+
| data64     = {{{flag|}}}
  
 
| below      = {{#if:{{{state|{{{country|}}}}}}|{{#ifexist:{{#if:{{{country_dab1|}}}|{{{country_dab1}}}|Politics of {{{state|{{{country}}}}}}}}|{{#if:{{{country_dab1|}}}|[[{{{country_dab1}}}|Politics of {{{state|{{{country}}}}}}]]<br/>|[[Politics of {{{state|{{{country}}}}}}]]<br/>}}}}{{#ifexist:{{#if:{{{parties_dab1|}}}|{{{parties_dab1}}}|List of political parties in {{{state|{{{country}}}}}}}}|[[{{#if:{{{parties_dab1|}}}|{{{parties_dab1}}}|List of political parties in {{{state|{{{country}}}}}}}}|Political parties]]<br/>}}{{#ifexist:{{#if:{{{elections_dab1|}}}|{{{elections_dab1}}}|Elections in {{{state|{{{country}}}}}}}}|[[{{#if:{{{elections_dab1|}}}|{{{elections_dab1}}}|Elections in {{{state|{{{country}}}}}}}}|Elections]]}}{{#if:{{{country2|}}}|<hr />{{#ifexist:{{#if:{{{country_dab2|}}}|{{{country_dab2}}}|Politics of {{{country2}}}}}|{{#if:{{{country_dab2|}}}|[[{{{country_dab2}}}|Politics of {{{country2}}}]]|[[Politics of {{{country2}}}]]<br/>}}}}{{#ifexist:{{#if:{{{parties_dab2|}}}|{{{parties_dab2}}}|List of political parties in {{{country2}}}}}|[[{{#if:{{{parties_dab2|}}}|{{{parties_dab2}}}|List of political parties in {{{country2}}}}}|Political parties]]<br/>}}{{#ifexist:{{#if:{{{elections_dab2|}}}|{{{elections_dab2}}}|Elections in {{{country2}}}}}|[[{{#if:{{{elections_dab2|}}}|{{{elections_dab2}}}|Elections in {{{country2}}}}}|Elections]]}}}}}}{{#if:{{{footnotes|}}}|<hr />{{{footnotes|}}}}}  
 
| below      = {{#if:{{{state|{{{country|}}}}}}|{{#ifexist:{{#if:{{{country_dab1|}}}|{{{country_dab1}}}|Politics of {{{state|{{{country}}}}}}}}|{{#if:{{{country_dab1|}}}|[[{{{country_dab1}}}|Politics of {{{state|{{{country}}}}}}]]<br/>|[[Politics of {{{state|{{{country}}}}}}]]<br/>}}}}{{#ifexist:{{#if:{{{parties_dab1|}}}|{{{parties_dab1}}}|List of political parties in {{{state|{{{country}}}}}}}}|[[{{#if:{{{parties_dab1|}}}|{{{parties_dab1}}}|List of political parties in {{{state|{{{country}}}}}}}}|Political parties]]<br/>}}{{#ifexist:{{#if:{{{elections_dab1|}}}|{{{elections_dab1}}}|Elections in {{{state|{{{country}}}}}}}}|[[{{#if:{{{elections_dab1|}}}|{{{elections_dab1}}}|Elections in {{{state|{{{country}}}}}}}}|Elections]]}}{{#if:{{{country2|}}}|<hr />{{#ifexist:{{#if:{{{country_dab2|}}}|{{{country_dab2}}}|Politics of {{{country2}}}}}|{{#if:{{{country_dab2|}}}|[[{{{country_dab2}}}|Politics of {{{country2}}}]]|[[Politics of {{{country2}}}]]<br/>}}}}{{#ifexist:{{#if:{{{parties_dab2|}}}|{{{parties_dab2}}}|List of political parties in {{{country2}}}}}|[[{{#if:{{{parties_dab2|}}}|{{{parties_dab2}}}|List of political parties in {{{country2}}}}}|Political parties]]<br/>}}{{#ifexist:{{#if:{{{elections_dab2|}}}|{{{elections_dab2}}}|Elections in {{{country2}}}}}|[[{{#if:{{{elections_dab2|}}}|{{{elections_dab2}}}|Elections in {{{country2}}}}}|Elections]]}}}}}}{{#if:{{{footnotes|}}}|<hr />{{{footnotes|}}}}}  
Line 221: Line 229:
 
| belowstyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}
 
| belowstyle = border-top: 2px solid {{#if:{{{colorcode|}}}|{{{colorcode}}}|transparent}}
  
}}{{Main other|{{#if:{{{1|}}}{{{active|}}}{{{allies|}}}{{{bgcolor|}}}{{{blank_title|}}}{{{blank_info|}}}{{{blank1_info|}}}{{{blank2_info|}}}{{{blank3_info|}}}{{{color|{{{colour|}}}}}}{{{convenor|}}}{{{deputy|}}}{{{deputy leader|}}}{{{disbanded|}}}{{{Dissolved|}}}{{{euparl|}}}{{{european_affiliation|{{{european_affiliation|}}}}}}{{{european parliament group|{{{european_parliament_group|}}}}}}{{{french|}}}{{{holds_government|}}}{{{in_office|}}}{{{int_alignment|}}}{{{international affiliation|{{{international_affiliation|}}}}}}{{{leader6_title|}}}{{{leader6_name|}}}{{{leaders|}}}{{{members|}}}{{{membership year|}}}{{{military_wing|}}}{{{MPs|}}}{{{natassembly|}}}{{{party_articletitle|{{{party articletitle|}}}}}}{{{party logo|}}}{{{party name|}}}{{{party_name_cyr|}}}{{{party_name_lat|}}}{{{party_native|}}}{{{party_wikicolourid|}}}{{{political position|{{{political_position|}}}}}}{{{preceded by|{{{preceded_by|}}}}}}{{{seats_house|}}}{{{CONGseats|}}}{{{ILESseats|}}}{{{NORDseats|}}}{{{SUDseats|}}}{{{secretary|}}}{{{senate|}}}{{{socialpolicy|{{{social_policy|}}}}}}{{{spokesman|}}}{{{succeeded by|{{{succeeded_by|}}}}}}{{{youth arm|}}}{{{yugo_affiliation|}}}{{{website_address|}}}{{{website_title|}}}|[[Category:Political party articles using deprecated parameters]]}}}}<noinclude>{{documentation}}<!-- Please add language and category links to the /doc subpage, not here! --></noinclude>
+
}}{{Main other|{{#if:{{{1|}}}{{{active|}}}{{{allies|}}}{{{bgcolor|}}}{{{blank_title|}}}{{{blank_info|}}}{{{blank1_info|}}}{{{blank2_info|}}}{{{blank3_info|}}}{{{color|{{{colour|}}}}}}{{{convenor|}}}{{{deputy|}}}{{{deputy leader|}}}{{{disbanded|}}}{{{Dissolved|}}}{{{euparl|}}}{{{european_affiliation|{{{european_affiliation|}}}}}}{{{european parliament group|{{{european_parliament_group|}}}}}}{{{french|}}}{{{holds_government|}}}{{{in_office|}}}{{{int_alignment|}}}{{{international affiliation|{{{international_affiliation|}}}}}}{{{leader6_title|}}}{{{leader6_name|}}}{{{leaders|}}}{{{members|}}}{{{membership year|}}}{{{military_wing|}}}{{{MPs|}}}{{{natassembly|}}}{{{party_articletitle|{{{party articletitle|}}}}}}{{{party logo|}}}{{{party name|}}}{{{party_name_cyr|}}}{{{party_name_lat|}}}{{{party_native|}}}{{{party_wikicolourid|}}}{{{political position|{{{political_position|}}}}}}{{{preceded by|{{{preceded_by|}}}}}}{{{seats_house|}}}{{{CONGseats|}}}{{{ILESseats|}}}{{{NORDseats|}}}{{{SUDseats|}}}{{{senate|}}}{{{socialpolicy|{{{social_policy|}}}}}}{{{spokesman|}}}{{{succeeded by|{{{succeeded_by|}}}}}}{{{youth arm|}}}{{{yugo_affiliation|}}}{{{website_address|}}}{{{website_title|}}}|[[Category:Political party articles using deprecated parameters]]}}}}

Revision as of 02:15, 18 December 2013

Infobox political party/sandbox