Template

Documentation/preload: Difference between revisions

From Joomla! Documentation

CirTap (talk | contribs)
m 1 revision(s)
Tom Hutchison (talk | contribs)
m fixing
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>Purpose of this template...
{{documentation subpage}}
Enter the purpose of this template...


Provided features...
== Functions/Features ==
Describe its features ...


Restrictions on namespace...
== Usage ==
Provide examples such as ....
* via {{tl|tl}}  for templates w/o params: {{xpd|tl|template name}}
* via {{tl|tlx}} for templates with params &amp; complex output: {{xpd|tlx|template name|foo|param&#61;bar}}
* via {{tl|xpd}} for templates with simple &amp; output: {{xpd|template name|foo|param&#61;bar}}


==Parameters==
== Parameters ==
if any
{|class="prettytable parameters"
|-
!Parameter
!Parameter description
!req./opt.
|-
|<nowiki>{{{1}}}</nowiki>
|description of unnamed parameter 1
|class="req"|required
|-
|<nowiki>{{{foobar}}}</nowiki>
|Default: "batbaz". Description of named parameter 'foobar'
|class="opt"|optional
|}


==Usage==
== Known Issues ==
<pre>
Include notes about ...
example calls
* dependencies (templates, extensions, assets)
</pre>
* limitations, technical probs, namespace restrictions
* rendering issues


Caveats, additional links, Categories
== See also ==
</onlyinclude>
Provide links to ...
[[Category:Template documentation]]
* related templates
* supplemental documentation
* style guides
* example pages
 
== Stylesheet ==
Provide CSS selectors ... for [[MediaWiki::joomla.css]] (or [[MediaWiki::common.css]])
some.class
 
<!-- REMOVE BLANKS in includeonly-tags and edit *calling* TEMPLATE CATEGORIES BELOW THIS LINE
  noteworthy: [[Category:Wiki templates using Extensions]]
-->
<include<includeonly></includeonly>only>
[[Category:Wiki Template stubs|{{PAGENAME}}]]
<include<includeonly></includeonly>only>
<noinclude>[[Category:Wiki Preloading templates]]</noinclude>

Latest revision as of 15:47, 28 July 2014

Enter the purpose of this template...

Functions/Features

Describe its features ...

Usage

Provide examples such as ....

  • via {{tl}} for templates w/o params: {{tl|template name}} gives {{template name}}
  • via {{tlx}} for templates with params & complex output: {{tlx|template name|foo|param=bar}} gives {{template name|foo|param=bar}}
  • via {{xpd}} for templates with simple & output: {{template name|foo|param=bar}} gives
    General Information

    This is a dummy template with absolutely no value except as a placeholder for demo of JDOC's templates. You should return to the page you just came from by clicking on the back button of your browser.

Parameters

Parameter Parameter description req./opt.
{{{1}}} description of unnamed parameter 1 required
{{{foobar}}} Default: "batbaz". Description of named parameter 'foobar' optional

Known Issues

Include notes about ...

  • dependencies (templates, extensions, assets)
  • limitations, technical probs, namespace restrictions
  • rendering issues

See also

Provide links to ...

  • related templates
  • supplemental documentation
  • style guides
  • example pages

Stylesheet

Provide CSS selectors ... for [[MediaWiki::joomla.css]] (or [[MediaWiki::common.css]])

some.class

<includeonly> <includeonly>