Vorlage:Character: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (18 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<noinclude> | <noinclude> | ||
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. | Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. | ||
| − | {{#cargo_declare:_table=characters|Birthname= | + | {{#cargo_declare:_table=characters|Displayname=String|Birthname=String|Names=List (,) of String|Vignette=Wikitext|Height=Integer|Weight=Integer|Hair=String|Eyes=String|Skin=String|Ethnicity=String|Species=String|BirthDate=String|BirthPlace=String|BirthDesc=String|DeathDate=String|DeathPlace=String|DeathDesc=String|Mother=Page|Father=Page|Sex=String}} |
| − | </noinclude><includeonly>{{#cargo_store:_table=characters|Birthname={{{Birthname|}}}|Names={{{Names|}}}|Vignette={{{Vignette|}}}|Height={{{Height|}}}|Weight={{{Weight|}}}|Hair={{{Hair|}}}|Eyes={{{Eyes|}}}|Skin={{{Skin|}}}|Ethnicity={{{Ethnicity|}}}|Species={{{Species|}}}|BirthDate={{{BirthDate|}}}|BirthPlace={{{BirthPlace|}}}|BirthDesc={{{BirthDesc|}}}|DeathDate={{{DeathDate|}}}|DeathPlace={{{DeathPlace|}}}|DeathDesc={{{DeathDesc|}}}|Mother={{{Mother|}}}|Father={{{Father|}}} }} | + | </noinclude><includeonly>{{#cargo_store:_table=characters|Displayname={{{Displayname|}}}|Birthname={{{Birthname|}}}|Names={{{Names|}}}|Vignette={{{Vignette|}}}|Height={{{Height|}}}|Weight={{{Weight|}}}|Hair={{{Hair|}}}|Eyes={{{Eyes|}}}|Skin={{{Skin|}}}|Ethnicity={{{Ethnicity|}}}|Species={{{Species|}}}|BirthDate={{{BirthDate|}}}|BirthPlace={{{BirthPlace|}}}|BirthDesc={{{BirthDesc|}}}|DeathDate={{{DeathDate|}}}|DeathPlace={{{DeathPlace|}}}|DeathDesc={{{DeathDesc|}}}|Mother={{{Mother|}}}|Father={{{Father|}}}|Sex={{{Sex|}}} }} |
| − | = | + | ={{{Birthname|}}}= |
| − | Also known as: {{#arraymap:{{{Names|}}}|,|x|x}} | + | {{#if:{{{Names|}}}|Also known as: {{#arraymap:{{{Names|}}}|,|x|x}} }}<nowiki /> |
<div class="data-columns"> | <div class="data-columns"> | ||
<div class="data-col-main"> | <div class="data-col-main"> | ||
{{{Vignette|}}} | {{{Vignette|}}} | ||
</div> | </div> | ||
| − | <div class="data-col-right"><table class="wikitable" style="margin: 0"> | + | <div class="data-col-right"><table class="wikitable" style="margin: 0; width: 100%;"> |
| − | <tr><td>Species, Ethnicity</td><td>{{{Species|}}}, {{{Ethnicity|}}}</td></tr><nowiki /> | + | <tr><td>Species,<br />Ethnicity</td><td>{{{Species|}}}, {{{Ethnicity|}}}</td></tr><nowiki /> |
| − | {{#if:{{{Mother|}}}|<tr><td>Mother</td><td> | + | {{#if:{{{Sex|}}}|<tr><td>Sex</td><td>{{{Sex|}}}</td>}}<nowiki /> |
| − | {{#if:{{{Father|}}}|<tr><td>Father</td><td> | + | {{#if:{{{Mother|}}}|<tr><td>Mother</td><td>{{Character/Link|{{{Mother|}}} }}</td>}}<nowiki /> |
| + | {{#if:{{{Father|}}}|<tr><td>Father</td><td>{{Character/Link|{{{Father|}}} }}</td>}}<nowiki /> | ||
| + | {{Character/Children|{{PAGENAME}} }}<nowiki /> | ||
| + | {{Character/Siblings|{{PAGENAME}}|{{{Father|}}}|{{{Mother|}}} }}<nowiki /> | ||
{{#if:{{{BirthDate|}}}|<tr><td>Birth Date</td><td>{{{BirthDate|}}}</td>}}<nowiki /> | {{#if:{{{BirthDate|}}}|<tr><td>Birth Date</td><td>{{{BirthDate|}}}</td>}}<nowiki /> | ||
{{#if:{{{BirthPlace|}}}|<tr><td>Place of Birth</td><td>{{{BirthPlace|}}}</td>}}<nowiki /> | {{#if:{{{BirthPlace|}}}|<tr><td>Place of Birth</td><td>{{{BirthPlace|}}}</td>}}<nowiki /> | ||
| Zeile 26: | Zeile 29: | ||
{{#if:{{{Skin|}}}|<tr><th>Skin Shade</th><td>{{{Skin|}}}</td>}}<nowiki /> | {{#if:{{{Skin|}}}|<tr><th>Skin Shade</th><td>{{{Skin|}}}</td>}}<nowiki /> | ||
</table> | </table> | ||
| − | |||
| − | |||
| − | |||
| − | |||
[[Kategorie:Characters]] | [[Kategorie:Characters]] | ||
</includeonly> | </includeonly> | ||
Aktuelle Version vom 14. Mai 2020, 18:09 Uhr
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. Diese Vorlage definiert die Tabelle „characters“. Tabelle ansehen.