Template:Notice: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 17: Line 17:


== Custom header ==
== Custom header ==
<nowiki>{{Notice| Header= Custom header placeholder| Text=Surely to make a user notice its presence}}</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.