source/content/declension.html.php
579dbe00
 <section class="section" id="declension">
dcda8f59
 	<header>Declension</header>
b3c1b9b9
 <?php
 	compose
 	(
 		[
 			"numeri",
 			"cases",
 			"definiteness",
 		]
 	);
  ?>
 <p>The following table summarizes the information of this section:</p>
 <?php
 $data = [
 	[
459c0868
 		"x0" => "nominative",
 		"x1" => ["original" => ["en dag"], "translated" => ["a day"]],
 		"x2" => ["original" => ["de dag"], "translated" => ["the day"]],
 		"x3" => ["original" => ["dager"], "translated" => ["days"]],
 		"x4" => ["original" => ["de dager"], "translated" => ["the days"]],
b3c1b9b9
 	],
 	[
459c0868
 		"x0" => "accusative",
 		"x1" => ["original" => ["en dag"], "translated" => ["a day"]],
 		"x2" => ["original" => ["de dag"], "translated" => ["the day"]],
 		"x3" => ["original" => ["dager"], "translated" => ["days"]],
 		"x4" => ["original" => ["de dager"], "translated" => ["the days"]],
b3c1b9b9
 	],
 	[
459c0868
 		"x0" => "dative",
 		"x1" => ["original" => ["to en dag"], "translated" => ["(to) a day"]],
 		"x2" => ["original" => ["to de dag"], "translated" => ["(to) the day"]],
 		"x3" => ["original" => ["to dager"], "translated" => ["(to) days"]],
 		"x4" => ["original" => ["to de dager"], "translated" => ["(to) the days"]],
b3c1b9b9
 	],
 	[
459c0868
 		"x0" => "genitive",
 		"x1" => ["original" => ["en dag(e)s","av en dag"], "translated" => ["a days","of a day"]],
 		"x2" => ["original" => ["de dag(e)s","av de dag"], "translated" => ["the days","of the day"]],
 		"x3" => ["original" => ["dager(e)s","av dager"], "translated" => ["days'","of days"]],
 		"x4" => ["original" => ["de dager(e)s","av de dager"], "translated" => ["the days'","of the days"]],
b3c1b9b9
 	],
 ];
 (new class_table
 (
 	[
 		new class_column
 		(
 			"Case",
459c0868
 			"x0"
b3c1b9b9
 		),
 		new class_column
 		(
 			"singular indefinite",
459c0868
 			"x1",
b3c1b9b9
 			_bar("word")
 		),
 		new class_column
 		(
 			"singular definite",
459c0868
 			"x2",
b3c1b9b9
 			_bar("word")
 		),
 		new class_column
 		(
 			"plural indefinite",
459c0868
 			"x3",
b3c1b9b9
 			_bar("word")
 		),
 		new class_column
 		(
 			"plural definite",
459c0868
 			"x4",
b3c1b9b9
 			_bar("word")
 		),
 	],
 	$data
 ))->generate();
 ?>
 <p><span class="sentence lang_fs">Vi kön see de huses vindöger.</span> ~ <span class="sentence lang_en">We can see the houses' windows.</span></p>
a8c049f8
 </section>