Template

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
 
   }}">
 
   }}">
   <p class="subheader-ambox">{{#switch:{{{image|{{{type|}}}}}}
+
   <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
}} }}} </p>
+
}} }}}</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

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