Difference between revisions of "Template:Ambox"

From Self-sufficiency
Jump to: navigation, search
m (Add code for incorrectly substed templates, or minor tidy up using AWB)
 
m (1 revision imported)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
+
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude>
| left =
+
{{documentation}}
  {{Ambox/core
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
  | small      = left
+
  | type      = {{{type|}}}
+
  | image      = {{#if:{{{smallimage|}}}
+
                | {{{smallimage}}}
+
                | {{{image|}}}
+
                }}
+
  | imageright = {{#if:{{{smallimageright|}}}
+
                | {{{smallimageright}}}
+
                | {{{imageright|}}}
+
                }}
+
  | style      = {{{style|}}}
+
  | textstyle  = {{{textstyle|}}}
+
  | text      = {{#if:{{{smalltext|}}}
+
                | {{{smalltext}}}
+
                | {{{text}}}
+
                }}
+
  }}
+
| #default =
+
  {{Ambox/core
+
  | type      = {{{type|}}}
+
  | image      = {{{image|}}}
+
  | imageright = {{{imageright|}}}
+
  | style      = {{{style|}}}
+
  | textstyle  = {{{textstyle|}}}
+
  | text      = {{{text}}}
+
  }}
+
}}<!--
+
 
+
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!--
+
 
+
--><!--{{Ambox}} end--><noinclude>
+
 
+
{{pp-template}}
+
{{Documentation}}
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
 
</noinclude>
 
</noinclude>

Latest revision as of 21:57, 17 February 2018