No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
{{Textbox|boxtype=warning|header=Attention|text=This template is currently under construction!|icon=yes}} | {{Textbox|boxtype=warning|header=Attention|text=This template is currently under construction!|icon=yes}} | ||
<div class="downloadarea"> | <div class="downloadarea"> | ||
<span class="getButton">[[Media:HW-Profilegallery.zip|Download]]</span> | <span class="getButton">[[Media:HW-Profilegallery.zip|Download]]</span> | ||
Revision as of 15:08, 30 April 2026
Attention
This template is currently under construction!
The Profilegallery template allows you to display the profile pictures of users in a department on a page. The department name must be entered on the users’ profile pages. If no profile picture exists, the user’s avatar is displayed.
Importing the Template
Importing the template
The import file is included in the archive file HW-Profilegallery.zip. Unpack the zip file first.
On the page Special:Import follow these steps:
- Select file and choose HW-Profilegallery.xml.
- Enter an Interwiki prefix. Since this field is required, simply add hw (for hallowelt).
- Keep the selection Import to default locations.
- Click Upload file... .
==
Der XML-Import creates the following pages in your wiki:
Template:Profilegallery
Template:Profilegallery/format
Template:Profilegallery/styles.css
Displaying Profile Pictures
- Insert the template on a page using the visual editor.
- Enter he name of the department.
The profile pictures are now displayed.
Template parameter
| Parameter | Name | Value | Description |
|---|---|---|---|
| Department | department | text | Name of the department as shown on the profile pages of the wiki |
| Alignment | align | start, space-around, space-between | Alignment of the images in a row |