Template:Infobox political party: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(rolling back, doesn't seem to have changed anything) |
(simplify and semantically improve code of "below" section, thereby replacing Template:Infobox political party/div; no visible changes intended) |
||
Line 268: | Line 268: | ||
| belowstyle = padding-top:0; |
| belowstyle = padding-top:0; |
||
| below = {{ |
| below = {{#if:{{{state|{{{country|}}}}}} |
||
| {{ubl |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}}; |
|||
|text={{#if:{{{state|{{{country|}}}}}} |
|||
| |
| {{#if:{{{country_dab1|}}} |
||
| {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{{state|{{{country}}}}}}]] }} |
|||
| {{#ifexist: Politics of {{{state|{{{country}}}}}} | [[Politics of {{{state|{{{country}}}}}}]] }} |
|||
}} |
|||
| {{#if:{{{parties_dab1|}}} |
|||
| {{#ifexist: {{{parties_dab1|}}} | [[{{{parties_dab1}}}|Political parties]] }} |
|||
| {{#ifexist: List of political parties in {{{state|{{{country}}}}}} | [[List of political parties in {{{state|{{{country}}}}}}|Political parties]] }} |
|||
}} |
|||
| {{#if:{{{elections_dab1|}}} |
|||
| {{#ifexist: {{{elections_dab1}}} | [[{{{elections_dab1}}}|Elections]] }} |
|||
| {{#ifexist: Elections in {{{state|{{{country}}}}}} | [[Elections in {{{state|{{{country}}}}}}|Elections]]}} |
|||
⚫ | |||
}} |
|||
}}<!-- |
|||
⚫ | |||
-->{{#if:{{{country2|}}} |
|||
| {{ubl |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa; |
|||
| [[{{{country_dab2}}}|Politics of {{{country2}}}]] |
|||
| {{#if:{{{country_dab2|}}} |
|||
| {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }} |
|||
| {{#ifexist: Politics of {{{country2}}} | [[Politics of {{{country2}}}]] }} |
|||
}} |
|||
| [[{{#if:{{{parties_dab2|}}} |{{{parties_dab2}}} |List of political parties in {{{country2}}}}}|Political parties]]<br/> |
|||
| {{#if:{{{parties_dab1|}}} |
|||
| {{#ifexist: {{{parties_dab2|}}} | [[{{{parties_dab2}}}|Political parties]] }} |
|||
| {{#ifexist: List of political parties in {{{country2}}} | [[List of political parties in {{{country2}}}|Political parties]] }} |
|||
}} |
|||
| {{#if:{{{elections_dab1|}}} |
|||
| {{#ifexist: {{{elections_dab2}}} | [[{{{elections_dab2}}}|Elections]] }} |
|||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
-->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }} |
|||
}}{{main other |
}}{{main other |