Difference between revisions of "Template:Ambox"

From MicroWiki, the micronational encyclopædia
Jump to navigation Jump to search
m (8 revisions)
(Test new code)
 
Line 1: Line 1:
{{#switch:{{{small|}}}
+
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}};{{NAMESPACENUMBER}}|left;0|[[Category:Articles using small message boxes]]}}<noinclude>
| left =
+
{{documentation}}
  {{Ambox/core
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
  | small      = left
+
</noinclude>
  | 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>[[Category:Templates|{{PAGENAME}}]] [[Category:Message boxes|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 19:10, 29 November 2021

Template documentation[create]