Template

Difference between revisions of "AmboxNew"

From Joomla! Documentation

m (update)
m (oops, o not 0)
 
(11 intermediate revisions by the same user not shown)
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|left|{{{imagesize|25px}}}]]
+
     |protection= [[Image:Padlock.png|{{{imagesize|25px}}}]]
     |protection= [[Image:Padlock.png|left|{{{imagesize|25px}}}]]
+
     | copyedit = [[Image:Copyedit.png|{{{imagesize|25px}}}]]
     | copyedit = [[Image:Copyedit.png|left|{{{imagesize|25px}}}]]
+
     | content  = [[Image:Quill_icon.png|{{{imagesize|30px}}}]]
     | content  = [[Image:Quill_icon.png|left|{{{imagesize|30px}}}]]
+
     | style    = [[Image:Broom-icon.png|{{{imagesize|25px}}}]]
     | style    = [[Image:Broom-icon.png|left|{{{imagesize|25px}}}]]
+
     | merge    = [[Image:Merge-icon.png|{{{imagesize|25px}}}]]
     | merge    = [[Image:Merge-icon.png|left|{{{imagesize|25px}}}]]
+
     | split    = [[Image:Split-icon.png|{{{imagesize|25px}}}]]
     | split    = [[Image:Split-icon.png|left|{{{imagesize|25px}}}]]
+
     | notice  = [[Image:Info_non-talk.png|{{{imagesize|25px}}}]]
     | notice  = [[Image:Info_non-talk.png|left|{{{imagesize|25px}}}]]
+
     | jdoc    = [[Image:Documentation_all_together_tranparent_small.png|{{{imagesize|50px}}}]]
     | jdoc    = [[Image:Documentation_all_together_tranparent_small.png|left|{{{imagesize|50px}}}]]
+
     | archive  = [[File:Replacement filing cabinet.png|{{{imagesize|25px}}}]]
     | archive  = [[File:Replacement filing cabinet.png|left|{{{imagesize|25px}}}]]
+
     | delete  = [[File:Delete-icon.png|{{{imagesize|25px}}}]]
     | delete  = [[File:Delete-icon.png|left|{{{imagesize|25px}}}]]
+
     | tip      = {{icon|lightbulb-o|2x}}
     | tip      = [[File:Tip-icon.png|left|{{{imagesize|25px}}}]]
 
 
     | jver15      = {{JVer|1.5}}
 
     | jver15      = {{JVer|1.5}}
 
     | jver25      = {{JVer|2.5}}
 
     | jver25      = {{JVer|2.5}}
Line 39: Line 38:
 
     | jver3x      = {{JVer|3.x}}
 
     | jver3x      = {{JVer|3.x}}
 
     | blank = <!--blank-->
 
     | blank = <!--blank-->
     |#default  = [[Image:Info_non-talk.png|left|{{{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 55: Line 54:
 
   | none    = <!-- none -->
 
   | none    = <!-- none -->
 
   | #default = {{{title|General Information}}}
 
   | #default = {{{title|General Information}}}
}} }}}</div>
+
}}}}}</div></div><p class="ambox" style="font-size:.9em;">{{{text}}}</p></div><noinclude>
  {{#if:{{{text}}}|<p style="font-size:.9em;">{{{text}}}</p>|}}
 
</div>
 
<noinclude>
 
 
{{pp-template}}
 
{{pp-template}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 08:45, 25 May 2015

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