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 7: | Zeile 7: | ||
-->{{#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: {{{geburtstag|}}} | {{#set: Person:Geburtstag = {{{geburtstag|}}} }} }}<!-- | |||
-->{{#if: {{{geburtsort|}}} | {{#set: Person:Geburtsort = {{{geburtsort|}}} }} }}<!-- | |||
-->{{#if: {{{todestag|}}} | {{#set: Person:Todestag = {{{todestag|}}} }} }}<!-- | |||
-->{{#if: {{{todesort|}}} | {{#set: Person:Todesort = {{{todesort|}}} }} }}<!-- | |||
-->{{#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:NameVollständig = {{#show: {{PAGENAME}}|?Person:Name:Titel}} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!-- | -->{{#set: Person:Name:NameVollständig = {{#show: {{PAGENAME}}|?Person:Name:Titel}} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!-- | ||
-->{{#set: Person:Name:NameVollständigLang = {{#show: {{PAGENAME}}|?Person:Name:TitelLang}} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!-- | -->{{#set: Person:Name:NameVollständigLang = {{#show: {{PAGENAME}}|?Person:Name:TitelLang}} {{#show: {{PAGENAME}}|?Person:Name:Vorname}} {{#show: {{PAGENAME}}|?Person:Name:Nachname}} }}<!-- | ||
--> | -->=Biographie= | ||
<table class="toccolours" border="1" cellpadding="4" style="margin: 0 0 1em 1em; font-size: 95%; border-collapse: collapse;"> | |||
{{ Tablerow-if-not-empty | name = '''Name''' | value={{#show: {{FULLPAGENAME}}|?Person:Name:NameVollständig}} }}<!-- | |||
-->{{Tablerow-if-not-empty | name = '''Geburtstag''' | value={{#show: {{FULLPAGENAME}}|?Person:Geburtstag}} }}<!-- | |||
-->{{Tablerow-if-not-empty | name = '''Geburtsort''' | value={{#show: {{FULLPAGENAME}}|?Person:Geburtsort}} }}<!-- | |||
-->{{Tablerow-if-not-empty | name = '''Todestag''' | value={{#show: {{FULLPAGENAME}}|?Person:Todesstag}} }}<!-- | |||
-->{{Tablerow-if-not-empty | name = '''Todesort''' | value={{#show: {{FULLPAGENAME}}|?Person:Todesort}} }}<!-- | |||
</table> | |||
[[Kategorie:Person]]</includeonly><noinclude> | [[Kategorie:Person]]</includeonly><noinclude> | ||
| Zeile 23: | Zeile 34: | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
[[Kategorie:Vorlage: | [[Kategorie:Vorlage:Person|Person]][[Kategorie:Vorlage:SMW|Person]] | ||
</noinclude> | </noinclude> | ||
Version vom 14. Mai 2012, 14:15 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}}}
}}
