Difference between revisions of "Template:Infobox"

From Machibarusu
Jump to navigation Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|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>...")
 
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:{{{fullname|}}}|<tr>
     <th>Parameter 1</th>
     <th>Full Name</th>
     <td>{{{param1}}}</td>
     <td>{{{fullname}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{gender|}}}|<tr>
     <th>Parameter 2</th>
     <th>Gender</th>
     <td>{{{param2}}}</td>
     <td>{{{gender}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{species|}}}|<tr>
     <th>Parameter 3</th>
     <th>Species</th>
     <td>{{{param3}}}</td>
     <td>{{{species}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{birthday|}}}|<tr>
     <th>Parameter 4</th>
     <th>Date of Birth</th>
     <td>{{{param4}}}</td>
     <td>{{{birthday}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{deathday|}}}|<tr>
     <th>Parameter 5</th>
     <th>Date of Death</th>
     <td>{{{param5}}}</td>
     <td>{{{deathday}}}</td>
</tr>}}{{#if:{{{origin|}}}|<tr>
    <th>Origin</th>
    <td>{{{origin}}}</td>
</tr>}}{{#if:{{{livingplace|}}}|<tr>
    <th>Living Place</th>
    <td>{{{livingplace}}}</td>
</tr>}}{{#if:{{{occupations|}}}|<tr>
    <th>Occupations</th>
    <td>{{{occupations}}}</td>
</tr>}}{{#if:{{{affiliation|}}}|<tr>
    <th>Affiliation</th>
    <td>{{{affiliation}}}</td>
</tr>}}{{#if:{{{objects|}}}|<tr>
    <th>Known Objects</th>
    <td>{{{objects}}}</td>
</tr>}}{{#if:{{{artists|}}}|<tr>
    <th>Artists</th>
    <td>{{{artists}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Revision as of 12:07, 14 February 2022

Infobox