Difference between revisions of "Template:Announce"

From Geohashing
imported>Nemo
(examples as subpage)
imported>Nemo
m (minor usage layout change)
Line 8: Line 8:
 
| border: 1px solid #f66; background: #fdd;
 
| border: 1px solid #f66; background: #fdd;
 
}} '> {{{1|{{{text}}}}}} </div></includeonly><noinclude>
 
}} '> {{{1|{{{text}}}}}} </div></includeonly><noinclude>
 +
 +
<nowiki>{{announce|This is a critical alert!|bg=colour}}</nowiki>
 
* For use in alerting people to something important.
 
* For use in alerting people to something important.
  
== Usage ==
+
== Usage notes ==
<nowiki>{{announce|This is a critical alert!|bg=colour}}</nowiki>
+
* The bg colour may be any of '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.  
 
  
 
== Examples ==
 
== Examples ==

Revision as of 11:33, 5 July 2008


{{announce|This is a critical alert!|bg=colour}}
  • For use in alerting people to something important.

Usage notes

  • The bg colour may be any of 'red/orange/yellow/green/blue/black', or may be omitted in which case it defaults to red.

Examples

{{Announce|this is a '''black''' announcement|bg=black}}
this is a black announcement
{{Announce|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
{{Announce|this is a default announcement}}
this is a default announcement