Zum Inhalt springen

Vorlage:Infobox character: Unterschied zwischen den Versionen

Aus Schutzanlage
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 6: Zeile 6:
   <tr>
   <tr>
     <td colspan="2" style="text-align:center; padding:0.5em;">
     <td colspan="2" style="text-align:center; padding:0.5em;">
       [[File:{{{image|No_image_available.png}}}|200px|center|alt={{{name}}}]]
       {{#if:{{{image|}}}
      <div style="font-size:90%; color:#555; margin-top:0.3em;">{{{caption|}}}</div>
        | [[File:{{{image}}}|200px|center|alt={{{name}}}]]<br />
          {{#if:{{{caption|}}}
            |<span style="font-size:90%; color:#555;">{{{caption}}}</span>
            |
          }}
        | <!-- kein Bild -->
      }}
     </td>
     </td>
   </tr>
   </tr>
   <tr><th style="width:40%;">Alter</th>         <td>{{{age|}}}</td></tr>
   {{#if:{{{age|}}}
   <tr><th>Geburtsdatum</th>                   <td>{{{birth_date|}}}</td></tr>
  |<tr><th style="width:40%;">Alter</th><td>{{{age}}}</td></tr>
   <tr><th>Geburtsort</th>                       <td>{{{birth_place|}}}</td></tr>
   }}
   <tr><th>Herkunft</th>                         <td>{{{origin|}}}</td></tr>
  {{#if:{{{birth_date|}}}
   <tr><th>Position</th>                         <td>{{{occupation|}}}</td></tr>
  |<tr><th>Geburtsdatum</th><td>{{{birth_date}}}</td></tr>
   <tr><th>Nationalität</th>                     <td>{{{nationality|}}}</td></tr>
   }}
   <tr><th>Familie</th>                         <td>{{{relatives|}}}</td></tr>
  {{#if:{{{birth_place|}}}
   <tr><th>Alias</th>                           <td>{{{alias|}}}</td></tr>
  |<tr><th>Geburtsort</th><td>{{{birth_place}}}</td></tr>
   }}
  {{#if:{{{origin|}}}
  |<tr><th>Herkunft</th><td>{{{origin}}}</td></tr>
   }}
  {{#if:{{{occupation|}}}
  |<tr><th>Position</th><td>{{{occupation}}}</td></tr>
   }}
  {{#if:{{{nationality|}}}
  |<tr><th>Nationalität</th><td>{{{nationality}}}</td></tr>
   }}
  {{#if:{{{relatives|}}}
  |<tr><th>Familie</th><td>{{{relatives}}}</td></tr>
   }}
  {{#if:{{{alias|}}}
  |<tr><th>Alias</th><td>{{{alias}}}</td></tr>
  }}
</table>
</table>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Verwendung ==
== Verwendung ==
Zeile 40: Zeile 63:
* image, caption, age, birth_date, birth_place, origin, occupation, nationality, relatives, alias (optional)   
* image, caption, age, birth_date, birth_place, origin, occupation, nationality, relatives, alias (optional)   


Hinweis: Die Vorlage benötigt die ParserFunctions-Extension für `{{#if:…}}`. 
[[Kategorie:Vorlagen]]
[[Kategorie:Vorlagen]]
</noinclude>
</noinclude>

Version vom 15. Juni 2025, 20:56 Uhr


Verwendung

{{Infobox_character | name = Jonas Hoffmann | image = Jonas_Hoffmann.jpg | caption = Archivwart in der Aurea Sphäre | age = ca. 32 | birth_date = {{Circa|20}} | birth_place = Aurea Sphäre (Nexus Prime-Schutzanlage) | origin = Mittelschicht | occupation = Archivwart | nationality = Nexus-Bewohner | relatives = Familie Hoffmann (Verwaltungspersonal) | alias = Der Archivwart }}

Parameter

  • name (Pflicht)
  • image, caption, age, birth_date, birth_place, origin, occupation, nationality, relatives, alias (optional)

Hinweis: Die Vorlage benötigt die ParserFunctions-Extension für ``.