Template:Notice: Difference between revisions

From Pokemon Revolution Online Wiki
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..."
 
m Added an explanation to this template, so newer wiki users would have an easier time using this template
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 message (it outputs 'Notice!' by default).
<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=Example text placeholder}}</nowiki> <br>
 
=== Preview with the default header ===
{{Notice| Text=This is a nice notice block.}}
 
== Custom header ==
<nowiki>{{Notice| Header= Custom header placeholder| Text=Example text placeholder}}</nowiki> <br>
 
=== Preview with a custom header ===
{{Notice| Header=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;">

Revision as of 13:33, 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=Example text placeholder}}

Preview with the default header

Notice!
This is a nice notice block..


Custom header

{{Notice| Header= Custom header placeholder| Text=Example text placeholder}}

Preview with a custom header

Custom Header
Surely to make a user notice its presence.