Template:Infobox-person: Difference between revisions
m (→top: clean up, replaced: Psp-logo.png → PSP_logo.png) |
SGPolitico (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<div class="infobox- | <div class="infobox" style="float: right; clear: right; width: 280px; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f8f9fa; color: black; font-size: 88%; line-height: 1.5em; border-spacing: 3px;"> | ||
{| | |||
|colspan="2" | {| style="width: 100%;" | ||
|+ style="font-size: 125%; font-weight: bold; padding: 0.2em; background-color: #eaf3ff; border: 1px solid #a2a9b1;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
{{#if:{{{othername|}}}| | |||
<tr><td colspan="2" style="text-align: center; font-style: italic; border-bottom: 1px solid #a2a9b1;">{{{othername}}}</td></tr> | |||
}} | |||
<tr><td colspan="2" style="text-align: center; padding: 0.5em;"> | |||
{{#if:{{{image|}}}| [[File:{{{image}}}|250px|center]] | [[File:Portrait_placeholder.png|150px|center]] }} | |||
</td></tr> | |||
|- | |- | ||
! | ! scope="row" style="text-align: left; width: 40%; padding: 0.2em 0.4em; background: #f2f2f2;" | Party | ||
| style="padding: 0.2em 0.4em;" | {{#if:{{{politicalparty|}}} | {{#switch:{{{politicalparty}}} | |||
| PAP='''PAP''' [[file:PAP logo.png|25px|link=People's Action Party]][[Category:PAP Members]] | |||
| WP='''WP''' [[file:WP logo.png|25px|link=Workers' Party of Singapore]][[Category:WP Members]] | |||
| PSP='''PSP''' [[file:PSP_logo.png|25px|link=Progress Singapore Party]][[Category:PSP Members]] | |||
| RP='''RP''' [[file:RP logo.png|25px|link=Reform Party (Singapore)]][[Category:RP Members]] | |||
| SPP='''SPP''' [[file:SPP-Logo.png|25px|link=Singapore People's Party]][[Category:SPP Members]] | |||
| SDP= '''SDP''' [[file:SDP logo.png|25px|link=Singapore Democratic Party]][[Category:SDP Members]] | |||
| PV='''PV''' [[file:PV-logo.png|25px|link=Peoples Voice (Singapore)]][[Category:PV Members]] | |||
| RDU='''RDU''' [[file:RDU-logo.png|25px|link=Red Dot United]][[Category:RDU Members]] | |||
| SDA='''SDA''' [[file:SDA logo.png|25px|link=Singapore Democratic Alliance]][[Category:SDA Members]] | |||
| NSP='''NSP''' [[file:NSP logo.png|25px|link=National Solidarity Party (Singapore)]][[Category:NSP Members]] | |||
| PPP='''PPP''' [[file:PPP-logo.png|25px|link=People's Power Party (Singapore)]][[Category:PPP Members]] | |||
| #default={{{politicalparty}}} | |||
}} | ''Independent'' }} | |||
{{#if:{{{data01|}}}| | |||
|- | |- | ||
! scope="row" style="text-align: left; padding: 0.2em 0.4em; background: #f2f2f2;" | {{{field01|Field 1}}} | |||
| style="padding: 0.2em 0.4em;" | {{{data01}}} | |||
}} | |||
{{#if:{{{data02|}}}| | |||
}} | | |||
|- | |- | ||
! scope="row" style="text-align: left; padding: 0.2em 0.4em; background: #f2f2f2;" | {{{field02|Field 2}}} | |||
| {{{ | | style="padding: 0.2em 0.4em;" | {{{data02}}} | ||
}} | |||
{{#if:{{{Input 1st Header|}}}| | |||
|- | |- | ||
! colspan="2" style="text-align: center; background-color: #ce1126; color: white; padding: 0.2em;" | {{{Input 1st Header}}} | |||
}} | |||
{{#if:{{{data04|}}}| | |||
|- | |- | ||
! scope="row" style="text-align: left; padding: 0.2em 0.4em; background: #f2f2f2;" | {{{field04|Field 4}}} | |||
| {{{ | | style="padding: 0.2em 0.4em;" | {{{data04}}} | ||
}} | |||
{{#if:{{{Input 2nd Header|}}}| | |||
|- | |- | ||
!colspan="2" | ! colspan="2" style="text-align: center; background-color: #ce1126; color: white; padding: 0.2em;" | {{{Input 2nd Header}}} | ||
}} | |||
{{#if:{{{data05|}}}| | |||
|- | |- | ||
! scope="row" style="text-align: left; padding: 0.2em 0.4em; background: #f2f2f2;" | {{{field05|Field 5}}} | |||
| style="padding: 0.2em 0.4em;" | {{{data05}}} | |||
}} | |||
| | |||
| | |||
|} | |} | ||
</div> | </div><noinclude> | ||
<noinclude> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
