Template:Mbox: Difference between revisions

From TestWiki
Content added Content deleted
(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|}}}
{{
| left =
{{namespace detect
{{Ambox/core
| demospace = {{{demospace|}}}
| main = ambox
| small = left
| talk = tmbox
| type = {{{type|}}}
| file = imbox
| image = {{#if:{{{smallimage|}}}
| {{{smallimage}}}
| category = cmbox
| other = ombox
| {{{image|}}}
}}
| imageright = {{#if:{{{smallimageright|}}}
| {{{smallimageright}}}
| {{{imageright|}}}
}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}
| {{{smalltext}}}
| {{{text}}}
}}
}}
}}
| #default =
| type = {{{type|}}}
{{Ambox/core
| image = {{{image|}}}
| 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 14:17, 19 March 2010

Template:Ambox/core

Template:Pp-template