Difference between revisions of "Templates download/Mention"

(Created page with "<div class="downloadarea"> <span class="getButton">Download</span> 361x361px|alt=screenshot of a mention</div> This te...")
Tag: 2017 source edit
 
(No difference)

Latest revision as of 15:55, 10 February 2022

This template gives users a quick way of creating a user mention by simply typing {{ (opening the template dialog) and then selecting the template @ . Optionally, users can activate (email or wiki) notifications if they are mentionned on the wiki.

Importing the template[edit | edit source]

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

On the page Special:Import, follow these steps:

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

Important!If, after importing the template to your wiki, the input field is not displayed when you first integrate the template into a wiki page, you need to open the template in the Template namespace, make a "null-edit" change (e.g., insert spaces) and save the template. The input field should now be displayed correctly when using the template.


Pages included in the import[edit | edit source]

The xml import creates the following files in your wiki:

  • Template:@
  • Template:@/styles.css

Using the template[edit | edit source]

  1. Enter {{ in visual editing mode.
  2. Choose the template @.
    User selection

  3. Select a user name.
    Select a user name

  4. Click "Save changes".

Activate notifications[edit | edit source]

Users can activate notifications for mentions in their personal preferences :

  1. Select the tab Notifications.
  2. Activate the notifications options for mentions.
  3. Save your changes.
    Activating notifications


No categories assignedEdit

Discussions