Hi Everyone
Over the past few weeks I have created a few new templates on the wiki.
Now we just need some help in tagging more of the articles with the
appropriate version references.
{{version}} and {{version/tutor}} are the main two templates which help
show a documentation user the version of Joomla the page is referencing
with a notice and the version icons. I set them up for ease in use, or a
more detailed use. Example usage, put as the very first line:
{{version|2.5}} for an article reference or {{version/tutor|2.5}} for a
tutorial reference(the page should be in a tutorial category).
Chris installed the arrays extension to make Version tagging a bit
easier too. Using {{version|1.6,1.7,2.5}} or
{{version/tutor|1.6,1.7,2.5}} will add all 3 icons. Just separate the
versions with a comma and the template will read the array of versions
numbers and show the icons.
Page tagging will also help show DPL(Dynamic Page List) lists of
articles to which version they refer. I rewrote some of the DPL
listings on some of the article/tutorial link pages to look at the
content of the {{version}} template and preform automatic tagging with
the version icons next to the listing link of each article name. Say a
page shows a DPL of category=components and category=FAQ, the articles
with the {{version}} template used will let a user know what version the
article is for with an icon. Here is a link to a page with good example
usage: http://docs.joomla.org/Component_Development
Some also might be interested in,
http://docs.joomla.org/Article_Management where I made use of DPL to
pull in some Help screen page information to show the Description of
each Help screen with a link and version number.
There are a few other templates, but those are the main ones and easy to
tag articles with. Standard lists of articles will still need to be
manually tagged:
[[An article example]] {{JVer|1.5}}
I did add a {{JVer/multi}} template so you can
{{JVer/multi|1.6,1.7,2.5}} instead of having to do each one individually.
Take care
Tom