Template:@/doc View history

This is a documentation subpage for Template:@.
It contains usage information, categories and other content that is not part of the original template page.

This template provide any easy way to add a link icon to each section (but can also be used to anything else) providing an URL to this section.

The purpose of this template is to provide an easy way to redirect a user directly to the right section in the right page. This is particularly useful in mentoring activities, when the mentor want to provide a link to a section dealing with the concept he's talking about with its mentee on WME Chat or in the Forum. Once he has identified the wiki section which is relevant, he just have to copy the link location (URL) of the small icon and paste it in the forum or in the Chat.

Usage

{{@|Title of the Section}} will produce:   Title of the Section link to this section

so concretely, a classic wikicode for a section like below
===== Title of the Section =====
should be modified as below
===== {{@|Title of the Section}} =====
to produce the following result :

Title of the Section link to this section

Limitations

The template will automatically create an Anchor (same behaviour than the {{Anchor}} template without the link icon) with the section title as Anchor Identifier. Thus, if your wiki page contains several sections with the same title, all will have the same Anchor identifier, which will result in a incorrect redirection when using the copied URL link.

In order to workaround this, a optional second parameter has been added to the template, allowing to specify an alternative Anchor ID. The syntax is the following :

{{@|Title of the Section|Alternate Anchor ID}} producing:   Title of the section link to this section

the only difference with the basic syntax is the URL provided by the link icon.