Vorlage:Person: Unterschied zwischen den Versionen
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Tobi (Diskussion | Beiträge) |
Tobi (Diskussion | Beiträge) |
||
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, 23:51 Uhr
Description[Quelltext bearbeiten]
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.
This template automatically creates certain subpages for a user: a sandbox, a scratchpad and a directory page for links to all subpages. |
A person wil be added to Category:Personen.
Parameters[Quelltext bearbeiten]
Informationen über eine Person
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Benutzername | username | Benutzername der Person, identifiziert einen User eindeutig | Benutzer | erforderlich |
Vorname | firstname | Vorname des Benutzers | Zeile | erforderlich |
Nachname | lastname | Nachname des Benutzers | Zeile | 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. | Zeile | vorgeschlagen |
Usage[Quelltext bearbeiten]
{{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. |