Template:Political-party: Difference between revisions
SGPolitico (talk | contribs) (Created page with "{{#cargo_declare:_table=parties |party_id=String |name=String |other_names=String |abbreviation=String |founded_date=Date |dissolved_date=Date |logo=String |leader_name1=String |leader_designation1=String |leader_name2=String |leader_designation2=String |website=String |youth_wing=String |status=String }}{{#cargo_store:_table=parties |party_id={{{party_id|}}} |name={{{name|}}} |other_names={{{other_names|}}} |abbreviation={{{abbreviation|}}} |founded_date={{{founded_date...") |
SGPolitico (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{#cargo_declare:_table=parties | <noinclude>{{#cargo_declare:_table=parties | ||
|party_id=String | |party_id=String | ||
|name=String | |name=String | ||
| Line 14: | Line 14: | ||
|youth_wing=String | |youth_wing=String | ||
|status=String | |status=String | ||
}}{{#cargo_store:_table=parties | }}</noinclude><includeonly>{{#cargo_store:_table=parties | ||
|party_id={{{party_id|}}} | |party_id={{{party_id|}}} | ||
|name={{{name|}}} | |name={{{name|}}} | ||
| Line 29: | Line 29: | ||
|youth_wing={{{youth_wing|}}} | |youth_wing={{{youth_wing|}}} | ||
|status={{{status|}}} | |status={{{status|}}} | ||
}}<div style="width:30%; overflow:auto; margin-left:15px; margin-top:0px; float:right;"> | }}</includeonly><div style="width:30%; overflow:auto; margin-left:15px; margin-top:0px; float:right;"> | ||
{| class="wikitable" style="width:100%; vertical-align:top;" | {| class="wikitable" style="width:100%; vertical-align:top;" | ||
|colspan="2" style="padding:10px;"|{{#if:{{{image|}}}| [[File:{{{image}}}|200px|center]] | [[File:Bot Sleep.png|200px|center]] }} | |colspan="2" style="padding:10px;"|{{#if:{{{image|}}}| [[File:{{{image}}}|200px|center]] | [[File:Bot Sleep.png|200px|center]] }} | ||
| Line 62: | Line 62: | ||
|style="vertical-align:top;"| {{{status|}}} | |style="vertical-align:top;"| {{{status|}}} | ||
|} | |} | ||
</div><noinclude> | </div> | ||
<noinclude> | |||
Unified display and Cargo template for political parties. | Unified display and Cargo template for political parties. | ||
Use this for all new party pages instead of Infobox-party. | Use this for all new party pages instead of Infobox-party. | ||
Revision as of 03:27, 16 May 2026
This template defines the table "parties". View table.
![]() | |
| Input Party Name | |
|---|---|
| Other Names | |
| Abbreviation | |
| Current Leaders | [[]] () |
| Founded | |
| Official Website | |
| Youth Wing | |
| Status | |
Unified display and Cargo template for political parties. Use this for all new party pages instead of Infobox-party. Existing pages using Infobox-party are unaffected.
party_id must be a permanent lowercase hyphenated slug. e.g. pap, wp, sdp, psp, rdu
leader_name1 and leader_name2 must use mp_id slug format. e.g. lawrence-wong not Lawrence Wong
founded_date must be ISO format YYYY-MM-DD. e.g. 1954-11-21
Valid status values: active / deregistered / merged / dissolved
Usage:
![]() | |
| People's Action Party | |
|---|---|
| Other Names | 人民行动党, Parti Tindakan Rakyat, மக்களின் செயல் கட்சி |
| Abbreviation | PAP |
| Current Leaders | lawrence-wong (Secretary-General) heng-swee-keat (Chairman) |
| Founded | 21 November 1954 (±72 years) |
| Official Website | https://www.pap.org.sg |
| Youth Wing | Young PAP |
| Status | active |

