Vorlage:Person: Unterschied zwischen den Versionen

aus GlossarWiki, der Glossar-Datenbank der Fachhochschule Augsburg
Kowa (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Kowa (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<includeonly><includeonly><nowiki/><!--
<includeonly><includeonly><nowiki/><!--
-->{{#arraydefine:pn|{{BASEPAGENAME}}|/\s+/}}<!--
-->{{#arraydefine:pn|{{BASEPAGENAME}}|/\s+/}}<!--
-->{{#if: {{{anrede|}}}        | {{#set: Person:Name:Anrede        = {{{anrede|}}}        }} }}<!--
-->{{#if: {{{anrede|}}}        | {{#set: Person:Name:Anrede        ={{{anrede|}}}        }} }}<!--
-->{{#if: {{{titel|}}}          | {{#set: Person:Name:Titel          = {{{titel|}}}          }} }}<!--
-->{{#if: {{{titel|}}}          | {{#set: Person:Name:Titel          ={{{titel|}}}          }} }}<!--
-->{{#if: {{{titelLang|}}}      | {{#set: Person:Name:TitelLang      = {{{titelLang|}}}      }}  
-->{{#if: {{{titelLang|}}}      | {{#set: Person:Name:TitelLang      ={{{titelLang|}}}      }}  
                                 | {{#if: {{{titel|}}} | {{#set: Person:Name:TitelLang  = {{{titel|}}} }} }} }}<!--
                                 | {{#if: {{{titel|}}} | {{#set: Person:Name:TitelLang  ={{{titel|}}} }} }} }}<!--
-->{{#if: {{{vorname|}}}        | {{#set: Person:Name:Vorname        = {{{vorname|}}}        }} | {{#set: Person:Name:Vorname  = {{#ifexpr: {{#arraysize:pn}} > 1 |{{#arrayindex:pn|0}} }} }} }}<!--
-->{{#if: {{{vorname|}}}        | {{#set: Person:Name:Vorname        ={{{vorname|}}}        }} | {{#set: Person:Name:Vorname  ={{#ifexpr: {{#arraysize:pn}} > 1 |{{#arrayindex:pn|0}} }} }} }}<!--
-->{{#if: {{{nachname|}}}      | {{#set: Person:Name:Nachname      = {{{nachname|}}}      }} | {{#set: Person:Name:Nachname = {{#arrayindex:pn|-1}} }} }}<!--
-->{{#if: {{{nachname|}}}      | {{#set: Person:Name:Nachname      ={{{nachname|}}}      }} | {{#set: Person:Name:Nachname ={{#arrayindex:pn|-1}} }} }}<!--
-->{{#if: {{{geburtsdatum|}}}  | {{#set: Person:Geburtsdatum        = {{{geburtsdatum|}}}  }} }}<!--
-->{{#if: {{{geburtsdatum|}}}  | {{#set: Person:Geburtsdatum        ={{{geburtsdatum|}}}  }} }}<!--
-->{{#if: {{{geburtsort|}}}    | {{#set: Person:Geburtsort          = {{{geburtsort|}}}    }} }}<!--
-->{{#if: {{{geburtsort|}}}    | {{#set: Person:Geburtsort          ={{{geburtsort|}}}    }} }}<!--
-->{{#if: {{{todesdatum|}}}    | {{#set: Person:Todesdatum          = {{{todesdatum|}}}    }} }}<!--
-->{{#if: {{{todesdatum|}}}    | {{#set: Person:Todesdatum          ={{{todesdatum|}}}    }} }}<!--
-->{{#if: {{{todesort|}}}      | {{#set: Person:Todesort            = {{{todesort|}}}      }} }}<!--
-->{{#if: {{{todesort|}}}      | {{#set: Person:Todesort            ={{{todesort|}}}      }} }}<!--
-->{{#if: {{{portrait|}}}      | {{#set: Person:Portrait            = {{{portrait|}}}      }} }}<!--
-->{{#if: {{{portrait|}}}      | {{#set: Person:Portrait            ={{{portrait|}}}      }} }}<!--
-->{{#set: Person:Name                = {{#show: {{PAGENAME}}|?Person:Name:Vorname  }} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!--
-->{{#set: Person:Name                ={{#show: {{PAGENAME}}|?Person:Name:Vorname  }} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!--
-->{{#set: Person:Name:Vollständig    = {{#show: {{PAGENAME}}|?Person:Name:Titel    }} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!--
-->{{#set: Person:Name:Vollständig    ={{#show: {{PAGENAME}}|?Person:Name:Titel    }} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!--
-->{{#set: Person:Name:VollständigLang = {{#show: {{PAGENAME}}|?Person:Name:TitelLang}} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!--
-->{{#set: Person:Name:VollständigLang ={{#show: {{PAGENAME}}|?Person:Name:TitelLang}} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!--
-->{{#if: {{{portraitTitel|}}}  | {{#set: Person:PortraitTitel      = {{{portraitTitel|}}} | {{#show: {{FULLPAGENAME}}|?Person:Name}} }} }}<!--
-->{{#if: {{{portraitTitel|}}}  | {{#set: Person:PortraitTitel      ={{{portraitTitel|}}} | {{#show: {{FULLPAGENAME}}|?Person:Name}} }} }}<!--
-->
-->
=Biographie=
=Biographie=

Version vom 14. Mai 2012, 15:24 Uhr

Benutzung

{{Person
| anrede         = Frau
| titel          = Prof. Dr. 
| titelLang      = Prof. Dr. rer. nat // Default: titel
| vorname        = Hans  // Default: 1. Wort von {{{PAGENAME}}}
| nachname       = Wurst // Default: Letztes Wort von {{{PAGENAME}}}
| geburtsdatum   = 31.12.1910
| geburtsort     = München
| todesdatum     = 1.1.2011
| todesort       = Hamburg
| portrait       = Medium:HansWusrt.jpg
}}