Template:Mbox: Difference between revisions
Jump to navigation
Jump to search
KokoroSenshi (talk | contribs) m (Added display:table back for now) |
PhantomCaleb (talk | contribs) (Now using CSS selectors to target section/file mboxes) |
||
(23 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template:Mbox/Styles.css"></templatestyles><div class="mbox"> | |||
<div | <div class="mbox-image">{{{image|[[File:Zwlogo2dlarge.png|50px]]}}}</div> | ||
<div | <div class="mbox-content"><div class="mbox-header">{{{header|Header text}}}</div>{{#if: {{{reason|}}} | <div class="mbox-reason">'''Reason:''' {{{reason|}}} </div>}}<div class="mbox-info">{{{info|Explanation}}}</div></div> | ||
</div><noinclude> | </div><noinclude> | ||
This template is used to make message box notices, namely [[:Category:Notice | This template is used to make message box notices, namely [[:Category:Notice templates|notice templates]]. | ||
==Usage== | ==Usage== | ||
Line 11: | Line 11: | ||
|image= | |image= | ||
|header= | |header= | ||
|reason= | |||
|info= | |info= | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Formatting | [[Category:Formatting templates]]</noinclude> |
Latest revision as of 13:04, 23 May 2024
This template is used to make message box notices, namely notice templates.
Usage
{{Mbox |maxwidth= |image= |header= |reason= |info= }}