Template

Difference between revisions of "JVer/doc"

From Joomla! Documentation

< Template:JVer
(Created page with "{{documentation subpage}} The JVer template embeds a standard Joomla version icon into a page. == Functions/Features == You can specify the version of Joomla and the tooltip tex...")
 
m (→‎Supported Joomla version numbers: added multi, prob should be CMS just like Platform icon will clean it up and standardize it later today)
Line 58: Line 58:
 
|<nowiki>{{JVer|3.0}}</nowiki>: {{JVer|3.0}}
 
|<nowiki>{{JVer|3.0}}</nowiki>: {{JVer|3.0}}
 
|<nowiki>{{JVer|3.0|Joomla 3.0|long}}</nowiki>: {{JVer|3.0|Joomla 3.0|long}}
 
|<nowiki>{{JVer|3.0|Joomla 3.0|long}}</nowiki>: {{JVer|3.0|Joomla 3.0|long}}
 +
|-
 +
|Joomla! CMS
 +
|<nowiki>{{JVer|multi}}</nowiki>: {{JVer|multi}}
 +
|Not available
 
|-
 
|-
 
|Platform
 
|Platform
Line 75: Line 79:
 
|Not available
 
|Not available
 
|}
 
|}
 +
 
== Known Issues ==
 
== Known Issues ==
 
* In order to get a long icon you must specify the tooltip text.
 
* In order to get a long icon you must specify the tooltip text.

Revision as of 14:18, 18 September 2012

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.

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}}: Joomla 2.5
  • Override the tooltip text by adding a second argument {{JVer|2.5|My tooltip}}: My tooltip
  • For a long icon, add the third argument {{JVer|2.5|This is a long icon|long}}: This is a long icon

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]

Version Short icon Long icon
CMS 1.0 {{JVer|1.0}}: Joomla 1.0 {{JVer|1.0|Joomla 1.0|long}}: Joomla 1.0
CMS 1.5 {{JVer|1.5}}: Joomla 1.5 {{JVer|1.5|Joomla 1.5|long}}: Joomla 1.5
CMS 1.6 {{JVer|1.6}}: Joomla 1.6 {{JVer|1.6|Joomla 1.6|long}}: Joomla 1.6
CMS 1.7 {{JVer|1.7}}: Joomla 1.7 {{JVer|1.7|Joomla 1.7|long}}: Joomla 1.7
CMS 2.5 {{JVer|2.5}}: Joomla 2.5 {{JVer|2,5|Joomla 2.5|long}}: Joomla 2.5
CMS 3.0 {{JVer|3.0}}: Joomla 3.0 {{JVer|3.0|Joomla 3.0|long}}: Joomla 3.0
Joomla! CMS {{JVer|multi}}: Joomla multi Not available
Platform {{JVer|Platform}}: Joomla Platform Not available
Platform 11.1 {{JVer|11.1}}: Joomla 11.1 Not available
Platform 11.2 {{JVer|11.2}}: Joomla 11.2 Not available
Platform 11.3 {{JVer|11.3}}: Joomla 11.3 Not available

Known Issues[edit]

  • In order to get a long icon you must specify the tooltip text.

See also[edit]

Stylesheet[edit]

<include only> </include only>