Template:Infobox: Difference between revisions

From FortWiki
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
mNo edit summary
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
<div class="infobox" style="font-family: sans-serif; font-size: 0.875em; border: .5px solid; background: light gray; float: right; margin: 0 0 0 0; width: 300px">
| honorific_prefix  =
 
| name             =
<div class="infobox-title" style="background-color: lightblue; margin: 4px; font-size: 1.25em; font-weight: bold; text-align: center"> {{{title|{{PAGENAME}}}}}
| honorific_suffix  =  
 
| image             =  
<!-- Image - replace "Image:SAMPLE" with file name, e.g., "Image:John_T._Greble.jpg" -->
| image_upright    =
</div>{{#if:{{{image}}}|
| alt              =
<div class="infobox-image" style="text-align: center; padding=10px>[[File:{{PAGENAME:{{{image}}}}}|220px]]<br>{{{image_caption}}}</div>}}
| caption          =  
 
| native_name      =
<hr style="margin-left: 4px; margin-right: 4px">
| native_name_lang  =
 
| birth_name        =  
<!-- Table formatting below-->
| other_name        =  
<table class ="infobox-table" style="background-repeat: no-repeat">
| nickname          =
 
| birth_date        = <!--{{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} if dead-->
<!-- Date/Place of Birth - MM DD YYYY-->
| birth_place      =  
<table class="infobox-table">{{#if:{{{birth_date}}}|<tr>
| disappeared_date  =  
    <th style="position: sticky; vertical-align:top; padding-left: 10px top; text-align:left; padding-left: 10px"> Born</th>
| disappeared_place =
    <td style="padding-left:25px">{{{birth_date}}}<br>{{{birth_place}}}</td>
| death_date        = <!--{{death date and age|dYYYY|dMM|dDD|YYYY|MM|DD}}-->
 
| death_place      =
<!-- Date of Death - DD MM YYYY-->
| death_cause      =  
</tr>}}{{#if:{{{death_date}}}|<tr>
| placeofburial     =  
    <th style="position: sticky; vertical-align:top; padding-left: 10px top; text-align:left; padding-left: 10px">Died</th>
| placeofburial_label =
    <td style="padding-left:25px">{{{death_date}}}<br>{{{death_place}}}</td>
| placeofburial_coordinates = <!--{{coord|LAT|LONG|display=inline,title}}-->
 
| allegiance        =  
<!-- Service Branch -->
| branch            =
</tr>}}{{#if:{{{branch}}}|<tr>
| branch_label      = <!--"Branch" or "Service"-->
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Branch</th>
| serviceyears      =  
    <td style="padding-left:25px">{{{branch}}}</td>
| serviceyears_label =  
 
| rank              =
<!-- Rank -->
| rank_label        =
</tr>}}{{#if:{{{rank}}}|<tr>
| servicenumber     =  
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Rank</th>
| unit              =  
     <td style="padding-left:25px">{{{rank}}}</td>
| commands          =
 
| known_for        =
<!-- Units-->
| battles          =
</tr>}}{{#if:{{{unit}}}|<tr>
| battles_label     =  
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Unit</th>
| awards            =
    <td style="padding-left:25px">{{{unit}}}</td>
| memorials        =  
 
| alma_mater        =
<!-- Commands-->
| spouse            = <!--{{marriage|name|start date|end date}}; add spouse if reliably sourced-->
</tr>}}{{#if:{{{commands}}}|<tr>
| children          =  
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Commands</th>
| relations        =
    <td style="padding-left:25px">{{{commands}}}</td>
| laterwork        =
 
| signature        =
<!-- Awards-->
| signature_size    =  
</tr>}}{{#if:{{{awards}}}|<tr>
| signature_alt     =  
     <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Awards</th>
| website          = <!--{{URL|example.com}}-->
    <td style="padding-left:25px">{{{awards}}}</td>
| module            =  
 
}}
<!-- Battles/Wars-->
</tr>}}{{#if:{{{battles}}}|<tr>
     <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Battles/Wars</th>
    <td style="padding-left:25px">{{{battles}}}</td>
 
<!-- Military Education-->
</tr>}}{{#if:{{{alma_mater}}}|<tr>
    <th style="position: sticky; vertical-align:top; text-align:left; padding-left: 10px">Alma mater</th>
    <td style="padding-left:25px">{{{alma_mater}}}</td>
 
<!-- Spouse-->
</tr>}}{{#if:{{{spouse}}}|<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 -->
</tr>}}</table>
</div>

Latest revision as of 11:34, 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}}}