Sample Usage of Template:MalayRoyalHouse
editThis page provides example implementations of the `Template:MalayRoyalHouse` to demonstrate how it can be used for different rulers and scenarios.
Example 1: Single Term as Sultan and Agong
editThis example shows a ruler who served one term each as Sultan and Yang di-Pertuan Agong.
{{MalayRoyalHouse
| house_name = Temenggong
| dynasty_name = Selangor
| sultan_predecessor1 = Hisamuddin Alam Shah
| sultan_title1 = Sultan
| sultan_years1_start = 1960
| sultan_years1_end = 1965
| sultan_successor1 = Ismail Nasiruddin Shah
| agong_predecessor1 = Tuanku Abdul Rahman
| agong_title1 = Yang di-Pertuan Agong
| agong_years1_start = 1960
| agong_years1_end = 1965
| agong_successor1 = Sultan Ismail Nasiruddin Shah
}}
Example 2: Two Terms as Sultan
editThis example shows a ruler who served two separate terms as Sultan.
{{MalayRoyalHouse
| house_name = House of Bendahara
| dynasty_name = Pahang
| sultan_predecessor1 = Abu Bakar
| sultan_title1 = Sultan
| sultan_years1_start = 1932
| sultan_years1_end = 1941
| sultan_successor1 = Unknown
| sultan_predecessor2 = Unknown
| sultan_title2 = Sultan
| sultan_years2_start = 1945
| sultan_years2_end = 1957
| sultan_successor2 = Ahmad Shah
}}
Example 3: Three Terms as Yang di-Pertuan Agong
editThis example shows a ruler with three terms as Yang di-Pertuan Agong.
{{MalayRoyalHouse
| house_name = House of Negeri Sembilan
| agong_predecessor1 = Tuanku Abdul Rahman
| agong_title1 = Yang di-Pertuan Agong
| agong_years1_start = 1957
| agong_years1_end = 1960
| agong_successor1 = Sultan Hisamuddin Alam Shah
| agong_predecessor2 = Sultan Hisamuddin Alam Shah
| agong_title2 = Yang di-Pertuan Agong
| agong_years2_start = 1965
| agong_years2_end = 1970
| agong_successor2 = Tuanku Abdul Halim
| agong_predecessor3 = Sultan Iskandar
| agong_title3 = Yang di-Pertuan Agong
| agong_years3_start = 1980
| agong_years3_end = 1985
| agong_successor3 = Sultan Azlan Shah
}}
Example 4: Position Established and Abolished
editThis example shows how to use the template for a position that was newly established or abolished.
{{MalayRoyalHouse
| house_name = House of Malacca
| sultan_predecessor1 = established
| sultan_title1 = Sultan
| sultan_years1_start = 1400
| sultan_years1_end = 1414
| sultan_successor1 = Sultan Muhammad Shah
| sultan_predecessor2 = Sultan Ahmad Shah
| sultan_title2 = Sultan
| sultan_years2_start = 1424
| sultan_years2_end = 1477
| sultan_successor2 = abolished
}}
Notes
edit- The template automatically displays "Position Established" when `sultan_predecessorX` is set to "established" and "Position Abolished" when `sultan_successorX` is set to "abolished."
- Adjust the examples according to the specific needs of each ruler’s historical data.