Template:InfoboxCharacter: Difference between revisions

From SLDF Archive
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width: 22em; float: right; clear: right; font-size: 90%;"
.infobox {
! colspan="2" style="text-align: center; font-size: 125%;" | {{{name|{{PAGENAME}}}}}
    border: 1px solid #aaa;
|-
    background-color: #f9f9f9;
| colspan="2" style="text-align: center;" | {{{image|}}}
    color: black;
|-
    margin: 0.5em 0 0.5em 1em;
! Born
    padding: 0.2em;
| {{{birth_date|}}}
    float: right;
|-
    clear: right;
! Died
}
| {{{death_date|}}}
.infobox th {
|-
    background-color: #efefef;
! Occupation
    text-align: right;
| {{{occupation|}}}
}
|-
| colspan="2" style="text-align: center;" | {{{caption|}}}
|}
<noinclude>
== Usage ==
{{Infobox person
| name        =
| image      = [[File:Example.jpg|200px]]
| birth_date  =
| death_date  =
| occupation  =
| caption    =
}}

Revision as of 21:02, 21 December 2025

.infobox {

   border: 1px solid #aaa;
   background-color: #f9f9f9;
   color: black;
   margin: 0.5em 0 0.5em 1em;
   padding: 0.2em;
   float: right;
   clear: right;

} .infobox th {

   background-color: #efefef;
   text-align: right;

}