Template:Infobox-person: Difference between revisions

From PoliticalSG
mNo edit summary
No edit summary
Line 1: Line 1:
<div style="width:30%; overflow:auto; margin-left:15px; margin-top:0px; float:right;">
<div class="infobox-container">
{| class="wikitable" style="width:100%; vertical-align:top;"
{| class="wikitable infobox-table"
|colspan="2" style="padding:10px;"|{{#if:{{{image|}}}| [[File:{{{image}}}|200px|center]] | [[File:Portrait_placeholder.png|200px|center]] }}
|colspan="2" class="infobox-image"|{{#if:{{{image|}}}| [[File:{{{image}}}|200px|center]] | [[File:Portrait_placeholder.png|200px|center]] }}
|-
|-
!colspan="2"| {{#if:{{{name|}}}|{{{name}}}| Input Name }} {{#if:{{{othername|}}}| </br>{{{othername}}} | }}
!colspan="2" class="infobox-header"| {{#if:{{{name|}}}|{{{name}}}| Input Name }} {{#if:{{{othername|}}}| </br>{{{othername}}} | }}
|-
|-
|style="width:33%; vertical-align:top;"| {{{field01}}}
| class="infobox-field"| {{{field01}}}
| {{{data01}}}
| {{{data01}}}
|-
|-
|style="vertical-align:top;"| {{{field02}}}
| class="infobox-field"| {{{field02}}}
| {{{data02}}}
| {{{data02}}}
|-
|-
|style="vertical-align:top;"| {{{field03}}}
| class="infobox-field"| {{{field03}}}
| {{{data03}}}
| {{{data03}}}
|-
|-
!colspan="2"| {{{Input 1st Header}}}
!colspan="2" class="infobox-section"| {{{Input 1st Header}}}
|-
|-
|style="vertical-align:top;"| {{{field04}}}
| class="infobox-field"| {{{field04}}}
| {{{data04}}}
| {{{data04}}}
|-
|-
!colspan="2"| {{{Input 2nd Header}}}
!colspan="2" class="infobox-section"| {{{Input 2nd Header}}}
|-
|-
|style="vertical-align:top;"| {{{field05}}}
| class="infobox-field"| {{{field05}}}
| {{{data05}}}
| {{{data05}}}
|-
|-
|style="vertical-align:top;"| {{{field06}}}
| class="infobox-field"| {{{field06}}}
| {{{data06}}}
| {{{data06}}}
|}
|}
</div>
</div>
<noinclude>
<noinclude>
''How to use this template: See [[Template:Infobox-person/doc]]''
''How to use this template: See [[Template:Infobox-person/doc]]''
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 02:46, 12 February 2025

Input Name
{{{field01}}} {{{data01}}}
{{{field02}}} {{{data02}}}
{{{field03}}} {{{data03}}}
{{{Input 1st Header}}}
{{{field04}}} {{{data04}}}
{{{Input 2nd Header}}}
{{{field05}}} {{{data05}}}
{{{field06}}} {{{data06}}}


How to use this template: See Template:Infobox-person/doc