Template:META Message: Difference between revisions
imported>Samueldr m tweaks spacing for message boxes. |
imported>Samueldr m Updates meta message to allow use without heading. |
||
Line 11: | Line 11: | ||
{{Template:META Message}} | {{Template:META Message}} | ||
<pre><nowiki> | |||
{{Template:META Message|heading=heading}} | |||
</nowiki></pre> | |||
{{Template:META Message|heading=heading}} | |||
<pre><nowiki> | <pre><nowiki> | ||
Line 36: | Line 42: | ||
<td style="padding-left: 0.5em; padding-right: 0.5em;">{{{signal}}}</td> | <td style="padding-left: 0.5em; padding-right: 0.5em;">{{{signal}}}</td> | ||
<td style="padding-right: 1em; width:100%;"> | <td style="padding-right: 1em; width:100%;"> | ||
<div>'''{{{heading}}}'''</div> | {{#if: {{{heading|}}}|<div>'''{{{heading}}}'''</div>|}} | ||
<div>{{{message}}}</div> | <div>{{{message}}}</div> | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table></div></includeonly> | </table></div></includeonly> |
Revision as of 22:18, 25 November 2017
A templated message.
Use of <table>
is to allow vertical centering.
Preview
{{Template:META Message}}
{{Template:META Message|heading=heading}}
{{Template:META Message |border = #ff0000 |background = #00ff00 }}