JVer/doc
From Joomla! Documentation
< Template:JVerRevision as of 18:31, 18 February 2022 by M-b-o (talk | contribs) (→Supported Joomla version numbers)
Revision as of 18:31, 18 February 2022 by M-b-o (talk | contribs) (→Supported Joomla version numbers)
This is a documentation subpage for Template:JVer.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:JVer.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:JVer.
The JVer template embeds a standard Joomla version icon into a page.
Functions/Features[edit]
You can specify the version of Joomla and the tooltip text that the user will when they hover over the icon. You also have a choice of short or long versions of the icon.
Usage[edit]
- For a regular icon with the default tooltip text use {{JVer|2.5}}:
- Override the tooltip text by adding a second argument {{JVer|2.5|My tooltip}}:
- For a long icon, add the third argument {{JVer|2.5|This is a long icon|long}}:
Parameters[edit]
Parameter | Parameter description | req./opt. |
---|---|---|
{{{1}}} | Joomla version number. See below for the complete list of supported values. | required |
{{{2}}} | Tooltip text. Default: "Joomla " followed by the version specified in {{{1}}} | optional |
{{{3}}} | Icon style. The only value supported is "long". | optional |
Supported Joomla version numbers[edit]
Known Issues[edit]
- In order to get a long icon you must specify the tooltip text.
See also[edit]
- {{JVer/multi}}
- {{Version}}
- {{Version/tutor}}
Stylesheet[edit]
<include only> </include only>