Vorlage:Person: Unterschied zwischen den Versionen

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
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 = {{#var:residence|unbekannt}} [[Spielerkarte|<span class="glyphicon glyphicon-map-marker"></span>?]]
}}{{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‎]]

Aktuelle Version vom 3. Januar 2018, 22:57 Uhr

Documentation icon Template documentation[view] [edit] [history] [purge]

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. |}

}}


A person wil be added to Category:Personen.

Parameters

Informationen über eine Person

Vorlagenparameter

ParameterBeschreibungTypStatus
Benutzernameusername

Benutzername der Person, identifiziert einen User eindeutig

Benutzererforderlich
Vornamefirstname

Vorname des Benutzers

Einzeiliger Texterforderlich
Nachnamelastname

Nachname des Benutzers

Einzeiliger Texterforderlich
Nutzerbildimage

Bild für den Benutzer. Erkennbar und ggf. in Zivil.

Dateivorgeschlagen
Wohnortresidence

Der aktuelle Wohnort. Stadt reicht, keine Adresse bitte.

Einzeiliger Textvorgeschlagen

Usage

{{person
|username=
|firstname=
|lastname=
|image=
|residence=
}}