Vorlage:Infobox Person: Unterschied zwischen den Versionen

Aus Wiki.sah
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>
<includeonly>
<table class="infobox" style="float:right; width:22em; font-size:90%; text-align:left; border:1px solid #aaa; background:#f9f9f9; padding:0.5em; margin-left:1em;">
<table class="infobox" style="float:right; width:22em; font-size:90%; text-align:left; border:1px solid #aaa; background:#f9f9f9; padding:0.5em; margin-left:1em;">
<!-- Bild (optional) -->
{{#if:{{{BILD|}}}|
<tr>
  <td colspan="2" style="text-align:center; padding:0.5em;">
    [[Datei:{{{BILD}}}|250px|{{{NAME}}}]]
  </td>
</tr>
}}
<caption style="font-size:110%; font-weight:bold; text-align:center; background:#e6e6e6; padding:0.3em;">{{{NAME}}}</caption>
<caption style="font-size:110%; font-weight:bold; text-align:center; background:#e6e6e6; padding:0.3em;">{{{NAME}}}</caption>


Zeile 23: Zeile 33:
   <th style="background:#efefef; text-align:left; padding:0.25em;">Alter</th>
   <th style="background:#efefef; text-align:left; padding:0.25em;">Alter</th>
   <td style="padding:0.25em;">
   <td style="padding:0.25em;">
     {{#if:{{{GEBURTSDATUM|}}}|
     {{#if:{{{ALTERMANUELL|}}}|
       {{#if:{{{STERBEDATUM|}}}|
       {{{ALTERMANUELL}}}
        {{#expr: {{#time:Y|{{{STERBEDATUM}}}}} - {{#time:Y|{{{GEBURTSDATUM}}}}} }}
       |
       |
         {{#expr: {{CURRENTYEAR}} - {{#time:Y|{{{GEBURTSDATUM}}}}} }}
      {{#if:{{{GEBURTSDATUM|}}}|
      }} Jahre
         {{#if:{{{STERBEDATUM|}}}|
    | – }}
          {{#expr: {{#time:Y|{{{STERBEDATUM}}}}} - {{#time:Y|{{{GEBURTSDATUM}}}}} }}
          |
          {{#expr: {{CURRENTYEAR}} - {{#time:Y|{{{GEBURTSDATUM}}}}} }}
        }} Jahre
      | – }}
    }}
   </td>
   </td>
</tr>
</tr>
Zeile 90: Zeile 104:
{{Infobox Person
{{Infobox Person
| NAME            =  
| NAME            =  
| BILD            = Beispiel.jpg
| ALTERNATIVNAMEN  =  
| ALTERNATIVNAMEN  =  
| KURZBESCHREIBUNG =  
| KURZBESCHREIBUNG =  
Zeile 102: Zeile 117:
| WERKE            =  
| WERKE            =  
| WEBLINK          =  
| WEBLINK          =  
| ALTERMANUELL    = <!-- optional, z. B. „ca. 32 Jahre“ oder für v. Chr.-Angaben -->
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Aktuelle Version vom 21. Oktober 2025, 16:22 Uhr


Syntax

{{Infobox Person
| NAME             = 
| BILD             = Beispiel.jpg
| ALTERNATIVNAMEN  = 
| KURZBESCHREIBUNG = 
| GEBURTSDATUM     = 
| GEBURTSORT       = 
| STERBEDATUM      = 
| STERBEORT        = 
| STAATSANGEHÖRIGKEIT = 
| TÄTIGKEITSFELD   = 
| BEKANNTFÜR       = 
| AKTIVSEIT        = 
| WERKE            = 
| WEBLINK          = 
| ALTERMANUELL     = <!-- optional, z. B. „ca. 32 Jahre“ oder für v. Chr.-Angaben -->
}}