Actions

Template

Difference between revisions of "AmboxNew"

From Joomla! Documentation

m (updating)
m (updating, adding tip)
Line 11: Line 11:
 
     | archive  = archive
 
     | archive  = archive
 
     | delete  = delete
 
     | delete  = delete
 +
    | tip      = tip
 
     | 1.5      = jver15
 
     | 1.5      = jver15
 
     | 2.5      = jver25
 
     | 2.5      = jver25
Line 31: Line 32:
 
     | archive  = [[File:Replacement filing cabinet.png|left|{{{imagesize|25px}}}]]
 
     | archive  = [[File:Replacement filing cabinet.png|left|{{{imagesize|25px}}}]]
 
     | delete  = [[File:Delete-icon.png|left|{{{imagesize|25px}}}]]
 
     | delete  = [[File:Delete-icon.png|left|{{{imagesize|25px}}}]]
 +
    | 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 41:
 
     |#default  = [[Image:Info_non-talk.png|left|{{{imagesize|25px}}}]]
 
     |#default  = [[Image:Info_non-talk.png|left|{{{imagesize|25px}}}]]
 
   }}  {{{subject|{{#switch:{{{type|}}}
 
   }}  {{{subject|{{#switch:{{{type|}}}
   | serious  = Warning Notice!
+
   | serious  = {{{title|Warning Notice!}}}
   | content  = Content Notice
+
   | content  = {{{title|Content Notice}}}
 
   | copyedit = {{{title|Copy editing Notice}}}
 
   | copyedit = {{{title|Copy editing Notice}}}
   | style    = Style Notice
+
   | style    = {{{title|Style Notice}}}
   | merge    = Merge Notice
+
   | merge    = {{{title|Merge Notice}}}
   | split    = Split Notice
+
   | split    = {{{title|Split Notice}}}
   | notice  = Informational Notice
+
   | notice  = {{{title|Informational Notice}}}
   | growth  = Growth Notice
+
   | growth  = {{{title|Growth Notice}}}
   |protection= Notice of Protection
+
   |protection= {{{title|Notice of Protection}}}
   | archive  = Archived Notice
+
   | archive  = {{{title|Archived Notice}}}
   | delete  = Notice of Deletion
+
   | delete  = {{{title|Notice of Deletion}}}
 +
  | tip      = {{{title|A Helpful Tip}}}
 
   | none    = <!-- none -->
 
   | none    = <!-- none -->
 
   | #default = Informational Notice
 
   | #default = Informational Notice

Revision as of 18:42, 3 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

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