Difference between revisions of "Template:Ambox/core"

From blackwiki
Jump to navigation Jump to search
blackwiki>Edokter
m (Reverted edits by M777 (talk) to last version by MSGJ)
Line 1: Line 1:
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}" role="presentation">
+
{{Documentation subpage}}
<tr>{{#switch:{{{image|}}}
+
 
|blank
+
This is the {{tl|Ambox/core}} sub-template.
|none = <td class="mbox-empty-cell"></td>
+
 
|#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}}
+
Do not use this template directly; use {{tl|Ambox}} instead.
  |{{{image}}}
+
 
  |[[File:{{#switch:{{{type|}}}
+
This template is called by {{tl|Ambox}}. It holds almost all of the code for {{tlf|Ambox}}, while {{tlf|Ambox}} itself performs parameter preprocessing.
  |speedy = Ambox speedy deletion.png
+
 
  |delete = Ambox deletion.png
+
For more documentation, see {{tl|Ambox}}.
  |content = Ambox content.png
+
 
  |style = Edit-clear.svg
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
  |move = Ambox move.png
+
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
  |protection = Ambox protection.png
+
[[Category:Mbox and messagebox templates]]
  |notice|#default = Ambox notice.png
+
}}</includeonly>
  }}|40x40px|link=|alt=]]
 
}}</div></td>
 
}}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}<span class="hide-when-compact"> {{#if:{{{talk|}}}
 
|{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
 
  |{{{talk}}}
 
  |{{TALKPAGENAME}}
 
  }}
 
  |&#32;Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
 
  |[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]]
 
  |the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]]
 
  }}.
 
}}
 
}} {{{fix|}}}</span>{{#if:{{{date|}}}
 
|&#32;<small>''({{{date}}})''</small>
 
}}<span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}}
 
|none =
 
|=
 
|#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
 
}}</tr></table><noinclude>
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Revision as of 00:04, 30 December 2015


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

Do not use this template directly; use {{Ambox}} instead.

This template is called by {{Ambox}}. It holds almost all of the code for {{Ambox}}, while {{Ambox}} itself performs parameter preprocessing.

For more documentation, see {{Ambox}}.