Difference between revisions of "Template:Mbox"

From Veloopti Help
Jump to: navigation, search
(This template has now been checked and tested, it works correctly in the new "Book:" and "Book talk:" namespaces. And a minor update to "{{pp-template}}".)
m (55 revisions from w:en:Template:Ambox: Useful)
Line 1: Line 1:
{{
+
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
   {{namespace detect
+
| left =
   | demospace = {{{demospace|}}}
+
   {{Ambox/core
   | main     = ambox
+
  | small      = left
   | talk      = tmbox
+
   | type      = {{{type|}}}
   | file     = imbox
+
   | image     = {{#if:{{{smallimage|}}}
   | category = cmbox
+
                | {{{smallimage}}}
   | other    = ombox
+
                | {{{image|}}}
 +
                }}
 +
   | imageright = {{#if:{{{smallimageright|}}}
 +
                | {{{smallimageright}}}
 +
                | {{{imageright|}}}
 +
                }}
 +
   | style     = {{{style|}}}
 +
   | textstyle = {{{textstyle|}}}
 +
   | text      = {{#if:{{{smalltext|}}}
 +
                | {{{smalltext}}}
 +
                | {{{text}}}
 +
                }}
 
   }}
 
   }}
| type      = {{{type|}}}
+
| #default =
| image      = {{{image|}}}
+
  {{Ambox/core
| imageright = {{{imageright|}}}
+
  | type      = {{{type|}}}
| style      = {{{style|}}}
+
  | image      = {{{image|}}}
| textstyle  = {{{textstyle|}}}
+
  | imageright = {{{imageright|}}}
| text      = {{{text}}}
+
  | style      = {{{style|}}}
| small      = {{{small|}}}
+
  | textstyle  = {{{textstyle|}}}
| smallimage = {{{smallimage|}}}
+
  | text      = {{{text}}}
| smallimageright = {{{smallimageright|}}}
+
  }}
| smalltext  = {{{smalltext|}}}
+
}}<!--
}}<noinclude>
+
 
 +
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!--
 +
 
 +
--><!--{{Ambox}} end--><noinclude>
  
 
{{pp-template}}
 
{{pp-template}}
{{documentation}}
+
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 06:17, 19 March 2010

Template:Ambox/core

50px Template documentation[create]