Template:Mbox: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude><div {{#if: {{{id|}}} | id="{{{id}}}"}} class="mbox {{#ifeq: {{{small|}}} | yes | mbox-small}} {{#switch: {{ucfirst:{{{namespace|{{NAMESPACE}}}}}}} | {{TALKSPACE}} | Talk = tmbox | {{ns:category}} = cmbox | {{ns:file}} = imbox | {{ns:template}} = xmbox | {{ns:0}} | Main = ambox | Header | Footer = fmbox | #default = ombox }} {{#if: {{{type|}}} | mbox-{{{type}}} }} {{#ifeq: {{{plainlinks|}}} | yes | plainlinks}} {{#if: {{{class|}}} | {{{class}}}}}" {{#if: {{{style|}}} | style="{{{style}}}"}}>{{#if: {{{image|}}} | <div style="padding: 0.25em;" class="mbox-image">{{{image|}}}</div> }}<div class="mbox-message" {{#if: {{{textstyle|}}} | style="{{{textstyle}}}"}}>{{#if: {{{issue|}}} | {{{issue|}}}{{#if: {{{fix|}}} | &#32;{{{fix|}}}}} | {{{text|}}} }}{{#if: {{{date|}}} | &#32;<small class="mbox-date">({{{date|}}})</small> }}<div class="mbox-info">{{{info|}}}</div></div>{{#if: {{{imageright|}}} | <div class="mbox-image">{{{imageright|}}}</div> }}</div>{{#ifeq: {{{doc|}}} | yes || {{#if: {{{cat|}}} | <includeonly>[[Category:{{{cat|}}}|{{PAGENAME}}]]</includeonly>}}}}</onlyinclude>
<onlyinclude><div {{#if: {{{id|}}} | id="{{{id}}}"}} class="mbox {{#ifeq: {{{small|}}} | yes | mbox-small}} {{#switch: {{ucfirst:{{{namespace|{{NAMESPACE}}}}}}} | {{TALKSPACE}} | Talk = tmbox | {{ns:category}} = cmbox | {{ns:file}} = imbox | {{ns:template}} = xmbox | {{ns:0}} | Main = ambox | Header | Footer = fmbox | #default = ombox }} {{#if: {{{type|}}} | mbox-{{{type}}} }} {{#ifeq: {{{plainlinks|}}} | yes | plainlinks}} {{#if: {{{class|}}} | {{{class}}}}}" {{#if: {{{style|}}} | style="{{{style}}}"}}>{{#if: {{{image|}}} | <div style="padding: 0.25em;" class="mbox-image">{{{image|}}}</div> }}<div class="mbox-message" {{#if: {{{textstyle|}}} | style="{{{textstyle}}}"}}>{{#if: {{{issue|}}} | {{{issue|}}}{{#if: {{{fix|}}} | &#32;{{{fix|}}}}} | {{{text|}}} }}{{#if: {{{date|}}} | &#32;<small class="mbox-date">({{{date|}}})</small> }}<div class="mbox-info">{{{info|}}}</div></div>{{#if: {{{imageright|}}} | <div class="mbox-image">{{{imageright|}}}</div> }}</div>{{#ifeq: {{{doc|}}} | yes || {{#if: {{{cat|}}} | <includeonly>[[Category:{{{cat|}}}|{{PAGENAME}}]]</includeonly>}}}}</onlyinclude><noinclude>[[Category:Mbox and messagebox templates]]</noinclude>

Revision as of 09:27, 10 September 2019