Vorlage:CharakterInfoboxZweiteForm

Aus Dunkelherzen Wiki
CharakterInfoboxZweiteForm

[<a href="javascript:void(0);" onclick="switchForm(1)">Form 1</a> | <a href="javascript:void(0);" onclick="switchForm(2)">Form 2</a>]

Größe

Unbekannt

Gewicht

Unbekannt

Spezies Unbekannt
Subspezies Unbekannt
Klasse Unbekannt
Subklasse Unbekannt
Alter Unbekannt
Geschlecht Unbekannt
Sexualität Unbekannt
Kultur/Nationalität Unbekannt
Ideologie Unbekannt
Fraktion Unbekannt

<script> function switchForm(n) {

 const isForm1 = (n === 1);
 document.getElementById("form-image-1").style.display = isForm1 ? "block" : "none";
 document.getElementById("form-image-2").style.display = isForm1 ? "none" : "block";
 document.getElementById("form-groesse-1").style.display = isForm1 ? "inline" : "none";
 document.getElementById("form-groesse-2").style.display = isForm1 ? "none" : "inline";
 document.getElementById("form-gewicht-1").style.display = isForm1 ? "inline" : "none";
 document.getElementById("form-gewicht-2").style.display = isForm1 ? "none" : "inline";

} </script>