No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
<div class="downloadarea"> | <div class="downloadarea"> | ||
<span class="getButton">[[Media:HW-Profilegallery.zip|Download]]</span> | <span class="getButton">[[Media:HW-Profilegallery.zip|Download]]</span> | ||
| Line 6: | Line 5: | ||
</div> | </div> | ||
The ''Profilegallery'' template | The ''Profilegallery'' template displays 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 avatar is displayed. | ||
==Importing the Template== | ==Importing the Template== | ||
{{Templateimport|HW-Profilegallery}} | {{Templateimport|HW-Profilegallery}} | ||
== | ==Imported pages== | ||
The XML-Import creates the following pages in your wiki: | |||
Template:Profilegallery | Template:Profilegallery | ||
Template:Profilegallery/format | Template:Profilegallery/format | ||
Template:Profilegallery/styles.css | Template:Profilegallery/styles.css | ||
==Displaying | ==Displaying profile pictures== | ||
# '''Insert''' the template on a page using the visual editor. | # '''Insert''' the template on a page using the visual editor. | ||
# '''Enter''' | # '''Enter''' the name of the department. | ||
[[File: | |||
[[File:User profile.png|alt=profile box from the profile page|center|mini|550x550px|Department defined on the profile page]] | |||
The profile pictures are now displayed.<br /> | The profile pictures are now displayed.<br /> | ||
Latest revision as of 15:14, 30 April 2026
The Profilegallery template displays 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 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... .
Imported pages
The 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 the 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 |