Template:Infobox: Difference between revisions

From FortWiki
Jump to navigation Jump to search
Undo revision 146991 by Josh Pierson 3 (talk)
Tag: Undo
mNo edit summary
Line 5: Line 5:
<!-- Image - replace "Image:SAMPLE" with file name, e.g., "Image:John_T._Greble.jpg" -->
<!-- Image - replace "Image:SAMPLE" with file name, e.g., "Image:John_T._Greble.jpg" -->
</div>{{#if:{{{image}}}|
</div>{{#if:{{{image}}}|
<div class="infobox-image" style="text-align: center; padding=10px>[[File:{{PAGENAME:{{{image}}}}}|220px]]</div>}}
<div class="infobox-image" style="text-align: center; padding=10px>[[File:{{PAGENAME:{{{image}}}}}|220px]]<br>{{{image_caption}}}</div>}}


<hr style="margin-left: 10px; margin-right: 10px">
<hr style="margin-left: 10px; margin-right: 10px">
Line 41: Line 41:
     <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Commands</th>
     <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Commands</th>
     <td style="padding-left:25px">{{{commands}}}</td>
     <td style="padding-left:25px">{{{commands}}}</td>
<!-- Awards-->
</tr>}}{{#if:{{{commands}}}|<tr>
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Awards</th>
    <td style="padding-left:25px">{{{awards}}}</td>


<!-- Battles/Wars-->
<!-- Battles/Wars-->
Line 51: Line 56:
     <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Alma mater</th>
     <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Alma mater</th>
     <td style="padding-left:25px">{{{alma_mater}}}</td>
     <td style="padding-left:25px">{{{alma_mater}}}</td>
<!-- Spouse-->
</tr>}}{{#if:{{{commands}}}|<tr>
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Spouse</th>
    <td style="padding-left:25px">{{{spouse}}}</td>
<!-- Relations-->
</tr>}}{{#if:{{{relations}}}|<tr>
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Relations</th>
    <td style="padding-left:25px">{{{relations}}}</td>


<!-- Insert additional parameters above this line -->
<!-- Insert additional parameters above this line -->
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Revision as of 11:26, 3 October 2025

Infobox
[[File:|220px]]
{{{image_caption}}}

Born {{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
Branch {{{branch}}}
Rank {{{rank}}}
Unit {{{unit}}}
Commands {{{commands}}}
Awards {{{awards}}}
Battles/Wars {{{battles}}}
Alma mater {{{alma_mater}}}
Spouse {{{spouse}}}
Relations {{{relations}}}