Template:Person: Difference between revisions

From EMCOT
Jump to navigation Jump to search
(Trying to make an infobox for the right side of the page... i may be doing it wrong but who knows)
 
No edit summary
Line 1: Line 1:
{| style="float:right;border:1px solid black"
{| style="float:right;border:1px solid black"
| Parameter 1
|<div class="infobox">
|-
|<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}
| Parameter 2
|<div class="infobox-image">[[File:{{{parameter2.png}}}|300px]]</div>}}
|<table>{{#if:{{{param1|}}}|<tr>
|    <th>Parameter 1</th>
|    <td>{{{param1}}}</td>
|</tr>}}{{#if:{{{param2|}}}|<tr>
|   <th>Parameter 2</th>
|    <td>{{{param2}}}</td>
|</tr>}}{{#if:{{{param3|}}}|<tr>
|    <th>Parameter 3</th>
|    <td>{{{param3}}}</td>
|</tr>}}{{#if:{{{param4|}}}|<tr>
|    <th>Parameter 4</th>
|    <td>{{{param4}}}</td>
|</tr>}}{{#if:{{{param5|}}}|<tr>
|    <th>Parameter 5</th>
|    <td>{{{param5}}}</td>
|</tr>}}</table>
|</div>
|}
|}

Revision as of 21:35, 19 October 2022

}}
Person
{{#if:
[[File:{{{parameter2.png}}}|300px]]
}}
Parameter 1 {{{param1}}}
Parameter 2 {{{param2}}}
Parameter 3 {{{param3}}}
Parameter 4 {{{param4}}}
Parameter 5 {{{param5}}}