Difference between revisions of "Template:Infobox character"

From SDSDWiki
Line 1: Line 1:
{| class="infobox" style="float:right;border:1px solid black"
+
<div class="infobox">
|{{PAGENAME}}
+
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
|-
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
| {{#if:{{{image|}}}|[[File:{{{image}}}|150px]]}}
+
<table>{{#if:{{{creaturetype|}}}|<tr>
|-
+
    <th>Creature Type</th>
| Creature Type || {{{creaturetype}}}
+
    <td>{{{creaturetype}}}</td>
|-
+
</tr>}}{{#if:{{{Race|}}}|<tr>
| Race || {{{race}}}
+
    <th>Race</th>
|-
+
    <td>{{{race}}}</td>
| Pronouns || {{{pronouns}}}
+
</tr>}}{{#if:{{{Pronouns|}}}|<tr>
|-
+
    <th>Pronouns</th>
| Age || {{{age}}}
+
    <td>{{{pronouns}}}</td>
|
+
</tr>}}{{#if:{{{param4|}}}|<tr>
|}
+
    <th>Age</th>
 +
    <td>{{{age}}}</td>
 +
</tr>}}</table>
 +
</div>

Revision as of 01:39, 3 December 2020

Infobox character