Template: Mbox: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Mordin999 (talk | contribs)
m removed the default link from the icon.
Abjiklam (talk | contribs)
added 4px margin
Line 1: Line 1:
<table style="{{#IF: {{{style|}}} | {{{style}}} | margin: 0px 10% 0px 10%; border: 1px solid #aaa; background:#fbfbfb; }}"><tr>
<table style="{{#if: {{{style|}}} | {{{style}}} | margin: 4px 10%; border: 1px solid #aaa; background:#fbfbfb; }}"><tr>
<td style="padding: 2px 0 2px 0.5em;border-left: 10px solid {{#switch:{{{type|}}}
<td style="padding: 2px 0 2px 0.5em;border-left: 10px solid {{#switch:{{{type|}}}
   | none      =#ffffff;     
   | none      =#ffffff;     
Line 17: Line 17:
   | protected  =Mbox notice.png
   | protected  =Mbox notice.png
   | #default  =Mbox notice.png}} }}|40px|link=]]
   | #default  =Mbox notice.png}} }}|40px|link=]]
</div></td><td style="{{#IF: {{{text-style|}}} | {{{text-style}}} | border: none; padding: 0.25em 0.9em; width: 100%;}}"> {{{text|No text supplied}}}</td></tr></table><noinclude>  
</div></td><td style="{{#IF: {{{text-style|}}} | {{{text-style}}} | border: none; padding: 0.25em 0.9em; width: 100%;}}"> {{{text|{{Error|No {{{text}}} supplied.}}}}}</td></tr></table><noinclude>{{documentation}}</noinclude>
 
Generic Messagebox
 
==Usage==
 
Simple usage example:
<pre> {{Mbox | text = Some text.}} </pre>
{{Mbox| text = Some text.}}
 
 
 
 
i'll get fancy later.
 
[[Category:Templates]]</noinclude>

Revision as of 16:36, 4 November 2023

No {{{text}}} supplied.