Template:NoticeHeader: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
m Added an explanation to this template, and that it is a simplified version of "Notice" template.
 
Line 1: Line 1:
<noinclude>Add this template as a header atop any page to post a more accentuated notice on information that you would like to stress to its readers. Add the notice-header text as an argument to {{{Text}}}.
<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 -->
 
Add this template as a header atop any page to post a more accentuated notice on information that you would like to stress to its readers. <br>
Add the notice-header text as an argument to '''<nowiki>{{{Text}}}</nowiki>'''. <br>
<br>
This is a simplified version of [[Template:Notice]], the only difference is that this does not include a custom header parameter. <br>
 
 
= How to use it =
Use '''<nowiki>{{{Text|}}}</nowiki>''' to specify the contents. The header will always say "Notice!". <br>
To also pass in a custom header, use [[Template:Notice]] instead.
 
= Examples =
=== Default header ===
<nowiki>{{NoticeHeader| Text=This is a nice notice block}}</nowiki> <br>
 
==== Preview with the default header ====
{{NoticeHeader| Text=This is a nice notice block}}
 
 
[[Category:Header templates]]
[[Category:Header templates]]
</noinclude>
</noinclude>
<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:49, 17 March 2021


Add this template as a header atop any page to post a more accentuated notice on information that you would like to stress to its readers.
Add the notice-header text as an argument to {{{Text}}}.

This is a simplified version of Template:Notice, the only difference is that this does not include a custom header parameter.


How to use it

Use {{{Text|}}} to specify the contents. The header will always say "Notice!".
To also pass in a custom header, use Template:Notice instead.

Examples

Default header

{{NoticeHeader| Text=This is a nice notice block}}

Preview with the default header

Notice!
This is a nice notice block