Template:Country color status: Difference between revisions

From OLPC
Jump to navigation Jump to search
(usage, examples & tweaks)
(assumed left to right text...)
Line 9: Line 9:
|style="background:gray" | {{{gray| }}}
|style="background:gray" | {{{gray| }}}
|-
|-
|colspan="5" | {{{local_language|}}} <b>{{{local_color_name|}}}</b>
|colspan="5" | {{{local_text|}}}
|-
|-
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Line 24: Line 24:
| yellow = yellow
| yellow = yellow
| gray = gray
| gray = gray
| local_language = Estado actual:
| local_text = Estado actual: '''verde'''
| local_color_name = verde
}}
}}
</nowiki>{{Country color status
</nowiki>{{Country color status
Line 33: Line 32:
| yellow = yellow
| yellow = yellow
| gray = gray
| gray = gray
| local_language = Estado actual:
| local_text = Estado actual: '''verde'''
| local_color_name = verde
}}
}}
<br clear="all">
<br clear="all">
Line 40: Line 38:
<nowiki>{{Country color status
<nowiki>{{Country color status
| red = red
| red = red
| local_language = Estado actual:
| local_text = Estado actual:
| local_color_name = rojo
| local_color_name = rojo
}}</nowiki>{{Country color status
}}</nowiki>{{Country color status
| red = red
| red = red
| local_language = Estado actual:
| local_text = Estado actual: '''rojo'''
| local_color_name = rojo
}}
}}
<br clear="all">
<br clear="all">

Revision as of 17:03, 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

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

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


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

Current status: red
  red      
Estado actual: rojo


{{Country color status | orange = orange }}

Current status: orange
    orange    

</nowiki>