Difference between revisions of "Template:notice"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
m
Line 3: Line 3:
 
|style="padding:0 0.75em;"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice|Text of the notice}}</nowiki></code> in the page. To use a more eye-catching notice, use {{tl|notice2}} instead.}}}
 
|style="padding:0 0.75em;"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice|Text of the notice}}</nowiki></code> in the page. To use a more eye-catching notice, use {{tl|notice2}} instead.}}}
 
|}<noinclude>
 
|}<noinclude>
 +
  
 
It is possible to customize the icon image, like so: <code><nowiki>{{notice|Text of the notice|image=Another_icon.png}}</nowiki></code>.
 
It is possible to customize the icon image, like so: <code><nowiki>{{notice|Text of the notice|image=Another_icon.png}}</nowiki></code>.
 +
 
To use a more eye-catching notice, use {{tl|notice2}} instead:
 
To use a more eye-catching notice, use {{tl|notice2}} instead:
 
{{notice2}}
 
{{notice2}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:29, 27 March 2025

Ambox notice.png This is a notification template. To use it in any page, place {{notice|Text of the notice}} in the page. To use a more eye-catching notice, use {{notice2}} instead.


It is possible to customize the icon image, like so: {{notice|Text of the notice|image=Another_icon.png}}.

To use a more eye-catching notice, use {{notice2}} instead:

warning!!.png This is a notification template. To use it in any page, place {{notice2|Text of the notice}} in the page. To use a more standard notice, use {{notice}} instead.