Template:Notice: Difference between revisions

From HorizonXI Wiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<div class="notice metadata" style="background:#ffa07a; padding:0.5em; text-align: center; border: medium outset #ffd5ed;">'''NOTICE<br>
<div class="notice metadata" style="background:#ffa07a; padding:0.5em; text-align: center; border: medium outset #ffd5ed;">'''NOTICE<br>
{{#if:{{{1|}}}|<div style="border: 4px firebrick dashed; border-radius: 8px; padding: 8px; margin: 32px 8px;">'''Comment: {{{1}}}'''</div>|}}
{{#if:{{{1|}}}|{{{1}}}|}}
</div>
</div>
</onlyinclude></includeonly>
</onlyinclude></includeonly>
Line 12: Line 12:
This template is to produce a notification on the page to the reader.
This template is to produce a notification on the page to the reader.


==Usage==
==Example==
{{Notice|This is a demonstration of a notification}}
{{Notice|This is a demonstration of a notification}}

Latest revision as of 13:51, 23 October 2023


Usage

Syntax:

{{Notice|optional comment...}}

This template is to produce a notification on the page to the reader.

Example