Created page with "{{Textbox|boxtype=warning|header=Attention|text=This template is currently under construction!|icon=yes}} <div class="downloadarea"> <span class="getButton">Download</span> 450x450px </div> 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..." Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 9: | Line 9: | ||
==Importing the Template== | ==Importing the Template== | ||
{{Templateimport|HW-Profilegallery}} | |||
== | |||
Der XML-Import creates the following pages in your wiki: | |||
Template:Profilegallery | |||
Template:Profilegallery/format | |||
Template:Profilegallery/styles.css | |||
==Displaying Profile Pictures== | ==Displaying Profile Pictures== | ||
| Line 25: | Line 22: | ||
# '''Enter''' he name of the department. | # '''Enter''' he name of the department. | ||
[[File:Profileimages_Department.png| | [[File:Profileimages_Department.png|alt=department input form|center|mini|550x550px|Department information from the profile pages]][[File:Profileimgaes Profilepage including Deparmtent.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 /> | ||
==Template parameter== | |||
{| class="wikitable" | |||
! 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 | |||
([https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/justify-content Flex-Eigenschaft]) | |||
|} | |||
__NOTOC__ | __NOTOC__ | ||
Revision as of 14:55, 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 |