Difference between revisions of "Template:Mbox"
From Veloopti Help
(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 = |
− | | | + | {{Ambox/core |
− | | | + | | small = left |
− | | | + | | type = {{{type|}}} |
− | | | + | | image = {{#if:{{{smallimage|}}} |
− | | | + | | {{{smallimage}}} |
− | | | + | | {{{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|}}} |
− | + | | textstyle = {{{textstyle|}}} | |
− | + | | text = {{{text}}} | |
− | | | + | }} |
− | | | + | }}<!-- |
− | }}<noinclude> | + | |
+ | --><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!-- | ||
+ | |||
+ | --><!--{{Ambox}} end--><noinclude> | ||
{{pp-template}} | {{pp-template}} | ||
− | {{ | + | {{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
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |