Difference between revisions of "Template:Ambox"

From Self-sufficiency
Jump to: navigation, search
(remove {{pp-template}})
m (1 revision imported)
 
(4 intermediate revisions by 3 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>
+
 
+
{{Documentation}}
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
 
</noinclude>
 
</noinclude>

Latest revision as of 20:57, 17 February 2018