Template:Country color status: Difference between revisions

From OLPC
Jump to navigation Jump to search
(assumed left to right text...)
m (display of examples)
Line 17: Line 17:


== Examples ==
== Examples ==
;'''Generic:'''<nowiki>{{Country color status | color = color | local_text = replaceWithLocalLanguageText}}</nowiki>

----
<nowiki>{{Country color status
{{Country color status | red = red | local_text = Estado actual: '''rojo'''}}
| green = green
<nowiki>{{Country color status | red = red | local_text = Estado actual: '''rojo'''}}</nowiki>
| red = red
| orange = orange
| yellow = yellow
| gray = gray
| local_text = Estado actual: '''verde'''
}}
</nowiki>{{Country color status
| green = green
| red = red
| orange = orange
| yellow = yellow
| gray = gray
| local_text = Estado actual: '''verde'''
}}
<br clear="all">
<br clear="all">
----

<nowiki>{{Country color status
{{Country color status | orange = orange}}
<nowiki>{{Country color status | orange = orange}}</nowiki>
| red = red
| local_text = Estado actual:
| local_color_name = rojo
}}</nowiki>{{Country color status
| red = red
| local_text = Estado actual: '''rojo'''
}}
<br clear="all">
<br clear="all">
----

{{Country color status | green = green | red = red | orange = orange | yellow = yellow | gray = gray | local_text = Estado actual: '''cualquiera'''}}
<nowiki>{{Country color status
<nowiki>{{Country color status | green = green | red = red | orange = orange | yellow = yellow | gray = gray | local_text = Estado actual: '''cualquiera'''}}
| orange = orange
}}</nowiki>{{Country color status
</nowiki>
| orange = orange
}}</nowiki>
<br clear="all">
<br clear="all">



Revision as of 17:25, 2 February 2007

Usage

This template is a decorative template displaying only the status of a given country without any inclusions in the categories or templates (ie: {{Status green countries}}, {{Status red countries}}, {{Status orange countries}}, {{Status yellow countries}} or {{Status gray countries}} lists).

Examples

Generic:{{Country color status | color = color | local_text = replaceWithLocalLanguageText}}

Current status: red
  red      
Estado actual: rojo

{{Country color status | red = red | local_text = Estado actual: '''rojo'''}}


Current status: orange
    orange    

{{Country color status | orange = orange}}


Current status: greenredorangeyellowgray
green red orange yellow gray
Estado actual: cualquiera

{{Country color status | green = green | red = red | orange = orange | yellow = yellow | gray = gray | local_text = Estado actual: '''cualquiera'''}}