Template

Difference between revisions of "AmboxNew"

From Joomla! Documentation

m (updates)
m (small tweak, might roll back immediately)
Line 19: Line 19:
 
     | blank = blank
 
     | blank = blank
 
     |#default  = notice
 
     |#default  = notice
  }}">
+
}}"><div class="subheader-ambox">{{#switch:{{{image|{{{type|}}}}}}
  <div class="subheader-ambox">{{#switch:{{{image|{{{type|}}}}}}
 
 
     | serious  = [[Image:Stop_hand_nuvola.svg.png|{{{imagesize|25px}}}]]
 
     | serious  = [[Image:Stop_hand_nuvola.svg.png|{{{imagesize|25px}}}]]
 
     |protection= [[Image:Padlock.png|{{{imagesize|25px}}}]]
 
     |protection= [[Image:Padlock.png|{{{imagesize|25px}}}]]
Line 40: Line 39:
 
     | blank = <!--blank-->
 
     | blank = <!--blank-->
 
     |#default  = [[Image:Info_non-talk.png|{{{imagesize|25px}}}]]
 
     |#default  = [[Image:Info_non-talk.png|{{{imagesize|25px}}}]]
  }} <div class="ambox-title">{{{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 55:
 
   | #default = {{{title|General Information}}}
 
   | #default = {{{title|General Information}}}
 
}} }}}</div>
 
}} }}}</div>
</div>
+
</div><p class="ambox" style="font-size:.9em;">{{{text}}}</p></div>
  <p class="ambox" style="font-size:.9em;">{{{text}}}</p>
+
<noinclude>
</div><noinclude>
 
 
{{pp-template}}
 
{{pp-template}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:32, 18 October 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


Functions/Features[edit]

Info non-talk.png
General Information

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