Infobox character: Difference between revisions
From The Canon of Nora Wiki
New Template: Infobox Character |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <noinclude> | ||
| | {{#cargo_declare: | ||
_table=Characters | |||
| | |Name=String | ||
| | |Aliases=Text | ||
| | |Occupation=String | ||
|HomeLocation=Page | |||
|FirstAppearance=Page | |||
|Series=Page | |||
| | |Books=Text | ||
|Partner=List (,) of Page | |||
| | |Family=List (,) of Page | ||
|Allies=List (,) of Page | |||
| | }} | ||
</noinclude><includeonly> | |||
| | {{#cargo_store: | ||
_table=Characters | |||
| | |Name={{{name|{{PAGENAME}}}}} | ||
|Aliases={{{aliases|}}} | |||
| | |Occupation={{{occupation|}}} | ||
|HomeLocation={{{home_location|}}} | |||
|FirstAppearance={{{first_appearance|}}} | |||
|Series={{{series|}}} | |||
| | |Books={{{books|}}} | ||
|Partner={{{partner|}}} | |||
| | |Family={{{family|}}} | ||
|Allies={{{allies|}}} | |||
}} | |||
<table class="infobox character-infobox"> | |||
<tr> | |||
{{ | <th colspan="2" class="infobox-title">{{{name|{{PAGENAME}}}}}</th> | ||
</tr> | |||
| | {{#if:{{{image|}}}| | ||
| | <tr> | ||
<td colspan="2" class="infobox-image">[[File:{{{image}}}|250px]]</td> | |||
</tr> | |||
}} | }} | ||
{{#if:{{{aliases|}}}| | |||
<tr> | |||
<th>Aliases</th> | |||
<td>{{{aliases}}}</td> | |||
</tr> | |||
</ | }} | ||
{{#if:{{{occupation|}}}| | |||
<tr> | |||
<th>Occupation</th> | |||
<td>{{{occupation}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{home_location|}}}| | |||
<tr> | |||
<th>Home location</th> | |||
<td>[[{{{home_location}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{first_appearance|}}}| | |||
<tr> | |||
<th>First appearance</th> | |||
<td>[[{{{first_appearance}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{series|}}}| | |||
<tr> | |||
<th>Series</th> | |||
<td>[[{{{series}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{books|}}}| | |||
<tr> | |||
<th>Books</th> | |||
<td>{{{books}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{partner|}}}| | |||
<tr> | |||
<th>Partner</th> | |||
<td>{{{partner}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{family|}}}| | |||
<tr> | |||
<th>Family</th> | |||
<td>{{{family}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{allies|}}}| | |||
<tr> | |||
<th>Allies</th> | |||
<td>{{{allies}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</includeonly> | |||
Latest revision as of 15:41, 6 July 2026
This template defines the table "Characters". This table has not been created yet.