Template

Difference between revisions of "AmboxNew"

From Joomla! Documentation

m (adding a class for styling)
m (ambox- pre attach)
Line 1: Line 1:
<div class="panel radius {{#switch:{{{type|}}}
+
<div class="panel radius ambox-{{#switch:{{{type|}}}
 
     | serious  = serious
 
     | serious  = serious
 
     |protection= protection
 
     |protection= protection

Revision as of 18:11, 2 September 2013

Info non-talk.png
 Informational Notice

{{{text}}}

Padlock.png

This page is currently protected from editing . (protection log).
Please discuss changes on the talk page or request unprotection. You may use {{editprotected}} on the talk page to ask for an administrator to make an edit for you.

[view] [edit] [history]

Template-info.pngTemplate documentation


Functions/Features[edit]

Info non-talk.png
 Informational Notice

Documentation to be completed in the near future.


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

Info non-talk.png
 Informational Notice

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