Templates download/Profile Gallery: Difference between revisions

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==
The import file is included in the archive file ''HW-Profilegallery.zip''. Unpack the zip file first.
{{Templateimport|HW-Profilegallery}}


On the page ''Special:Import'' follow these steps:
==
 
Der XML-Import creates the following pages in your wiki:
#'''Select file''' and choose ''HW-Profilegallery.xml''.
Template:Profilegallery
#'''Enter''' an Interwiki prefix. Since this field is required, simply add ''hw'' (for hallowelt).
Template:Profilegallery/format
#'''Keep''' the selection ''Import to default locations''.
Template:Profilegallery/styles.css
#'''Click''' ''Upload file...'' .
 
The template is now available in your wiki.


==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|alternativtext=department input form|center|mini|550x550px|epartment information from the profile pages]][[File:Profileimgaes Profilepage including Deparmtent.png|alternativtext=profile box from the profile page|center|mini|550x550px|department defined on the profile page]]
[[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:

  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.


== Der 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 he name of the department.
department input form
Department information from the profile pages
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