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: {{{ | -->{{#if: {{{geburtsdatum|}}} | {{#set: Person:Geburtsdatum = {{{geburtsdatum|}}} }} }}<!-- | ||
-->{{#if: {{{geburtsort|}}} | {{#set: Person:Geburtsort = {{{geburtsort|}}} }} }}<!-- | -->{{#if: {{{geburtsort|}}} | {{#set: Person:Geburtsort = {{{geburtsort|}}} }} }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{todesdatum|}}} | {{#set: Person:Todesdatum = {{{todesdatum|}}} }} }}<!-- | ||
-->{{#if: {{{todesort|}}} | {{#set: Person:Todesort = {{{todesort|}}} }} }}<!-- | -->{{#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}} }}<!-- | ||
Zeile 16: | Zeile 16: | ||
-->=Biographie= | -->=Biographie= | ||
<table class="toccolours" border="1" cellpadding="4" style="margin: 0 0 1em 1em; font-size: 95%; border-collapse: collapse;"> | <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''' | {{ Tablerow-if-not-empty | name = '''Name''' | value={{#show: {{FULLPAGENAME}}|?Person:Name:NameVollständig}} }}<!-- | ||
-->{{Tablerow-if-not-empty | name = ''' | -->{{Tablerow-if-not-empty | name = '''Geburtsdatum''' | value={{#show: {{FULLPAGENAME}}|?Person:Geburtsdatum}} }}<!-- | ||
-->{{Tablerow-if-not-empty | name = '''Geburtsort''' | -->{{Tablerow-if-not-empty | name = '''Geburtsort''' | value={{#show: {{FULLPAGENAME}}|?Person:Geburtsort}} }}<!-- | ||
-->{{Tablerow-if-not-empty | name = ''' | -->{{Tablerow-if-not-empty | name = '''Todesdatum''' | value={{#show: {{FULLPAGENAME}}|?Person:Todesdatum}} }}<!-- | ||
-->{{Tablerow-if-not-empty | name = '''Todesort''' | -->{{Tablerow-if-not-empty | name = '''Todesort''' | value={{#show: {{FULLPAGENAME}}|?Person:Todesort}} }}<!-- | ||
</table> | </table> | ||
Zeile 32: | Zeile 32: | ||
| vorname = Hans // Default: 1. Wort von {{{PAGENAME}}} | | vorname = Hans // Default: 1. Wort von {{{PAGENAME}}} | ||
| nachname = Wurst // Default: Letztes Wort von {{{PAGENAME}}} | | nachname = Wurst // Default: Letztes Wort von {{{PAGENAME}}} | ||
| geburtsdatum = 31.12.1910 | |||
| geburtsort = München | |||
| todesdatum = 1.1.2011 | |||
| todesort = Hamburg | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
[[Kategorie:Vorlage:Person|Person]][[Kategorie:Vorlage:SMW|Person]] | [[Kategorie:Vorlage:Person|Person]][[Kategorie:Vorlage:SMW|Person]] | ||
</noinclude> | </noinclude> |
Version vom 14. Mai 2012, 16:21 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 }}