Difference between revisions of "Template:Ombox/core"

From Xen
(Created page with "<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | speedy = ombox-speedy | delete = ombox-delete | content = ombox-content | …")
 
(Add class parameter)
Line 9: Line 9:
 
| notice <!-- notice = default -->
 
| notice <!-- notice = default -->
 
| #default = ombox-notice
 
| #default = ombox-notice
}}" style="{{{style|}}}">
+
}} {{{class|}}}" style="{{{style|}}}">
 
<tr>
 
<tr>
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
Line 53: Line 53:
   
 
{{documentation}}
 
{{documentation}}
[[Category:Templates]]
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 10:47, 30 November 2011

[edit] [purge] Template documentation

This is the {{ombox/core}} sub-template.

Do not use this template directly, use {{ombox}} instead.

This template is called from {{ombox}}. It holds most of the code for {{ombox}}, while {{ombox}} does parameter preprocessing. Thus simplifying the code in {{ombox/core}}.

For more documentation see {{ombox}}.

The above documentation is transcluded from Template:Ombox/core/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.