Template

Difference between revisions of "Jfr/doc"

From Joomla! Documentation

< Template:Jfr
m
m (1 revision(s))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
Use a '''major.minor''' version number of Joomla! as parameter <nowiki>{{{1}}}</nowiki> to link to the category page of that Joomla! Version. Also
+
Use a '''major.minor''' version vector of Joomla! as parameter <nowiki>{{{1}}}</nowiki> to link to the category page of that Joomla! Version.
 +
==Examples==
 
<pre>{{jfr|1.5}}
 
<pre>{{jfr|1.5}}
{{jfr|1.6}}
+
{{jfr|1.6.1|image}}
{{jfr|2.0}}</pre>
+
{{jfr|2.0.0|image|lb=<br/>}}</pre>
<includeonly>[[Category:Framework templates]] [[Category:Typing-aid templates]]
+
 
[[Category:Wiki Macros]]</includeonly>
+
==Parameters==
 +
Use <nowiki>{{{2=image}}}</nowiki> to depict a version logo as in {{xpd|jcompat|1.0|image|s=to render}}
 +
 
 +
The named parameter <tt><nowiki>{{{lb}}}</nowiki></tt> is useful to add an optional "line break" (&lt;br/&gt;) between the image, which will come first, an the textlinks. This ''feature'' is used in the floating box of {{tl|jfr_ref}}.
 +
 
 +
<includeonly>[[Category:Framework templates|{{PAGENAME}}]]
 +
[[Category:Wiki Macros|{{PAGENAME}}]]</includeonly>

Latest revision as of 12:47, 9 May 2008

This is a documentation subpage for Template:Jfr.
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:Jfr.

Use a major.minor version vector of Joomla! as parameter {{{1}}} to link to the category page of that Joomla! Version.

Examples[edit]

{{jfr|1.5}}
{{jfr|1.6.1|image}}
{{jfr|2.0.0|image|lb=<br/>}}

Parameters[edit]

Use {{{2=image}}} to depict a version logo as in {{jcompat|1.0|image}} to render Template:Jcompat

The named parameter {{{lb}}} is useful to add an optional "line break" (<br/>) between the image, which will come first, an the textlinks. This feature is used in the floating box of {{jfr_ref}}.