Template:Mbox: Difference between revisions

From TestWiki
Content added Content deleted
m (Add code for incorrectly substed templates, or minor tidy up using AWB)
(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}}".)
Line 1: Line 1:
{{
<!--{{Ambox}} begin-->{{#switch:{{{small|}}}
{{namespace detect
| left =
| demospace = {{{demospace|}}}
{{Ambox/core
| small = left
| main = ambox
| type = {{{type|}}}
| talk = tmbox
| image = {{#if:{{{smallimage|}}}
| file = imbox
| category = cmbox
| {{{smallimage}}}
| {{{image|}}}
| other = ombox
}}
| imageright = {{#if:{{{smallimageright|}}}
| {{{smallimageright}}}
| {{{imageright|}}}
}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}
| {{{smalltext}}}
| {{{text}}}
}}
}}
}}
| type = {{{type|}}}
| #default =
| image = {{{image|}}}
{{Ambox/core
| type = {{{type|}}}
| imageright = {{{imageright|}}}
| image = {{{image|}}}
| style = {{{style|}}}
| imageright = {{{imageright|}}}
| textstyle = {{{textstyle|}}}
| style = {{{style|}}}
| text = {{{text}}}
| textstyle = {{{textstyle|}}}
| small = {{{small|}}}
| text = {{{text}}}
| smallimage = {{{smallimage|}}}
| 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 02:03, 30 December 2009

Template:Pp-template