Template:Infobox-person/doc: Difference between revisions

From PoliticalSG
(Created page with "Add this template form below to the relevant page. This infobox is designed for individuals, not organizations. <pre> {{Infobox-person |name= |othername= |image= |field01= |data01= |field02= |data02= |field03= |data03= |Input Other Header= |field04= |data04= }} </pre> After filling in the parameters, the completed template should look something like this: <pre> {{Infobox-person |name=Leong Mun Wai |othername=梁文辉 |image=Leong_Mun_Wai.png |field01=Current Role |data...")
 
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Add this template form below to the relevant page. This infobox is designed for individuals, not organizations.
Add this template form [[Template:Infobox-person]] below to the relevant page. This infobox is designed for individuals, not organizations.
<pre>
<pre>
{{Infobox-person
{{Infobox-person
Line 5: Line 5:
|othername=
|othername=
|image=
|image=
|politicalparty= (PAP/WP/PSP/Nil)
|field01=
|field01=
|data01=
|data01=
Line 11: Line 12:
|field03=
|field03=
|data03=
|data03=
|Input Other Header=
|Input 1st Header=
|field04=
|field04=
|data04=
|data04=
|Input 2nd Header=
|field05=Age
|data05={{Age|YYYY|MM|DD}}
|field06=
|data06=
}}
}}
</pre>
</pre>


<div style="width:65%; float:left;">
After filling in the parameters, the completed template should look something like this:
After filling in the parameters, the completed template should look something like this:
<pre>
<pre>
Line 23: Line 30:
|othername=梁文辉
|othername=梁文辉
|image=Leong_Mun_Wai.png
|image=Leong_Mun_Wai.png
|politicalparty=PSP
|field01=Current Role
|field01=Current Role
|data01=NCMP in Parliament
|data01={{g |NCMP}}
|field02=Past Roles
|field02=Past Roles
|data02=• Managing Director of OCBC Securities</br>• Director of Merrill Lynch HK</br>• Investment Officer of Government of Singapore Investment Corporation ([[GIC]])</br>
|data02=• Managing Director of OCBC Securities</br>• Director of Merrill Lynch HK</br>• Investment Officer of Government of Singapore Investment Corporation ([[GIC]])</br>
|field03=Others
|field03=Others
|data03=• Concurrently CEO of own private equity firm, Timbre Capital
|data03=• Concurrently CEO of own private equity firm, Timbre Capital
|Input Other Header=Background
|Input 1st Header=Background
|field04=Education
|field04=Education
|data04= • Overseas Merit Scholar</br> • Sloan Fellow</br> • Raffles Institution</br>''Pending''
|data04= • Overseas Merit Scholar</br> • Sloan Fellow</br> • Raffles Institution</br>''Pending''
|Input 1st Header=Background
|field04=Education
|data04= • Overseas Merit Scholar</br> • Sloan Fellow</br> • Raffles Institution</br> • ''Pending''
|Input 2nd Header=Personal Details
|field05=Age
|data05={{Age|1959|09|25}}
|field06=Others
|data06=''Pending''
}}
}}
</pre>
</pre></div>
The completed template will give this infobox shown below, aligned to the right:
 
If the political party parameter if filled in, template automatically adds correct party category. The completed template will give this infobox shown below, aligned to the right:
{{Infobox-person
{{Infobox-person
|name=Leong Mun Wai
|name=Leong Mun Wai
|othername=梁文辉
|othername=梁文辉
|image=Leong_Mun_Wai.png
|image=Leong_Mun_Wai.png
|politicalparty=PSP
|field01=Current Role
|field01=Current Role
|data01=NCMP in Parliament
|data01={{g |NCMP}}
|field02=Past Roles
|field02=Past Roles
|data02=• Managing Director of OCBC Securities</br>• Director of Merrill Lynch HK</br>• Investment Officer of Government of Singapore Investment Corporation ([[GIC]])</br>
|data02=• Managing Director of OCBC Securities</br>• Director of Merrill Lynch HK</br>• Investment Officer of Government of Singapore Investment Corporation ([[GIC]])</br>
|field03=Others
|field03=Others
|data03=• Concurrently CEO of own private equity firm, Timbre Capital
|data03=• Concurrently CEO of own private equity firm, Timbre Capital
|Input Other Header=Background
|Input 1st Header=Background
|field04=Education
|field04=Education
|data04= • Overseas Merit Scholar</br> • Sloan Fellow</br> • Raffles Institution</br>''Pending''
|data04= • Overseas Merit Scholar</br> • Sloan Fellow</br> • Raffles Institution</br> • ''Pending''
|Input 2nd Header=Personal Details
|field05=Age
|data05={{Age|1959|09|25}}
|field06=Others
|data06=''Pending''
}}
}}
[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 16:06, 17 February 2025

Add this template form Template:Infobox-person below to the relevant page. This infobox is designed for individuals, not organizations.

{{Infobox-person
|name=
|othername=
|image=
|politicalparty= (PAP/WP/PSP/Nil)
|field01=
|data01=
|field02=
|data02=
|field03=
|data03=
|Input 1st Header=
|field04=
|data04=
|Input 2nd Header=
|field05=Age
|data05={{Age|YYYY|MM|DD}}
|field06=
|data06=
}}

After filling in the parameters, the completed template should look something like this:

{{Infobox-person
|name=Leong Mun Wai
|othername=梁文辉
|image=Leong_Mun_Wai.png
|politicalparty=PSP
|field01=Current Role
|data01={{g |NCMP}}
|field02=Past Roles
|data02=• Managing Director of OCBC Securities</br>• Director of Merrill Lynch HK</br>• Investment Officer of Government of Singapore Investment Corporation ([[GIC]])</br>
|field03=Others
|data03=• Concurrently CEO of own private equity firm, Timbre Capital
|Input 1st Header=Background
|field04=Education
|data04= • Overseas Merit Scholar</br> • Sloan Fellow</br> • Raffles Institution</br>''Pending''
|Input 1st Header=Background
|field04=Education
|data04= • Overseas Merit Scholar</br> • Sloan Fellow</br> • Raffles Institution</br> • ''Pending''
|Input 2nd Header=Personal Details
|field05=Age
|data05={{Age|1959|09|25}}
|field06=Others
|data06=''Pending''
}}

If the political party parameter if filled in, template automatically adds correct party category. The completed template will give this infobox shown below, aligned to the right:

Leong Mun Wai
梁文辉
Party Affiliation PSP  
Current Role NCMP
Past Roles • Managing Director of OCBC Securities
• Director of Merrill Lynch HK
• Investment Officer of Government of Singapore Investment Corporation (GIC)
Others • Concurrently CEO of own private equity firm, Timbre Capital
Background
Education • Overseas Merit Scholar
• Sloan Fellow
• Raffles Institution
Pending
Personal Details
Age 65
Others Pending