Difference between revisions of "Template:Mbox"
From WikiTemp, the GBAtemp wiki
m |
m |
||
Line 1: | Line 1: | ||
{{{{#switch:{{NAMESPACE}} | {{{{#switch:{{NAMESPACE}} | ||
− | + | |{{TALKSPACE}}=Tmbox | |
− | + | |{{ns:0}}=Ambox | |
− | + | |{{ns:6}}=Imbox | |
− | + | |{{ns:14}}=Cmbox | |
− | + | |#default=Ombox}}<!-- | |
− | + | -->{{#if:{{{color|}}}|{{!}}color = {{{color}}}}}<!-- | |
− | {{#if:{{{color|}}}|{{!}}color = {{{color}}}}} | + | -->{{#if:{{{background|}}}|{{!}}background = {{{background}}}}}<!-- |
− | {{#if:{{{background|}}}|{{!}}background = {{{background}}}}} | + | -->{{#if:{{{width|}}}|{{!}}width = {{{width}}}}}<!-- |
− | {{#if:{{{width|}}}|{{!}}width = {{{width}}}}} | + | -->{{#if:{{{image|}}}|{{!}}image = {{{image}}}}}<!-- |
− | {{#if:{{{image|}}}|{{!}}image = {{{image}}}}} | + | -->{{#if:{{{imagewidth|}}}|{{!}}imagewidth = {{{imagewidth}}}}}<!-- |
− | {{#if:{{{imagewidth|}}}|{{!}}imagewidth = {{{imagewidth}}}}} | + | -->{{#if:{{{text|}}}|{{!}}text = {{{text}}}}}}}<noinclude> |
− | {{#if:{{{text|}}}|{{!}}text = {{{text}}}}} | + | |
− | }}<noinclude> | + | |
{{Documentation}} | {{Documentation}} | ||
[[Category:Message Box Templates|{{PAGENAME}}]]</noinclude> | [[Category:Message Box Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 13:10, 4 January 2011
{{{text}}} |
↑ Template Documentation ↓ [Edit • Reload] |
---|
Template:Mbox implements all other *mbox templates. Depending on the namespace you place this template on, a different kind of box is used:
|
The above documentation was Transcluded from the /doc subpage |