Template:Warning: Difference between revisions

From Nova Sector 13
Jump to navigation Jump to search
(Template for assigning Warnings/Notices to pages, I might end up replacing this)
 
No edit summary
 
Line 3: Line 3:
<div style="border: .2em solid #be0000; border-radius: .5em; background: #FFF;">
<div style="border: .2em solid #be0000; border-radius: .5em; background: #FFF;">
<div style="padding: .5em; background: #775FFF1e; margin:.25em; border-radius: .5em;">
<div style="padding: .5em; background: #775FFF1e; margin:.25em; border-radius: .5em;">
<center>'''REASON:''' {{{reason|Not defined}}}</center></div></div>
<center>'''REASON:''' {{{reason|{{{1|Not defined}}}}}}</center></div></div>
</div><includeonly>[[Category:Warning|{{FULLPAGENAME}}]]</includeonly><noinclude>
</div><includeonly>[[Category:Warning|{{FULLPAGENAME}}]]</includeonly><noinclude>
<noinclude>==Using this template==
<noinclude>==Using this template==
Using this template on a page adds it to [[:Category:Warning]]. To use it, write:
Using this template on a page adds it to [[:Category:Warning]]. To use it, write:


<pre>TBA</pre>
<pre>{{Warning|the warning}}</pre>
 
to get {{Warning|the warning}}


[[Category:Templates]]
[[Category:Templates]]
[[Category:Maintenance templates]]
[[Category:Maintenance templates]]
</noinclude>
</noinclude>

Latest revision as of 07:57, 25 January 2025

Warning - Read this!!.
REASON: Not defined

Using this template

Using this template on a page adds it to Category:Warning. To use it, write:

{{Warning|the warning}}

to get

Warning - Read this!!.
REASON: the warning