Difference between revisions of "AmboxNew"
From Joomla! Documentation
m (h3 to p class) |
m (p to div) |
||
Line 18: | Line 18: | ||
|#default = notice | |#default = notice | ||
}}"> | }}"> | ||
− | < | + | <div class="subheader-ambox">{{#switch:{{{image|{{{type|}}}}}} |
| serious = [[Image:Stop_hand_nuvola.svg.png|left|{{{imagesize|25px}}}]] | | serious = [[Image:Stop_hand_nuvola.svg.png|left|{{{imagesize|25px}}}]] | ||
|protection= [[Image:Padlock.png|left|{{{imagesize|25px}}}]] | |protection= [[Image:Padlock.png|left|{{{imagesize|25px}}}]] | ||
Line 49: | Line 49: | ||
| none = <!-- none --> | | none = <!-- none --> | ||
| #default = Informational Notice | | #default = Informational Notice | ||
− | }} }}} </ | + | }} }}}</div> |
<p style="font-size:.9em;">{{{text}}}</p> | <p style="font-size:.9em;">{{{text}}}</p> | ||
</div> | </div> |
Revision as of 22:02, 2 September 2013
This documentation is transcluded from Template:AmboxNew/doc.
To discuss this template as a whole, please see JDOC:WTP. If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.
Functions/Features[edit]
Usage[edit]
Provide examples such as ....
- via {{tl}} for templates w/o params: {{template name}}
- via {{tlx}} for templates with params & complex output: {{template name|foo|param=bar}}
- via {{xpd}} for templates with simple & output: {{
template name|foo|param=bar
}} gives
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