Actions

Template

Difference between revisions of "AmboxNew"

From Joomla! Documentation

m (adding a class to <p> element)
m (updates)
 
Line 40: Line 40:
 
     | blank = <!--blank-->
 
     | blank = <!--blank-->
 
     |#default  = [[Image:Info_non-talk.png|{{{imagesize|25px}}}]]
 
     |#default  = [[Image:Info_non-talk.png|{{{imagesize|25px}}}]]
   }} &nbsp;{{{subject|{{#switch:{{{type|}}}
+
   }} <div class="ambox-title">{{{subject|{{#switch:{{{type|}}}
 
   | serious  = {{{title|Warning Notice!}}}
 
   | serious  = {{{title|Warning Notice!}}}
 
   | content  = {{{title|Content Notice}}}
 
   | content  = {{{title|Content Notice}}}
Line 56: Line 56:
 
   | #default = {{{title|General Information}}}
 
   | #default = {{{title|General Information}}}
 
}} }}}</div>
 
}} }}}</div>
 +
</div>
 
   <p class="ambox" style="font-size:.9em;">{{{text}}}</p>
 
   <p class="ambox" style="font-size:.9em;">{{{text}}}</p>
 
</div><noinclude>
 
</div><noinclude>

Latest revision as of 13:21, 19 January 2014

Info non-talk.png
General Information

{{{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

Contents


Functions/Features

Info non-talk.png
General Information

Documentation to be completed in the near future.

Usage

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
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

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