Zum Inhalt springen

Vorlage:Infobox character: Unterschied zwischen den Versionen

Aus Schutzanlage
Die Seite wurde neu angelegt: „<includeonly> <table class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background:#fafafa;"> <tr> <th colspan="2" style="background:#ddd; text-align:center; font-size:110%;">{{{name|}}}</th> </tr> <tr> <td colspan="2" style="text-align:center; padding:0.5em;"> {{#if: {{{image|}}} | [[File:{{{image}}}|200px|center|alt={{{name}}}]]<br/> <span style="font-size:90%; color:#555;">{{{caption|}}}</spa…“
 
Keine Bearbeitungszusammenfassung
 
(11 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;">
       {{#if: {{{image|}}}  
       {{#if: {{{image|}}}
         | [[File:{{{image}}}|200px|center|alt={{{name}}}]]<br/>
         | [[File:{{{image}}}|frameless|upright=1.2|center|alt={{{name|}}}]]<br />
           <span style="font-size:90%; color:#555;">{{{caption|}}}</span>
           {{#if: {{{caption|}}}
        | <!-- kein Bild -->
            | <span style="font-size:90%; color:#555;">{{{caption}}}</span>
          }}
       }}
       }}
     </td>
     </td>
   </tr>
   </tr>
   {{#if: {{{age|}}} |
   {{#if: {{{age|}}}         | <tr><th style="width:40%;">Alter</th><td>{{{age}}}</td></tr> }}
  <tr>
   {{#if: {{{birth_date|}}}   | <tr><th>Geburtsdatum</th><td>{{{birth_date}}}</td></tr> }}
    <th style="width:40%;">Alter</th>
   {{#if: {{{birth_place|}}} | <tr><th>Geburtsort</th><td>{{{birth_place}}}</td></tr> }}
    <td>{{{age}}}</td>
   {{#if: {{{origin|}}}       | <tr><th>Herkunft</th><td>{{{origin}}}</td></tr> }}
  </tr>
   {{#if: {{{occupation|}}}   | <tr><th>Position</th><td>{{{occupation}}}</td></tr> }}
  }}
   {{#if: {{{nationality|}}} | <tr><th>Nationalität</th><td>{{{nationality}}}</td></tr> }}
   {{#if: {{{birth_date|}}} |
   {{#if: {{{relatives|}}}   | <tr><th>Familie</th><td>{{{relatives}}}</td></tr> }}
  <tr>
   {{#if: {{{alias|}}}       | <tr><th>Alias</th><td>{{{alias}}}</td></tr> }}
    <th>Geburtsdatum</th>
    <td>{{{birth_date}}}</td>
  </tr>
  }}
   {{#if: {{{birth_place|}}} |
  <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 ==
<nowiki>{{Infobox character
<pre>
  | name         = Jonas Hoffmann
{{Infobox_character
  | image       = Jonas_Hoffmann.jpg
  | name       = Jonas Hoffmann
  | caption     = Hoffmann in seinem Archivbüro
  | image       = Jonas_Hoffmann.jpg
  | age         = ca. 32
  | caption     = Archivwart in der Aurea Sphäre
  | birth_date   = {{circa|20}}
  | age         = ca. 32
  | birth_place = Aurea Sphäre
  | birth_date = {{Circa|20}}
  | origin       = Mittelschicht
  | birth_place = Aurea Sphäre (Nexus Prime-Schutzanlage)
  | occupation   = Archivwart
  | origin     = Mittelschicht
  | nationality = Nexus-Bewohner
  | occupation = Archivwart
  | relatives   = Familie Hoffmann (Verwaltung)
  | nationality = Nexus-Bewohner
  | alias       = „Der Archivwart“
  | relatives   = Familie Hoffmann (Verwaltungspersonal)
}}</nowiki>
  | alias       = Der Archivwart
}}
</pre>


<!-- Parameter: name, image, caption, age, birth_date, birth_place, origin, occupation, nationality, relatives, alias -->
=== Parameter ===
* name (Pflicht) 
* image, caption, age, birth_date, birth_place, origin, occupation, nationality, relatives, alias (optional) 


Dieses Template erstellt eine Infobox für fiktive oder reale Charaktere.   
''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.