Documentation/preload: Difference between revisions
From Joomla! Documentation
No edit summary |
m fixing |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
Enter the purpose of this template... | |||
== Functions/Features == | == Functions/Features == | ||
Describe its features ... | |||
== Usage == | == Usage == | ||
Provide examples such as .... | |||
{{tlx|template name|foo|param=bar}} | * via {{tl|tl}} for templates w/o params: {{xpd|tl|template name}} | ||
* via {{tl|tlx}} for templates with params & complex output: {{xpd|tlx|template name|foo|param=bar}} | |||
* via {{tl|xpd}} for templates with simple & output: {{xpd|template name|foo|param=bar}} | |||
== Parameters == | == Parameters == | ||
{|class=" | {|class="prettytable parameters" | ||
|- | |- | ||
!Parameter | !Parameter | ||
!Parameter | !Parameter description | ||
!req./opt. | !req./opt. | ||
|- | |- | ||
|<nowiki>{{{1}}}</nowiki> | |<nowiki>{{{1}}}</nowiki> | ||
|description of unnamed parameter 1 | |description of unnamed parameter 1 | ||
| | |class="req"|required | ||
|- | |- | ||
|<nowiki>{{{foobar}}}</nowiki> | |<nowiki>{{{foobar}}}</nowiki> | ||
| | |Default: "batbaz". Description of named parameter 'foobar' | ||
| | |class="opt"|optional | ||
|} | |} | ||
== Known Issues == | == 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 | |||
<!-- REMOVE BLANKS in includeonly-tags and edit *calling* TEMPLATE CATEGORIES BELOW THIS LINE --> | <!-- REMOVE BLANKS in includeonly-tags and edit *calling* TEMPLATE CATEGORIES BELOW THIS LINE | ||
<includeonly >[[Category: | 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
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>