Difference between revisions of "Template:Ambox"

Jump to navigation Jump to search
792 bytes removed ,  19:10, 29 November 2021
Test new code
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>
moderator, patroller
2,587

edits

Advertising:

Navigation menu