Difference between revisions of "Template:Ambox"

From Self-sufficiency
Jump to: navigation, search
(Deploying the "small=left" feature, thus now using {{ambox/core}}. Tested in /sandbox and discussed in many places, see talk page.)
m (1 revision imported)
 
(11 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}}}
+
  }}
+
}}<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