Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
Josh Pierson (talk | contribs) No edit summary |
Josh Pierson (talk | contribs) No edit summary |
||
| 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:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | ||
<table class="infobox-table">{{#if:{{{ | |||
<th>name</th> | <table class="infobox-table">{{#if:{{{name|}}}|<tr> | ||
<td>{{{ | <th>Parameter 1</th> | ||
</tr>}}{{#if:{{{ | <td>{{{name}}}</td> | ||
<th> | |||
<td>{{{ | </tr>}}{{#if:{{{birth_date|}}}|<tr> | ||
</tr>}}{{#if:{{{ | <th>Parameter 2</th> | ||
<th> | <td>{{{birth_date}}}</td> | ||
<td>{{{ | |||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{birth_place|}}}|<tr> | ||
<th> | <th>Parameter 3</th> | ||
<td>{{{ | <td>{{{birth_place}}}</td> | ||
</tr>}}{{#if:{{{ | |||
<th> | </tr>}}{{#if:{{{death_date|}}}|<tr> | ||
<td>{{{ | <th>Parameter 4</th> | ||
</tr>}}{{#if:{{{ | <td>{{{death_date}}}</td> | ||
<th>rank</th> | |||
<td>{{{ | </tr>}}{{#if:{{{branch|}}}|<tr> | ||
</tr>}}{{#if:{{{ | <th>Parameter 5</th> | ||
<th> | <td>{{{branch}}}</td> | ||
<td>{{{ | |||
</tr>}}</table> | |||
</tr>}}{{#if:{{{serviceyears|}}}|<tr> | |||
<th>Parameter 6</th> | |||
<td>{{{serviceyears}}}</td> | |||
</tr>}}</table> | |||
</tr>}}{{#if:{{{rank|}}}|<tr> | |||
<th>Parameter 7</th> | |||
<td>{{{rank}}}</td> | |||
</tr>}}</table> | |||
</tr>}}{{#if:{{{unit|}}}|<tr> | |||
<th>Parameter 5</th> | |||
<td>{{{unit}}}</td> | |||
</tr>}}</table> | |||
</tr>}}{{#if:{{{commands|}}}|<tr> | |||
<th>Parameter 5</th> | |||
<td>{{{commands}}}</td> | |||
</tr>}}</table> | |||
</tr>}}{{#if:{{{battles|}}}|<tr> | |||
<th>Parameter 5</th> | |||
<td>{{{battles}}}</td> | |||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
Revision as of 19:05, 30 September 2025
Infobox