Template:META Message: Difference between revisions

From NixOS Wiki
imported>Samueldr
m (Updates meta message to allow use without heading.)
imported>Samueldr
m (Fix issue with floats)
Line 30: Line 30:
}}
}}


</noinclude><includeonly><div
</noinclude><includeonly><div class="nixos-template-message"><table class="message-box" role="presentation"
  class="nixos-template-message"
   style="
   style="
     border: 1px solid {{{border|#A7D7F9}}};
     border: 1px solid {{{border|#A7D7F9}}};
Line 38: Line 37:
     margin-bottom: 1ex;
     margin-bottom: 1ex;
   "
   "
><table class="message-box" role="presentation">
>
     <tr>
     <tr>
       <td style="padding-left: 0.5em; padding-right: 0.5em;">{{{signal}}}</td>
       <td style="padding-left: 0.5em; padding-right: 0.5em;">{{{signal}}}</td>

Revision as of 02:29, 15 January 2020

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
}}