Template

Glosslink

From Joomla! Documentation

Revision as of 08:03, 7 May 2008 by CirTap (talk | contribs)

Template code hidden from display

[view] [edit] [history]

Template-info.pngTemplate documentation

Displays up to 5 links to the standard Joomla! Glossary. If used on the Glossary page itself creates an anchored link to the respective section. Please refer to the glossary documentation about adding entries.

Functions/Features[edit]

The templates takes care to encode the given string into valid HTML anchor target, ie. "Joomla!" becomes "Joomla.21". HTML hyperlinks may also point to the id of an HTML element on the target page and this feature is used on the glossary.

Usage[edit]

{{glosslink|Heading 1|Heading 2}}
{{glosslink|label=Related information:|Heading 2}}

Parameters[edit]

All numbered parameters should or course point to existing and valid section names (~ headings) or element IDs on the Glossary page. In theory these are simple words such as ACL or Modules. If it contains any of | { [ ] } = use their numeric HTML entities instead.

{{{label}}}
an alternative label preceeding the links. Default is '''See also:'''. To ommit the label from display use
  •   the HTML entity for the space character
  •   he HTML entity for the non-breaking space character

Known Issues[edit]

none so far.