Template:Infobox bar: Difference between revisions

From Duskview
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
{{Infobox bar
<div class="infobox">
| name          = <!-- defaults to article title when left blank -->
  <div style="font-size: 1.2em; font-weight: bold; text-align: center;">{{{name|No name provided}}}</div>
| image        = <!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
  <hr/>
| alt          = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
  {{#if:{{{image|}}}|[[File:{{{image}}}|250px|center|alt={{{alt|}}}|{{{caption|}}}]]}}
| caption      =
 
| birth_name    = <!-- only use if different from name -->
  {{#if:{{{caption|}}}|<div style="text-align: center; font-size: 0.9em; color: #555;">{{{caption}}}</div>}}
| birth_date    = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year with {{Birth year and age|YYYY}} unless the exact date is already widely published, as per [[WP:DOB]]. For people who have died, use {{Birth date|YYYY|MM|DD}}. -->
 
| birth_place   =  
   <table style="width:100%; font-size: 90%; margin-top: 0.5em;">
| death_date    = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (DEATH date then BIRTH date) -->
    {{#if:{{{birth_name|}}}|<tr><td><b>Birth name</b></td><td>{{{birth_name}}}</td></tr>}}
| death_place   =
    {{#if:{{{birth_date|}}}|<tr><td><b>Born</b></td><td>{{{birth_date}}}</td></tr>}}
| other_names   =
    {{#if:{{{birth_place|}}}|<tr><td><b>Birthplace</b></td><td>{{{birth_place}}}</td></tr>}}
| occupation   =
    {{#if:{{{death_date|}}}|<tr><td><b>Died</b></td><td>{{{death_date}}}</td></tr>}}
| years_active =
    {{#if:{{{death_place|}}}|<tr><td><b>Death place</b></td><td>{{{death_place}}}</td></tr>}}
| known_for    =
    {{#if:{{{other_names|}}}|<tr><td><b>Other names</b></td><td>{{{other_names}}}</td></tr>}}
| notable_works =
    {{#if:{{{occupation|}}}|<tr><td><b>Occupation</b></td><td>{{{occupation}}}</td></tr>}}
}}
    {{#if:{{{years_active|}}}|<tr><td><b>Years active</b></td><td>{{{years_active}}}</td></tr>}}
    {{#if:{{{known_for|}}}|<tr><td><b>Known for</b></td><td>{{{known_for}}}</td></tr>}}
     {{#if:{{{notable_works|}}}|<tr><td><b>Notable works</b></td><td>{{{notable_works}}}</td></tr>}}
  </table>
</div>

Revision as of 07:44, 8 June 2025

No name provided