Add customisable terms for Nation leaders

This commit is contained in:
worldwidepixel 2024-06-02 19:36:05 -07:00
parent e9ebb6dc7d
commit 0fe313fc34
2 changed files with 5 additions and 1 deletions

View file

@ -19,6 +19,7 @@
'short_description' => 'The first nation, prev. known as ROP.', 'short_description' => 'The first nation, prev. known as ROP.',
'description' => 'The first nation on CRSS, previously known as ROP.', 'description' => 'The first nation on CRSS, previously known as ROP.',
'leader' => 'iforgotaname', 'leader' => 'iforgotaname',
'leader_term' => 'Prime Minister',
), ),
'cnk' => array( 'cnk' => array(
'name' => 'Chunkia', 'name' => 'Chunkia',
@ -27,6 +28,7 @@
'short_description' => 'Chunkia is based in a chaotic landscape', 'short_description' => 'Chunkia is based in a chaotic landscape',
'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.', 'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.',
'leader' => 'WorldWidePixel', 'leader' => 'WorldWidePixel',
'leader_term' => 'Leader',
), ),
'ttk' => array( 'ttk' => array(
'name' => 'The Toaster-Königreich', 'name' => 'The Toaster-Königreich',
@ -35,6 +37,7 @@
'short_description' => 'The Toaster-Königreich is the Industrialized Nation of CRSS', 'short_description' => 'The Toaster-Königreich is the Industrialized Nation of CRSS',
'description' => 'In the vast landsacpe of CRSS, The Toaster-Königreich is one of the most industrialized Marxist district of CRSS. With Charge Industries as one of the main government controlled company in the nation.', 'description' => 'In the vast landsacpe of CRSS, The Toaster-Königreich is one of the most industrialized Marxist district of CRSS. With Charge Industries as one of the main government controlled company in the nation.',
'leader' => 'Lupancham', 'leader' => 'Lupancham',
'leader_term' => 'Chancellor',
), ),
'rob' => array( 'rob' => array(
'name' => 'Republic of Budapest', 'name' => 'Republic of Budapest',
@ -43,6 +46,7 @@
'short_description' => 'Republic of Budapest is a country located to the west of the map.', 'short_description' => 'Republic of Budapest is a country located to the west of the map.',
'description' => 'Republic of Budapest is a country located to the west of the map.', 'description' => 'Republic of Budapest is a country located to the west of the map.',
'leader' => 'TheClashFruit', 'leader' => 'TheClashFruit',
'leader_term' => 'Leader',
) )
); );

View file

@ -15,7 +15,7 @@
<div class="nationCoreInfo"> <div class="nationCoreInfo">
<h2 style="margin: 0"> Description </h2> <h2 style="margin: 0"> Description </h2>
<p> {{ nation.description }} </p> <p> {{ nation.description }} </p>
<h2> Leader </h2> <h2> {{ nation.leader_term }} </h2>
<p> {{ nation.leader }} </p> <p> {{ nation.leader }} </p>
</div> </div>
</div> </div>