Template:Infobox-person: Difference between revisions
No edit summary |
mNo edit summary |
||
(36 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style=" | <div class="infobox-container"> | ||
{| class="wikitable infobox-table" | |||
|colspan="2" class="infobox-image"|{{#if:{{{image|}}}| [[File:{{{image}}}|200px|center]] | [[File:Portrait_placeholder.png|200px|center]] }} | |||
|- | |||
!colspan="2" class="infobox-header"| {{#if:{{{name|}}}|{{{name}}}| Input Name }} {{#if:{{{othername|}}}| </br>{{{othername}}} | }} | |||
|- | |||
| class="infobox-field" style="vertical-align:top;"| Party Affiliation | |||
| {{#if:{{{politicalparty| }}} | {{#switch:{{{politicalparty}}} | |||
| PAP='''PAP''' [[file:PAP logo.png| 30px]][[Category:PAP]] | |||
| WP='''WP''' [[file:WP logo.png| 30px]][[Category:WP]] | |||
| PSP='''PSP''' [[file:Psp-logo.png| 30px]][[Category:PSP]] | |||
| RP='''RP''' [[file:RP logo.png| 30px]][[Category:RP]] | |||
| SPP='''SPP''' [[file:SPP-Logo.png| 30px]][[Category:SPP]] | |||
| SDP= '''SDP''' [[file:SDP logo.png| 30px]][[Category:SDP]] | |||
| PV='''PV''' [[file:PV-logo.png| 30px]][[Category:PV]] | |||
| RDU='''RDU''' [[file:RDU-logo.png| 30px]][[Category:RDU]] | |||
| SDA='''SDA''' [[file:SDA logo.png| 30px]][[Category:SDA]] | |||
| NSP='''NSP''' [[file:NSP logo.png| 30px]][[Category:NSP]] | |||
| PPP='''PPP''' [[file:PPP-logo.png| 30px]][[Category:PPP]] | |||
| #default={{{politicalparty}}} | |||
}} | }} | |||
|- | |- | ||
|style=" | | class="infobox-field" style="vertical-align:top;"| {{{field01}}} | ||
| {{{data01}}} | | {{{data01}}} | ||
|- | |- | ||
| {{{field02}}} | | class="infobox-field" style="vertical-align:top;"| {{{field02}}} | ||
| {{{data02}}} | | {{{data02}}} | ||
|- | |- | ||
| {{{field03}}} | | class="infobox-field" style="vertical-align:top;"| {{{field03}}} | ||
| {{{data03}}} | | {{{data03}}} | ||
|- | |- | ||
!colspan="2"| {{{Input | !colspan="2" class="infobox-section"| {{{Input 1st Header}}} | ||
|- | |- | ||
| {{{field04}}} | | class="infobox-field" style="vertical-align:top;"| {{{field04}}} | ||
| {{{data04}}} | | {{{data04}}} | ||
|- | |||
!colspan="2" class="infobox-section"| {{{Input 2nd Header}}} | |||
|- | |||
| class="infobox-field" style="vertical-align:top;"| {{{field05}}} | |||
| {{{data05}}} | |||
|- | |||
| class="infobox-field" style="vertical-align:top;"| {{{field06}}} | |||
| {{{data06}}} | |||
|} | |||
</div> | </div> | ||
<noinclude> | |||
''How to use this template: See [[Template:Infobox-person/doc]]'' | |||
[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 20:01, 11 March 2025
How to use this template: See Template:Infobox-person/doc