Difference between revisions of "Template:Infobox character"

From SDSDWiki
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<div class="infobox-title vale-title">{{{title|{{PAGENAME}}}}}</div>
 +
{{#if:{{{world|}}}|<div class="infobox-world">{{{world}}}</div>}}{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{{image}}}|225px|caption]]</div>}}
 
<div class="infobox-image">[[File:{{{image}}}|225px|caption]]</div>}}
 
{{#if:{{{caption|}}}|<tr>
 
{{#if:{{{caption|}}}|<tr>
Line 8: Line 9:
 
     <th>Full Name:</th>
 
     <th>Full Name:</th>
 
     <td>{{{fullname}}}</td>
 
     <td>{{{fullname}}}</td>
 +
</tr>}}{{#if:{{{alias|}}}|<tr>
 +
    <th>Alias:</th>
 +
    <td>{{{alias}}}</td>
 
</tr>}}{{#if:{{{creaturetype|}}}|<tr>
 
</tr>}}{{#if:{{{creaturetype|}}}|<tr>
 
     <th>Creature Type:</th>
 
     <th>Creature Type:</th>
Line 41: Line 45:
 
     <th>Affiliations:</th>
 
     <th>Affiliations:</th>
 
     <td>{{{affiliations}}}</td>
 
     <td>{{{affiliations}}}</td>
 +
</tr>}}{{#if:{{{bias|}}}|<tr>
 +
    <th>God Bias:</th>
 +
    <td>{{{bias}}}</td>
 +
</tr>}}{{#if:{{{language|}}}|<tr>
 +
    <th>Languages Spoken:</th>
 +
    <td>{{{language}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>
 
Here are categories you can use for your infoboxes, in the order in which they will appear (seemingly?).
 
 
Page Name appears at the top by default.
 
image calls an image.
 
caption works as an image caption, sort of, for now
 

Latest revision as of 20:32, 17 May 2025

Infobox character