Template

Difference between revisions of "Documentation/preload"

From Joomla! Documentation

< Template:Documentation
m (trying to improve preload)
m (fixing)
 
Line 7: Line 7:
 
== Usage ==
 
== Usage ==
 
Provide examples such as ....
 
Provide examples such as ....
* via {{tl|tl}}  for templates w/o params: {{tl|template name|foo}}
+
* via {{tl|tl}}  for templates w/o params: {{xpd|tl|template name}}
* via {{tl|tlx}} for templates with params &amp; complex output: {{tlx|template name|foo|param&#61;bar}}
+
* 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}}
 
* via {{tl|xpd}} for templates with simple &amp; output: {{xpd|template name|foo|param&#61;bar}}
  

Latest revision as of 10:47, 28 July 2014

Enter the purpose of this template...

Functions/Features[edit]

Describe its features ...

Usage[edit]

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
    Info non-talk.png
    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[edit]

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

Known Issues[edit]

Include notes about ...

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

See also[edit]

Provide links to ...

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

Stylesheet[edit]

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

some.class

<includeonly> <includeonly>