Vorlage:Person: Unterschied zwischen den Versionen

aus GlossarWiki, der Glossar-Datenbank der Fachhochschule Augsburg
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 11: Zeile 11:
-->{{#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|}}}      }} }}<!--
-->{{#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:Vollstä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: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}}  }} }}<!--
-->=Biographie=
-->=Biographie=
<table class="toccolours" border="1" cellpadding="4" style="margin: 0 0 1em 1em; font-size: 95%; border-collapse: collapse;">
{{#if: {{#show: {{FULLPAGENAME}}|?Person:Portrait}}
{{  Tablerow-if-not-empty | name = '''Name'''        | value={{#show: {{FULLPAGENAME}}|?Person:Name:NameVollständig}} }}<!--
[[{{#show: {{FULLPAGENAME}}|?Person:Portrait}}|right|thumb|{{#show: {{FULLPAGENAME}}|?Person:PortraitTitel}}]]
}}<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:NameVollständig}} }}<!--
-->{{Tablerow-if-not-empty | name = '''Geburtsdatum''' | value={{#show: {{FULLPAGENAME}}|?Person:Geburtsdatum}}        }}<!--
-->{{Tablerow-if-not-empty | name = '''Geburtsdatum''' | value={{#show: {{FULLPAGENAME}}|?Person:Geburtsdatum}}        }}<!--
-->{{Tablerow-if-not-empty | name = '''Geburtsort'''  | value={{#show: {{FULLPAGENAME}}|?Person:Geburtsort}}          }}<!--
-->{{Tablerow-if-not-empty | name = '''Geburtsort'''  | value={{#show: {{FULLPAGENAME}}|?Person:Geburtsort}}          }}<!--
Zeile 36: Zeile 40:
| todesdatum    = 1.1.2011
| todesdatum    = 1.1.2011
| todesort      = Hamburg
| todesort      = Hamburg
| portrait      = Medium:HansWusrt.jpg
}}</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:31 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
}}