Zum Inhalt springen

Vorlage:Infobox character: Unterschied zwischen den Versionen

Aus Schutzanlage
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>
<includeonly>
<table class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background:#fafafa;">
<table class="infobox" style="max-width:300px; width:100%; float:right; clear:right; margin:0 0 1em 1em; font-size:90%; border:1px solid #aaa; background:#f5f5f5;">
   <tr>
   <tr>
     <th colspan="2" style="background:#ddd; text-align:center; font-size:110%;">{{{name|}}}</th>
     <th colspan="2" style="background:#ddd; text-align:center; font-size:110%;">{{{name|}}}</th>
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}}}|frameless|upright=1.2|center|alt={{{name|}}}]]<br />
          {{#if: {{{caption|}}}
            | <span style="font-size:90%; color:#555;">{{{caption}}}</span>
          }}
      }}
     </td>
     </td>
   </tr>
   </tr>
   <tr><th style="width:40%;">Alter</th>         <td>{{{age|}}}</td></tr>
   {{#if: {{{age|}}}          | <tr><th style="width:40%;">Alter</th><td>{{{age}}}</td></tr> }}
   <tr><th>Geburtsdatum</th>                   <td>{{{birth_date|}}}</td></tr>
   {{#if: {{{birth_date|}}}  | <tr><th>Geburtsdatum</th><td>{{{birth_date}}}</td></tr> }}
   <tr><th>Geburtsort</th>                       <td>{{{birth_place|}}}</td></tr>
   {{#if: {{{birth_place|}}}  | <tr><th>Geburtsort</th><td>{{{birth_place}}}</td></tr> }}
   <tr><th>Herkunft</th>                         <td>{{{origin|}}}</td></tr>
   {{#if: {{{origin|}}}      | <tr><th>Herkunft</th><td>{{{origin}}}</td></tr> }}
   <tr><th>Position</th>                         <td>{{{occupation|}}}</td></tr>
   {{#if: {{{occupation|}}}  | <tr><th>Position</th><td>{{{occupation}}}</td></tr> }}
   <tr><th>Nationalität</th>                     <td>{{{nationality|}}}</td></tr>
   {{#if: {{{nationality|}}}  | <tr><th>Nationalität</th><td>{{{nationality}}}</td></tr> }}
   <tr><th>Familie</th>                         <td>{{{relatives|}}}</td></tr>
   {{#if: {{{relatives|}}}    | <tr><th>Familie</th><td>{{{relatives}}}</td></tr> }}
   <tr><th>Alias</th>                           <td>{{{alias|}}}</td></tr>
   {{#if: {{{alias|}}}        | <tr><th>Alias</th><td>{{{alias}}}</td></tr> }}
</table>
</table>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Verwendung ==
== Verwendung ==
<nowiki>{{Infobox_character
<pre>
{{Infobox_character
  | name        = Jonas Hoffmann
  | name        = Jonas Hoffmann
  | image      = Jonas_Hoffmann.jpg
  | image      = Jonas_Hoffmann.jpg
Zeile 34: Zeile 40:
  | relatives  = Familie Hoffmann (Verwaltungspersonal)
  | relatives  = Familie Hoffmann (Verwaltungspersonal)
  | alias      = Der Archivwart
  | alias      = Der Archivwart
}}</nowiki>
}}
</pre>


=== Parameter ===
=== Parameter ===
Zeile 40: Zeile 47:
* 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)   


''Erfordert aktivierte ParserFunctions-Erweiterung.'' 
[[Kategorie:Vorlagen]]
[[Kategorie:Vorlagen]]
</noinclude>
</noinclude>

Aktuelle Version vom 16. Juni 2025, 20:05 Uhr


Verwendung[Bearbeiten]

{{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[Bearbeiten]

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

Erfordert aktivierte ParserFunctions-Erweiterung.