Difference between revisions of "Template:Infobox Character"

From Johnisdead Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
 
<div class="infobox-title">
 
<div class="infobox-title">
 
 
{{{title|{{PAGENAME}}}}}
 
{{{title|{{PAGENAME}}}}}
{{#if:{{{descriptor|}}}|<h2>{{{descriptor}}}</h2>}}
 
</div>
 
 
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{{image}}}|300px]]
 
<div class="infobox-image">[[File:{{{image}}}|300px]]
 
</div>}}
 
</div>}}
 
+
<table>
<table>{{#if:{{{param1|}}}|<tr>
+
{{#if:{{{name|}}}|<tr>
 
     <th>Name</th>
 
     <th>Name</th>
     <td>{{{param1}}}</td>
+
     <td>{{{name}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
+
</tr>}}{{#if:{{{alias|}}}|<tr>
 
     <th>Alias</th>
 
     <th>Alias</th>
     <td>{{{param2}}}</td>
+
     <td>{{{alias}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
+
</tr>}}{{#if:{{{gender|}}}|<tr>
 
     <th>Gender</th>
 
     <th>Gender</th>
     <td>{{{param3}}}</td>
+
     <td>{{{gender}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
+
</tr>}}{{#if:{{{status|}}}|<tr>
 
     <th>Status</th>
 
     <th>Status</th>
     <td>{{{param4}}}</td>
+
     <td>{{{status}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
+
</tr>}}{{#if:{{{relations|}}}|<tr>
     <th>Affiliation</th>
+
     <th>Relations</th>
     <td>{{{param5}}}</td>
+
     <td>{{{relations}}}</td>
</tr>}}</table>
+
</tr>
 +
}}
 +
</table>
 
</div>
 
</div>

Revision as of 12:14, 27 December 2019

Infobox Character