Vorlage:Person: Unterschied zwischen den Versionen
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Tobi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Tobi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
<includeonly><!-- Start your template code here. for tipps and tools for template development, please refer to our help-section -->__NOEDITSECTION__{{#ifeq:{{NAMESPACE}}|{{ns:User}}|{{DISPLAYTITLE:{{PAGENAME}}}}{{infobox | <includeonly><!-- Start your template code here. for tipps and tools for template development, please refer to our help-section -->__NOEDITSECTION__{{#ifeq:{{NAMESPACE}}|{{ns:User}}|{{DISPLAYTITLE:{{PAGENAME}}}}<!-- we have some precalculations to do | ||
-->{{#if:{{{residence|}}}|{{#ifeq:{{{residence}}}|unbekannt||{{#set:resides in={{{residence}}}}}{{#vardefine:residence|{{{residence}}}}}<!-- end of ifeq-->}}|<!--end of #if-->}}{{#if:{{#var:residence}}|{{#set:has coordinates={{#geocode:{{#var:residence}}{{#if:{{#pos|{{#var:residence}}|,}}||,Deutschland}}}}}}<!-- end of if-->}}<!-- and now the infobox | |||
-->{{infobox | |||
| titleclass = objtitle titletext | | titleclass = objtitle titletext | ||
| aboveclass = objtitle titletext | | aboveclass = objtitle titletext | ||
Zeile 13: | Zeile 15: | ||
| data3 = [[has lastname::{{{lastname|}}}]] | | data3 = [[has lastname::{{{lastname|}}}]] | ||
| label4 = Wohnort | | label4 = Wohnort | ||
| data4 = {{#if:{{{residence|}}}|{{#ifeq:{{{residence}}}|unbekannt|unbekannt|[[resides in::{{{residence}}}]]}}|unbekannt}} | | data4 = <!--{{#if:{{{residence|}}}|{{#ifeq:{{{residence}}}|unbekannt|unbekannt|[[resides in::{{{residence}}}]]}}|unbekannt}}-->{{#var:residence|unbekannt}} | ||
}}{{template other||[[Category:Personen]]}}<!-- now create some pages, if they dont exist -->{{#createpageifnotex:{{FULLPAGENAME}}/Personal pages|== Liste persönlicher Seiten == | }}{{template other||[[Category:Personen]]}}<!-- now create some pages, if they dont exist -->{{#createpageifnotex:{{FULLPAGENAME}}/Personal pages|== Liste persönlicher Seiten == | ||
* [[User:{{BASEPAGENAME}}/Merkzettel|{{BASEPAGENAME}}/Merkzettel]] | * [[User:{{BASEPAGENAME}}/Merkzettel|{{BASEPAGENAME}}/Merkzettel]] |
Version vom 3. Januar 2018, 22:51 Uhr
Description
This Template generates and maintains a person.
A person is a representation of a user in this system. Persons are generated in the User naespace an belong to the Category:Personen. A user can have characters associated with him or can attend plays.
{{#vardefine:ambox_color|info}}
{{#vardefine:ambox_image|Information icon4.svg}}{{#vardefine:ambox_imageSize|40x40px}}{{#vardefine:ambox_image|[[File:{{#var:ambox_image|Mbox notice.png}}|{{#var:ambox_imageSize|40x40px}}|alt=|link=]]}}{{#vardefine:ambox_content|{| class="metadata plainlinks"
|-
| class="mbox-image" |{{#var:ambox_image}}
| class="mbox-text" |This template automatically creates certain subpages for a user: a sandbox, a scratchpad and a directory page for links to all subpages. |}
}}{{#var:ambox_content|}}
A person wil be added to Category:Personen.
Parameters
Informationen über eine Person
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Benutzername | username | Benutzername der Person, identifiziert einen User eindeutig | Benutzer | erforderlich |
Vorname | firstname | Vorname des Benutzers | Einzeiliger Text | erforderlich |
Nachname | lastname | Nachname des Benutzers | Einzeiliger Text | erforderlich |
Nutzerbild | image | Bild für den Benutzer. Erkennbar und ggf. in Zivil. | Datei | vorgeschlagen |
Wohnort | residence | Der aktuelle Wohnort. Stadt reicht, keine Adresse bitte. | Einzeiliger Text | vorgeschlagen |
Usage
{{person |username= |firstname= |lastname= |image= |residence= }}
The above documentation is transcluded from Vorlage:Person/doc. (edit | history) Please add categories to the /doc subpage. Subpages of this template. |