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

From Geohashing
imported>Nemo
imported>Nemo
Line 10: Line 10:
 
A template for announcements of different colours...
 
A template for announcements of different colours...
  
{{User:Nemo/sandbox/templateannounce|this is a black announcement|bg=black}}
+
== Usage ==
{{User:Nemo/sandbox/templateannounce|this is a blue announcement|blue}}
+
<nowiki>{{announce|This is a critical alert!|bg=colour}}</nowiki>
{{User:Nemo/sandbox/templateannounce|this is a green announcement|bg=green}}
+
* For use in alerting people to something critically important.
{{User:Nemo/sandbox/templateannounce|this is a yellow announcement|yellow}}
+
* The '''bg''' colour may be 'red/orange/yellow/green/blue/black, or may be omitted in which case it defaults to red.
{{User:Nemo/sandbox/templateannounce|this is a orange announcement|bg=orange}}
+
</noinclude>
{{User:Nemo/sandbox/templateannounce|this is a red announcement|red}}
+
 
 +
== Examples ==
 +
<nowiki>{{User:Nemo/sandbox/templateannounce|this is a '''black''' announcement|bg=black}}</nowiki>
 +
{{User:Nemo/sandbox/templateannounce|this is a '''black''' announcement|bg=black}}
 +
<nowiki>{{User:Nemo/sandbox/templateannounce|this is a '''blue''' announcement|bg=blue}}</nowiki>
 +
{{User:Nemo/sandbox/templateannounce|this is a '''blue''' announcement|bg=blue}}
 +
etc...
 +
{{User:Nemo/sandbox/templateannounce|this is a '''green''' announcement|bg=green}}
 +
{{User:Nemo/sandbox/templateannounce|this is a '''yellow''' announcement|bg=yellow}}
 +
{{User:Nemo/sandbox/templateannounce|this is a '''orange''' announcement|bg=orange}}
 +
{{User:Nemo/sandbox/templateannounce|this is a '''red''' announcement|bg=red}}
 +
<nowiki>{{User:Nemo/sandbox/templateannounce|this is a default announcement}}</nowiki>
 
{{User:Nemo/sandbox/templateannounce|this is a default announcement}}
 
{{User:Nemo/sandbox/templateannounce|this is a default announcement}}
  

Revision as of 11:12, 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