Notice! |
This is a nice notice block. |
Template:Notice: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>A general-purpose notice-header that you can headnote to pages if you want to underscore any notice that you feel is appropriate. Use {{{Text|}}} to specify the con..." |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>A general-purpose notice-header that you can headnote to pages if you want to underscore any notice that you feel is appropriate. Use {{{Text|}}} to specify the contents and {{{Header|}}} to specify the notice | <noinclude> | ||
<!-- Added an explanation to this template, so newer wiki users would have an easier time using templates --> | |||
<!-- Please don't edit anything below, unless it's strictly needed --> | |||
<!-- Description added by Electrocute4u, original page by Naero --> | |||
A general-purpose notice-header that you can headnote to pages if you want to underscore any notice that you feel is appropriate. <br> | |||
= How to use it = | |||
Use '''<nowiki>{{{Text|}}}</nowiki>''' to specify the contents and '''<nowiki>{{{Header|}}}</nowiki>''' to specify the notice title (it outputs 'Notice!' by default). <br> | |||
= Examples = | |||
== Default header == | |||
<nowiki>{{Notice| Text=This is a nice notice block}}</nowiki> <br> | |||
=== Preview with the default header === | |||
{{Notice| Text=This is a nice notice block}} | |||
== Custom header == | |||
<nowiki>{{Notice| Header=This is a custom Header| Text=Surely to make a user notice its presence}}</nowiki> <br> | |||
=== Preview with a custom header === | |||
{{Notice| Header=This is a custom Header| Text=Surely to make a user notice its presence}} | |||
[[Category:Header templates]] | [[Category:Header templates]] | ||
</noinclude> | </noinclude> | ||
<!-- DO NOT TOUCH THIS SECTION, UNLESS YOU KNOW WHAT YOU'RE DOING --> | |||
<includeonly><div class="noarticletext" style="display:block"> | <includeonly><div class="noarticletext" style="display:block"> | ||
<table style="margin: auto auto; background-color: #666666; border: 3px solid #000000; border-radius: 20px; padding: 3px; cellspacing: 2px; border-spacing: 5px 5px; color: white; margin-bottom: 25px;"> | <table style="margin: auto auto; background-color: #666666; border: 3px solid #000000; border-radius: 20px; padding: 3px; cellspacing: 2px; border-spacing: 5px 5px; color: white; margin-bottom: 25px;"> |
Latest revision as of 13:41, 17 March 2021
A general-purpose notice-header that you can headnote to pages if you want to underscore any notice that you feel is appropriate.
How to use it
Use {{{Text|}}} to specify the contents and {{{Header|}}} to specify the notice title (it outputs 'Notice!' by default).
Examples
Default header
{{Notice| Text=This is a nice notice block}}
Preview with the default header
Custom header
{{Notice| Header=This is a custom Header| Text=Surely to make a user notice its presence}}
Preview with a custom header
This is a custom Header |
Surely to make a user notice its presence. |