Zum Inhalt springen

Vorlage:Person: Unterschied zwischen den Versionen

Aus WeihnachtsRechnungen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 5: Zeile 5:
   |citizen (label=Bürger;display=nonempty) |citizspec (label=B-Jahr,Nr;display=nonempty)
   |citizen (label=Bürger;display=nonempty) |citizspec (label=B-Jahr,Nr;display=nonempty)
   |origin (label=ursprünglich;display=nonempty) |jobs (label=Tätigkeit;display=nonempty)  
   |origin (label=ursprünglich;display=nonempty) |jobs (label=Tätigkeit;display=nonempty)  
   |mention (label=Orig.Nennung;display=nonempty)| place (label=Wohnort;display=nonempty)  }}
   |mention (label=1.Nennung;display=nonempty)| place (label=Wohnort;display=nonempty)  }}
{{#cargo_declare:_table=persons
{{#cargo_declare:_table=persons
   |lastname=String |firstname=String |perstitle=String  
   |lastname=String |firstname=String |perstitle=String  
   |lebensdaten=String |sex=String (size=1;allowed values=m,w,u)
   |lebensdaten=String |sex=String (size=1;allowed values=m,w,u)
   |type=String |citizen=String |citizspec=String |origin=String |jobs=List (,) of String  
   |type=String |citizen=String |origin=String |jobs=List (,) of String  
   |mention=String |place=Page |link=list (,) of String |picture=File |family=Text |ref=Text |notes=Text}}
   |mention=String |place=Page |link=list (,) of String |picture=File |family=Text |ref=Text |notes=Text}}
</noinclude><includeonly><div class=personInfobox>{{#template_display:_format=infobox}}</div>{{#cargo_store:_table=persons}}  
</noinclude><includeonly><div class=personInfobox>{{#template_display:_format=infobox}}</div>{{#cargo_store:_table=persons}}  
   {{#if:{{{picture|}}} |[[Datei:{{{picture|}}}|200px|center|thumb]]}}<!--
   {{#if:{{{picture|}}} |[[Datei:{{{picture|}}}|200px|center|thumb]]}}<!--
-->{{#if:{{{family|}}} |{{Pre|1=Familie: {{{family|}}} |background=#fdffea}} }}<!--
-->{{#if:{{{family|}}} |{{Pre|title=Familie: |1={{{family|}}} |background=#fdffea}} }}<!--
-->{{#if:{{{ref|}}} |{{Pre|1=Quellen/Ref: {{{ref|}}} |background=#fdffea}} }}<!--
-->{{#if:{{{ref|}}} |{{Pre|title=Quellen/Ref: |1={{{ref|}}} |background=#fdffea}} }}<!--
-->{{#if:{{{link|}}} |{{Pre|1=Links: {{{link|}}} |background=#fdffea}} }}<!--
-->{{#if:{{{link|}}} |{{Pre|title= Links: |1={{{link|}}} |background=#fdffea}} }}<!--
-->{{#if:{{{notes|}}} |{{Pre|1=Notes: {{{notes|}}} |background=#fdffea}} }}
-->{{#if:{{{notes|}}} |{{Pre|title=Bemerkungen: |1={{{notes|}}} |background=#fdffea}} }}
{{ButtonLink|ziel=:Personen_aus_dem_15._Jahrhundert |text=&nbsp; &nbsp;Personen-Übersicht&nbsp; &nbsp;}}
{{ButtonLink|ziel=:Personen_aus_dem_15._Jahrhundert |text=&nbsp; &nbsp;Personen-Übersicht&nbsp; &nbsp;}}
{{ButtonLink|ziel=:Special:RunQuery/SuchePerson |text=&nbsp; &nbsp; &nbsp; Personen-Suche &nbsp; &nbsp; &nbsp;}}
{{ButtonLink|ziel=:Special:RunQuery/SuchePer so|title= n |text=&nbsp; &nbsp; &nbsp; Personen-Suche &nbsp; &nbsp; &nbsp;}}
{{#cargo_query:
{{#cargo_query:
   tables=bookings
   tables=bookings
Zeile 24: Zeile 24:
     DATE_FORMAT(datum, "%e.%b %Y")=  ,
     DATE_FORMAT(datum, "%e.%b %Y")=  ,
     itemtype=Art,
     itemtype=Art,
     department=Abt,
     department=Ressort,
     purpose=Zweck,
     purpose=Zweck,
     CONCAT(IF(pound>0,   CONCAT(pound,"£ ")   ,""),
     CONCAT(
          IF(shilling>0,CONCAT(shilling,"ß "),""),
      '<span class="betrag ',
          IF(denar>0,   CONCAT(denar,   "d"),"")
        IF(itemtype="Einnahme","betrag-ein",
          )=Betrag,
        IF(itemtype="Ausgabe","betrag-aus","")),
      '">',
        '<span class="amt amt-lb">',
          IF(pound>0, CONCAT(pound,'lb'), ''),
        '</span>',
        '<span class="amt amt-sh">',
          IF(shilling>0, CONCAT(shilling,'ß'), ''),
        '</span>',
        '<span class="amt amt-dn">',
          IF(denar>0, CONCAT(denar,'dn'), ''),
        '</span>',
      '</span>'
    )=Betrag,
     personOrig=Nennung,
     personOrig=Nennung,
     IF(pendenz>"","P"," ")=,
     IF(pendenz>"","P"," ")=,

Aktuelle Version vom 31. August 2026, 17:13 Uhr

Dies ist die Vorlage „Person“.

Sie hat die folgende Struktur:

{{Person
|lastname=
|firstname=
|perstitle=
|lebensdaten=
|sex=
|type=
|citizen=
|citizspec=
|origin=
|jobs=
|mention=
|place=
}}

Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.

Diese Vorlage definiert die Tabelle „persons“. Tabelle ansehen.