Difference between revisions of "Template:Ambox"

From Self-sufficiency
Jump to: navigation, search
(Autocategorize article message box templates, per proposal)
m (1 revision imported)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#switch:{{{small|}}}
+
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude>
| left =
+
  {{ambox/core
+
  | 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><!--
+
 
+
--><noinclude>
+
 
+
{{pp-template}}
+
 
{{documentation}}
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:57, 17 February 2018