Difference between revisions of "User:Nemo/sandbox/templateannounce"

From Geohashing
imported>Nemo
imported>Nemo
Line 14: Line 14:
 
* For use in alerting people to something critically important.
 
* For use in alerting people to something critically important.
 
* The '''bg''' colour may be 'red/orange/yellow/green/blue/black, or may be omitted in which case it defaults to red.  
 
* The '''bg''' colour may be 'red/orange/yellow/green/blue/black, or may be omitted in which case it defaults to red.  
</noinclude>
 
  
 
== Examples ==
 
== Examples ==

Revision as of 11:27, 5 July 2008

A template for announcements of different colours...

Usage

{{announce|This is a critical alert!|bg=colour}}
  • For use in alerting people to something critically important.
  • The bg colour may be 'red/orange/yellow/green/blue/black, or may be omitted in which case it defaults to red.

Examples

{{User:Nemo/sandbox/templateannounce|this is a '''black''' announcement|bg=black}}
this is a black announcement
{{User:Nemo/sandbox/templateannounce|this is a '''blue''' announcement|bg=blue}}
this is a blue announcement

etc...

this is a green announcement
this is a yellow announcement
this is a orange announcement
this is a red announcement
{{User:Nemo/sandbox/templateannounce|this is a default announcement}}
this is a default announcement