Template:META Message: Difference between revisions

From NixOS Wiki
imported>Samueldr
Created page with "<noinclude> A templated message. Use of <code><table></code> is to allow vertical centering. === Preview === <pre><nowiki> {{Template:META Message}} </nowiki></pre> {{T..."
 
imported>Samueldr
No edit summary
Line 24: Line 24:
}}
}}


</noinclude>
</noinclude><includeonly><div
<includeonly>
<div
   class="nixos-template-message"
   class="nixos-template-message"
   style="
   style="
Line 33: Line 31:
     background: {{{background|#F6F6F6}}};
     background: {{{background|#F6F6F6}}};
   "
   "
>
><table class="message-box" role="presentation">
  <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>
Line 42: Line 39:
       </td>
       </td>
     </tr>
     </tr>
   </table>
   </table></div></includeonly>
</div>
</includeonly>

Revision as of 00:34, 6 September 2017

A templated message.

Use of <table> is to allow vertical centering.

Preview

{{Template:META Message}}
{{Template:META Message
|border = #ff0000
|background = #00ff00
}}