|Name of the uploaded user image (e.g.: lastnamefirstname.png). If left empty, the template looks for the profile image of the user.
|Dateiname (ohne Namensraum-Präfix),
|Name des hochgeladenen Bildes (z.B.: VornameNachname.png). Wenn als Wert <code>Profilbild</code> angegeben wird, zeigt die Vorlage das Profilbild bzw. den Avatar an.
|-
|-
|3
|3
|name
|name
|text
|Anzeigename
|Name of the employee
|Text
|Mitarbeitername
|-
|-
|4
|4
|department
|department
|text
|Abteilung
|Department of the employee
|Text
|Abteilungsname
|-
|-
|5
|5
|username
|username
|username (without namespace prefix)
|Benutzername
|If the user exists in the wiki and the user name is provided, the employee card links to the user's profile page.
|Benutzername (ohne Namensraum-Präfix)
|Wenn der Benutzer im Wiki vorhanden ist und der Benutzername angegeben wird, verlinkt die Mitarbeiterkarte auf die Profilseite des Benutzers.
|-
|-
|6
|6
|employeepage
|employeepage
|name of a wiki page
|Mitarbeiterseite
|If the employee does not exist as user, an employee page can be created anywhere in the wiki. If a page name is provided here, the employee card links to that page.
|Name einer Wikiseite
|Wenn der Mitarbeiter nicht als Benutzer existiert, kann an einer beliebigen Stelle im Wiki eine Mitarbeiterseite erstellt werden. Wenn hier ein Seitenname angegeben wird, verlinkt die Mitarbeiterkarte auf diese Seite.
|}
|}
__NOTOC__
__NOTOC__
Zeile 81:
Zeile 87:
[[en:{{FULLPAGENAME}}]]
[[en:{{FULLPAGENAME}}]]
==Importing the template==
{{Templateimport|HW-Employee}}
==Pages included in the import==
The xml import creates the following files in your wiki:
*Template:Employee
*Template:Employee/styles.css
==Creating the employee gallery==
You can add each individual employee card as a template. Alternatively, you can [[Templates download/Employee#Adding a "batch" of employees|add a "batch" of employees]] directly in the source mode of the page.
# From the Visual Editor ''Insert > Template'' menu, add the template "Employee". [[File:Employee template.png|alt=Screenshot of dialog to select the Employee template|center|thumb|450x450px|Select the Employee template]]
# Provide the necessary information in the [[Templates download/Employee#Available parameters|parameter fields]].
=== Adding a "batch" of employees ===
To speed up the process, you can quickly add the template multiple times directly in the source editing mode. This also allows you to add a colored grey wrapper around the gallery:<syntaxhighlight lang="text">
|Name of the uploaded user image (e.g.: lastnamefirstname.png). If left empty, the template looks for the profile image of the user.
|-
|3
|name
|text
|Name of the employee
|-
|4
|department
|text
|Department of the employee
|-
|5
|username
|username (without namespace prefix)
|If the user exists in the wiki and the user name is provided, the employee card links to the user's profile page.
|-
|6
|employeepage
|name of a wiki page
|If the employee does not exist as user, an employee page can be created anywhere in the wiki. If a page name is provided here, the employee card links to that page.
Sie können jede einzelne Mitarbeiterkarte als Vorlage "Mitarbeiter" hinzufügen. Alternativ können Sie einen „Stapel“ von Mitarbeitern direkt im Quellmodus der Seite hinzufügen.
Um den Vorgang zu beschleunigen, können Sie die Vorlage direkt im Quellbearbeitungsmodus schnell und mehrfach hinzufügen. Dadurch können Sie auch einen grauen Kasten um die Galerie hinzufügen:
Name des hochgeladenen Bildes (z.B.: VornameNachname.png). Wenn als Wert Profilbild angegeben wird, zeigt die Vorlage das Profilbild bzw. den Avatar an.
Wenn der Benutzer im Wiki vorhanden ist und der Benutzername angegeben wird, verlinkt die Mitarbeiterkarte auf die Profilseite des Benutzers.
6
employeepage
Mitarbeiterseite
Name einer Wikiseite
Wenn der Mitarbeiter nicht als Benutzer existiert, kann an einer beliebigen Stelle im Wiki eine Mitarbeiterseite erstellt werden. Wenn hier ein Seitenname angegeben wird, verlinkt die Mitarbeiterkarte auf diese Seite.
Im Wiki abgetrennter Bereich, dessen Inhalte über spezielle Berechtigungen gelesen und bearbeitet werden können. Einen Namensraum erkennt man an einem Präfix vor dem Artikeltitel.