Difference between revisions of "AmboxNew"
From Joomla! Documentation
m (Protected "Template:AmboxNew": High traffic page: will be a high-traffic use template ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m (oops, o not 0) |
||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="panel radius"> | + | <div class="panel radius ambox-{{#switch:{{{type|}}} |
− | + | | serious = serious | |
− | | serious = [[Image:Stop_hand_nuvola.svg.png | + | |protection= protection |
− | |protection= [[Image:Padlock.png| | + | | copyedit = copyedit |
− | | content = [[Image:Quill_icon.png | + | | content = content |
− | | style = [[Image:Broom-icon.png | + | | style = style |
− | | merge = [[Image:Merge-icon.png | + | | merge = merge |
− | | split = [[Image:Split-icon.png | + | | split = split |
− | | notice = [[Image:Info_non-talk.png | + | | notice = notice |
− | | jdoc = [[Image:Documentation_all_together_tranparent_small.png | + | | jdoc = jdoc |
− | | archive = [[File:Replacement filing cabinet.png | + | | archive = archive |
− | | delete = [[File:Delete-icon.png | + | | delete = delete |
− | | | + | | tip = tip |
− | | | + | | 1.5 = jver15 |
− | | | + | | 2.5 = jver25 |
− | | | + | | 3.0 = jver30 |
− | | | + | | 3.1 = jver31 |
+ | | 3.x = jver3x | ||
+ | | blank = blank | ||
+ | |#default = notice | ||
+ | }}"><div class="subheader-ambox">{{#switch:{{{image|{{{type|}}}}}} | ||
+ | | serious = [[Image:Stop_hand_nuvola.svg.png|{{{imagesize|25px}}}]] | ||
+ | |protection= [[Image:Padlock.png|{{{imagesize|25px}}}]] | ||
+ | | copyedit = [[Image:Copyedit.png|{{{imagesize|25px}}}]] | ||
+ | | content = [[Image:Quill_icon.png|{{{imagesize|30px}}}]] | ||
+ | | style = [[Image:Broom-icon.png|{{{imagesize|25px}}}]] | ||
+ | | merge = [[Image:Merge-icon.png|{{{imagesize|25px}}}]] | ||
+ | | split = [[Image:Split-icon.png|{{{imagesize|25px}}}]] | ||
+ | | notice = [[Image:Info_non-talk.png|{{{imagesize|25px}}}]] | ||
+ | | jdoc = [[Image:Documentation_all_together_tranparent_small.png|{{{imagesize|50px}}}]] | ||
+ | | archive = [[File:Replacement filing cabinet.png|{{{imagesize|25px}}}]] | ||
+ | | delete = [[File:Delete-icon.png|{{{imagesize|25px}}}]] | ||
+ | | tip = {{icon|lightbulb-o|2x}} | ||
+ | | jver15 = {{JVer|1.5}} | ||
+ | | jver25 = {{JVer|2.5}} | ||
+ | | jver30 = {{JVer|3.0}} | ||
+ | | jver31 = {{JVer|3.1}} | ||
+ | | jver3x = {{JVer|3.x}} | ||
| blank = <!--blank--> | | blank = <!--blank--> | ||
− | |#default = [[Image:Info_non-talk.png | + | |#default = [[Image:Info_non-talk.png|{{{imagesize|25px}}}]] |
− | + | }}<div class="ambox-title">{{{subject|{{#switch:{{{type|}}} | |
− | | serious = Warning! | + | | serious = {{{title|Warning Notice!}}} |
− | | content = Content | + | | content = {{{title|Content Notice}}} |
− | | style = Style | + | | copyedit = {{{title|Copy editing Notice}}} |
− | | merge = Merge Notice | + | | style = {{{title|Style Notice}}} |
− | | split = Split Notice | + | | merge = {{{title|Merge Notice}}} |
− | | notice = | + | | split = {{{title|Split Notice}}} |
− | | growth = Growth Notice | + | | notice = {{{title|General Information}}} |
− | |protection= Notice of Protection | + | | growth = {{{title|Growth Notice}}} |
− | | archive = Archived Notice | + | |protection= {{{title|Notice of Protection}}} |
− | | delete = Notice of Deletion | + | | archive = {{{title|Archived Notice}}} |
+ | | delete = {{{title|Notice of Deletion}}} | ||
+ | | tip = {{{title|A Helpful Tip}}} | ||
| none = <!-- none --> | | none = <!-- none --> | ||
− | | #default = | + | | #default = {{{title|General Information}}} |
− | }} }}} </ | + | }}}}}</div></div><p class="ambox" style="font-size:.9em;">{{{text}}}</p></div><noinclude> |
− | |||
− | </div> | ||
− | <noinclude> | ||
{{pp-template}} | {{pp-template}} | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 08:45, 25 May 2015
This documentation is transcluded from Template:AmboxNew/doc.
To discuss this template as a whole, please see JDOC:WTP. If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.
Functions/Features[edit]
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
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