Template:Notice: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
m Added an explanation to this template, so newer wiki users would have an easier time using this template
mNo edit summary
Line 11: Line 11:
= Examples =
= Examples =
== Default header ==
== Default header ==
<nowiki>{{Notice| Text=Example text placeholder}}</nowiki> <br>
<nowiki>{{Notice| Text=This is a nice notice block}}</nowiki> <br>


=== Preview with the default header ===
=== Preview with the default header ===
{{Notice| Text=This is a nice notice block.}}
{{Notice| Text=This is a nice notice block}}


== Custom header ==
== Custom header ==
<nowiki>{{Notice| Header= Custom header placeholder| Text=Example text placeholder}}</nowiki> <br>
<nowiki>{{Notice| Header= Custom header placeholder| Text=Surely to make a user notice its presence}}</nowiki> <br>


=== Preview with a custom header ===
=== Preview with a custom header ===

Revision as of 13:40, 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

Notice!
This is a nice notice block.


Custom header

{{Notice| Header= Custom header placeholder| Text=Surely to make a user notice its presence}}

Preview with a custom header

Custom Header
Surely to make a user notice its presence.