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>...")
 
(36 intermediate revisions by the same user 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">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
{{#if:{{{image|}}}|<div class="infobox-image">{{{image}}}</div>}}
<table>{{#if:{{{param1|}}}|<tr>
 
     <th>Parameter 1</th>
<table>
     <td>{{{param1}}}</td>
{{#if:{{{fullname|}}}|<tr>
</tr>}}{{#if:{{{param2|}}}|<tr>
    <th>Full Name</th>
     <th>Parameter 2</th>
    <td>{{{fullname}}}</td>
     <td>{{{param2}}}</td>
</tr>}}
</tr>}}{{#if:{{{param3|}}}|<tr>
{{#if:{{{gender|}}}|<tr>
     <th>Parameter 3</th>
    <th>Gender</th>
     <td>{{{param3}}}</td>
    <td>{{{gender}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}
     <th>Parameter 4</th>
{{#if:{{{status|}}}|<tr>
     <td>{{{param4}}}</td>
     <th>Status</th>
</tr>}}{{#if:{{{param5|}}}|<tr>
     <td>{{{status}}}</td>
     <th>Parameter 5</th>
</tr>}}
     <td>{{{param5}}}</td>
{{#if:{{{birthday|}}}|<tr>
</tr>}}</table>
     <th>Date of Birth</th>
     <td>{{{birthday}}}</td>
</tr>}}
{{#if:{{{deathday|}}}|<tr>
     <th>Date of Death</th>
     <td>{{{deathday}}}</td>
</tr>}}
{{#if:{{{origin|}}}|<tr>
     <th>Origin</th>
     <td>{{{origin}}}</td>
</tr>}}
{{#if:{{{livingplace|}}}|<tr>
     <th>Residence</th>
     <td>{{{livingplace}}}</td>
</tr>}}
{{#if:{{{family|}}}|<tr>
    <th>Family</th>
    <td>{{{family}}}</td>
</tr>}}
{{#if:{{{jobs|}}}|<tr>
    <th>Occupations</th>
    <td>{{{jobs}}}</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>
</div>
</div>

Revision as of 10:34, 7 July 2023

Infobox