Templates download/Profile Gallery: Difference between revisions

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}}
<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 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.
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==
Der XML-Import creates the following pages in your wiki:
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 Profile Pictures==
==Displaying profile pictures==


# '''Insert''' the template on a page using the visual editor.
# '''Insert''' the template on a page using the visual editor.
# '''Enter''' he name of the department.
# '''Enter''' the name of the department.


[[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]]
 
 
[[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:

  1. Select file and choose HW-Profilegallery.xml.
  2. Enter an Interwiki prefix. Since this field is required, simply add hw (for hallowelt).
  3. Keep the selection Import to default locations.
  4. Click Upload file... .
The template is now available in your wiki.


Imported pages

The XML-Import creates the following pages in your wiki: Template:Profilegallery Template:Profilegallery/format Template:Profilegallery/styles.css

Displaying profile pictures

  1. Insert the template on a page using the visual editor.
  2. Enter the name of the department.


profile box from the profile page
Department defined on the profile page

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

(Flex-Eigenschaft)



PDF exclude - start

To submit feedback about this documentation, visit our community forum.

PDF exclude - end