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
 
(One intermediate revision by the same user not shown)
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=This is a custom Header| Text=Surely to make a user notice its presence}}</nowiki> <br>


=== Preview with a custom header ===
=== Preview with a custom header ===
{{Notice| Header=Custom Header| Text=Surely to make a user notice its presence}}
{{Notice| Header=This is a custom Header| Text=Surely to make a user notice its presence}}


[[Category:Header templates]]
[[Category:Header templates]]

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

Notice!
This is a nice notice block.


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.