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