Actions

JDOC

Difference between revisions of "Local wiki templates"

From Joomla! Documentation

m (update alpha sort of category)
m (Joomla Version Icons: JVer/multi information added)
Line 86: Line 86:
  
 
Full documentation on the JVer template can be found [[Template:JVer/doc|here]].
 
Full documentation on the JVer template can be found [[Template:JVer/doc|here]].
 +
 +
You can also use the {{tl|JVer/multi}} Template to place multiple version icons.
 +
 +
{|class="prettytable parameters"
 +
|-
 +
!Versions
 +
!Short icon
 +
!Long icon
 +
|-
 +
|CMS Versions
 +
|<nowiki>{{JVer/multi|1.0,1.5}}</nowiki>: {{JVer/multi|1.0,1.5}}
 +
|<nowiki>{{JVer/multi|1.6,1.7,2.5|Joomla Version|long}}</nowiki>: {{JVer/multi|1.6,1.7,2.5|Joomla Version|long}}
 +
|-
 +
|Platform
 +
|<nowiki>{{JVer/multi|11.1,11.2}}</nowiki>: {{JVer/multi|11.1,11.2}}
 +
| '''Not Available'''
 +
|-
 +
|Mix CMS/Platform
 +
|<nowiki>{{JVer/multi|1.7,11.2}}</nowiki>: {{JVer/multi|1.7,11.2}}
 +
| '''Not Available'''
 +
|}
 +
 +
For more information on use, specifically the long version icon use, please see, {{tl|Jver/multi}}
  
 
==Table of Contents==
 
==Table of Contents==

Revision as of 17:25, 20 September 2012

Local wiki templatesLocal wiki extensionsLocal interwiki links

MediaWiki templates should not to be confused with Joomla! templates! MediaWiki templates are "boiler-plate" items that can be included in your wiki pages by inserting a simple reference.

Contents

Incomplete Content Notice

Insert {{incomplete}} to obtain the following notice:

Note

Please note that the content on this page is currently incomplete. Please treat it as a work in progress.

Standard License Notice

Insert {{license}} to obtain the following notice:


License

The contents of this wiki are subject to copyright law and are made available under the Joomla! Electronic Documentation License (JEDL) unless otherwise stated. You may find the JEDL Frequently Asked Questions useful in determining if your proposed use of this material is allowed. If you have any questions regarding licensing of this material please contact legal@opensourcematters.org. If you wish to report a possible violation of the license terms for the material on this site then please contact legal@opensourcematters.org.

Page In Use Notice

Insert {{inuse}} to obtain the following notice:

Quill icon.png
Page Actively Being Edited!

This project page is actively undergoing a major edit for a short while.
As a courtesy, please do not edit this page while this message is displayed. The user who added this notice will be listed in the page history. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page. If this page has not been edited for several hours, please remove this template, or replace it with {{underconstruction}} or {{incomplete}}.

Under Construction Notice

Insert {{underconstruction}} to obtain the following notice:

Documentation all together tranparent small.png
Under Construction

This project page or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this project page or section has not been edited in several days, please remove this template.
This page was last edited by Tom Hutchison (talk| contribs) 22 months ago. (Purge)


Article Reviews and Needs

Once you're done with editing please replace {{underconstruction}} and {{inuse}} with {{review}}. This will add your document to the Category:Needs review.

Copyedit.png
This Page Needs Your Help

This page is tagged because it NEEDS REVIEW. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.


You can also use the {{page}} notice if the page needs review or something other than a review.
Examples are:{{page|needs more content}} which would add the article to the Category:Needs more content.

Copyedit.png
This Page Needs Your Help

This page is tagged because it NEEDS MORE CONTENT. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.


Or use, {{page|needs images}} which would add the article to the Category:Needs images.

Copyedit.png
This Page Needs Your Help

This page is tagged because it NEEDS IMAGES. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.


Request for Deletion Notice

If you believe that a page should be deleted then please add {{delete}} at the top of the page. You should add a reason for the wanting to delete the page, like this: {{delete|Content now included in [[this page]]}}

Joomla Version Icons

To indicate availability of a class, method or some piece of functionality in or from a particular version of Joomla, you can use the {{JVer}} template. Only certain specific version numbers are supported:

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
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

By default the alt tag generated will be the same as the version number, prefixed with the word "Joomla". You can override this default by adding a second parameter. For example, to get an alt tag of "Only available in Joomla 1.5" you should use {{JVer|1.5|Only available in Joomla 1.5}} which produces this: Only available in Joomla 1.5

Full documentation on the JVer template can be found here.

You can also use the {{JVer/multi}} Template to place multiple version icons.

Versions Short icon Long icon
CMS Versions {{JVer/multi|1.0,1.5}}:  Joomla 1.0 Joomla 1.5 {{JVer/multi|1.6,1.7,2.5|Joomla Version|long}}:  Joomla Version Joomla Version Joomla Version
Platform {{JVer/multi|11.1,11.2}}:  Joomla 11.1 Joomla 11.2 Not Available
Mix CMS/Platform {{JVer/multi|1.7,11.2}}:  Joomla 1.7 Joomla 11.2 Not Available

For more information on use, specifically the long version icon use, please see, {{Jver/multi}}

Table of Contents

You will get a table of contents box on each page by default as soon as you start making use of headings and subheadings on the page. The default table of contents box is located on the left and text does not flow around it. You can make the table of contents box float right by inserting {{RightTOC}} at the appropriate place in your page. You can also suppress the table of contents box altogether by inserting __NOTOC__ at the top of the page.

Shortcuts, Links & Navigation

Some URLs can become utterly long, some are ugly, and some are just tedious to type over and over again. Adding categories to a page can become equally annoying.

To simplify your job try some of the following templates. Similar to the interwikis, they're true keystroke-savers:

  • {{jsite|keyword}}, for example:
{{jsite}} = www.joomla.org
{{jsite|forum}} = forum.joomla.org
{{jsite|ext}} = extensions.joomla.org. For more see {{jsite}}.
  • {{jforum|keyword}}, shortcuts for the many Working Group fora, i.e.
{{jforum}} = forum.joomla.org
{{jforum|doc}} = Documentation forum
{{jforum|devdoc}} = Developer Documentation forum. For more see {{jforum}}.

See also: