Difference between revisions of "Template:Announce"
From Geohashing
imported>Nemo (update to handle different level of alerts. Defaults to old behaviour if new params are not included) |
imported>Nemo (examples as subpage) |
||
Line 13: | Line 13: | ||
<nowiki>{{announce|This is a critical alert!|bg=colour}}</nowiki> | <nowiki>{{announce|This is a critical alert!|bg=colour}}</nowiki> | ||
* 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. | ||
− | |||
== Examples == | == Examples == | ||
− | + | {{Template:Announce/example}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 11:21, 5 July 2008
- For use in alerting people to something important.
Usage
{{announce|This is a critical alert!|bg=colour}}
- The bg colour may be '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