Template:Ambox/core: Difference between revisions

From VNDev Wiki
Created page with "<table class="metadata plainlinks ambox {{#switch:{{{small|}}} | left = mbox-small-left }} {{#switch:{{{type|}}} | speedy = ambox-speedy | serious | delete = ambox-delete | warning | content = ambox-content | attention | style = ambox-style | note | move = ambox-move | protection = ambox-protection | notice <!-- notice = default --> | #default = ambox-notice }}" style="{{{style|}}}"> <tr> {{#switch:{{{image|}}} | blank <!-- Fall back to "no..."
 
mNo edit summary
Line 49: Line 49:
   }}</td>
   }}</td>
}}
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
<td class="mbox-text" style="{{{textstyle|}}}"> {{{issue}}} </td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| {{#ifeq:{{{imageright|}}}|none

Revision as of 11:14, 18 June 2022

Documentation

This is the ambox/core sub-template.

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

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

For more documentation see {{ambox}}.