Difference between revisions of "Template:Mbox"

From Timelines
Jump to: navigation, search
(steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}})
m (Changed protection level for "Template:Mbox": Allowing template editors on some templates with full protection dating back to pre-WP:TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefinite)...)
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{ {{#switch:{{NAMESPACE}}
+
{{#invoke:Message box|mbox}}<noinclude>
|{{ns:0}}=ambox
+
{{documentation}}
|{{ns:Image}}=imbox
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|{{ns:Category}}=cmbox
+
</noinclude>
|#default=ambox
 
}}
 
|{{#if:{{{type|}}}|type|}}={{{type|}}}
 
|{{#if:{{{image|}}}|image|}}={{{image|}}}
 
|{{#if:{{{style|}}}|style|}}={{{style|}}}
 
|{{#if:{{{textstyle|}}}|textstyle|}}={{{textstyle|}}}
 
|{{#if:{{{text|}}}|text|}}={{{text|}}}
 
}}
 

Latest revision as of 08:04, 25 March 2017

Template documentation[create]