Difference between revisions of "Template:Basic Infobox"

From Shinies
(basic infobox creation I hope)
 
(Adjust parameters)
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
<table>{{#if:{{{Name|}}}|<tr>
     <th>Parameter 1</th>
     <th>Parameter 1</th>
     <td>{{{param1}}}</td>
     <td>{{{Name}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{Gender|}}}|<tr>
     <th>Parameter 2</th>
     <th>Parameter 2</th>
     <td>{{{param2}}}</td>
     <td>{{{Gender}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{Pronouns|}}}|<tr>
     <th>Parameter 3</th>
     <th>Parameter 3</th>
     <td>{{{param3}}}</td>
     <td>{{{Pronouns}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{Apparent Species|}}}|<tr>
     <th>Parameter 4</th>
     <th>Parameter 4</th>
     <td>{{{param4}}}</td>
     <td>{{{Apparent Species}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{Age|}}}|<tr>
     <th>Parameter 5</th>
     <th>Parameter 5</th>
     <td>{{{param5}}}</td>
     <td>{{{Age}}}</td>
</tr>}}{{#if:{{{Coloration|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{Coloration}}}</td>
</tr>}}{{#if:{{{Hair/Tail|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{Hair/Tail}}}</td>
</tr>}}{{#if:{{{Eyes|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{Eyes}}}</td>
</tr>}}{{#if:{{{Interior|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{Interior}}}</td>
</tr>}}{{#if:{{{World Type|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{World Type}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Revision as of 19:40, 15 March 2022

Basic Infobox