|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.
Diese Vorlage erstellt eine Mitarbeitergalerie, die Sie beispielsweise auf Portalseiten einbinden können.
Vorlage importieren
Import der Vorlage
Die benötigte Import-Datei befindet sich im Archiv HW-Mitarbeiter.zip. Sie enthält die Datei HW-Mitarbeiter.xml.
Führen Sie auf der Seite Spezial:Import in Ihrem Wiki folgende Schritte durch:
Entpacken Sie die zip-Datei.
Klicken Sie Browse... und wählen Sie die Datei HW-Mitarbeiter.xml.
Geben Sie ein Interwiki-Präfix an. Da dieses Feld erforderlich ist, geben Sie hier einfach hw (für hallowelt) ein.
Belassen Sie die Vorauswahl Zu den Standard-Speicherorten importieren.
Klicken Sie Datei hochladen... .
Die Vorlage ist nun in Ihrem Wiki verfügbar.
Im Import enthaltene Seiten
Der XML-Import erstellt die folgenden Dateien in Ihrem Wiki:
Vorlage:Mitarbeiter
Vorlage:Mitarbeiter/styles.css
Erstellen der Mitarbeitergalerie
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.
Geben Sie die erforderlichen Informationen in den Parameterfeldern an.
Stapelbearbeitung
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.
3
name
Anzeigename
Text
Mitarbeitername
4
department
Abteilung
Text
Abteilungsname
5
username
Benutzername
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
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.