Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
You are viewing an old version of this page. Return to the latest version.
This is the version of 11 May 2023, 13:47 by Redaktion
PreviousNext
  • Pages
  • Templates download
    • Employee
    Last edited 6 months ago
    by Redaktion

    Employee

    • English
    Revision as of 13:47, 11 May 2023 by Redaktion (talk | contribs)
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Download

    Screenshot of employees gallery

    This template creates an employees gallery that you can include on portal pages, for example.

    Importing the template

    Importing the template

    The import file is included in the archive file HW-Employee.zip. Unpack the zip file first.

    On the page Special:Import follow these steps:

    1. Select file and choose HW-Employee.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.

    Pages included in the import

    The xml import creates the following files in your wiki:

    • Template:Employee
    • Template:Employee/styles.css

    Creating the employee gallery

    You can add each individual employee card as a template. Alternatively, you can add a "batch" of employees directly in the source mode of the page.

    1. From the Visual Editor Insert > Template menu, add the template "Employee".
      Screenshot of dialog to select the Employee template
      Select the Employee template
    2. Provide the necessary information in the parameter fields.

    Adding a "batch" of employees

    To speed up the process, you can quickly add the template multiple times directly in the source editing mode. This also allows you to add a colored grey wrapper around the gallery:

    <div style="background:#e9e9ee">
    {{Employee|title=Title|image=|name=Employee name|department=Department|username=}}
    {{Employee|title=Title|image=|name=Employee name|department=Department|username=}}
    {{Employee|title=Title|image=|name=Employee name|department=Department|username=}}
    {{Employee|title=Title|image=|name=Employee name|department=Department|username=}}
    {{Employee|title=Title|image=|name=Employee name|department=Department|username=}}
    {{Employee|title=Title|image=|name=Employee name|department=Department|username=}}
    </div>
    

    Available parameters

    Element Value Description
    1 title text Job title
    2 image file name (without naemspace prefix) Name of the uploaded user image (e.g.: lastnamefirstname.png). If left empty, the template looks for the profile image of the user.
    3 name text Name of the employee
    4 department text Department of the employee
    5 username username (without namespace prefix) If the user exists in the wiki and the user name is provided, the employee card links to the user's profile page.
    6 employeepage name of a wiki page If the employee does not exist as user, an employee page can be created anywhere in the wiki. If a page name is provided here, the employee card links to that page.


    PDF exclude - start

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

    PDF exclude - end


    Retrieved from "https://en.wiki5.bluespice.com/w/index.php?title=Templates_download/Employee&oldid=6094"
    No categories assignedEdit
    Page actions and tools navigaiton contains tabs, toolbox and actions
    Actions
    • Refresh
    • Copy URL
    • E-Mail
    • QR code
    Details
    • View history
    • Page information
    • Browse properties
    • ... all actions
    • Privacy policy
    • Terms of service
    • Disclaimer
    • Imprint
    • Accessibility
    • About
    • Analysis service
    • Edit preview settings
    • Powered by MediaWiki
    • Powered by BlueSpice
    • Powered by Semantic MediaWiki
    • Creative Commons License