Template:Country color status: Difference between revisions
Jump to navigation
Jump to search
(new template to show country status) |
(usage, examples & tweaks) |
||
Line 1: | Line 1: | ||
{| align="right" style="font-size:0.8em" |
<includeonly>{| align="right" style="font-size:0.8em; text-align:center" |
||
|- |
|- |
||
|colspan="5" | Current status: |
|colspan="5" | Current status: <b>{{{green|}}}{{{red|}}}{{{orange|}}}{{{yellow|}}}{{{gray|}}}</b> |
||
|- |
|- |
||
|style="background:green" | {{{green| |
|style="background:green" | {{{green| }}} |
||
|style="background:red" | {{{red| |
|style="background:red" | {{{red| }}} |
||
|style="background:orange" | {{{orange| |
|style="background:orange" | {{{orange| }}} |
||
|style="background:yellow" | {{{yellow| |
|style="background:yellow" | {{{yellow| }}} |
||
|style="background:gray" | {{{gray| |
|style="background:gray" | {{{gray| }}} |
||
|- |
|- |
||
|colspan="5" | {{{local_language|}}} |
|colspan="5" | {{{local_language|}}} <b>{{{local_color_name|}}}</b> |
||
|- |
|- |
||
|}<noinclude> |
|}</includeonly><noinclude> |
||
== Usage == |
|||
⚫ | |||
This template is a ''decorative'' template displaying only the status of a given country without any inclusions in the categories or templates (ie: <nowiki>{{Status green countries}}, {{Status red countries}}, {{Status orange countries}}, {{Status yellow countries}} or {{Status gray countries}}</nowiki> lists). |
|||
== Examples == |
|||
⚫ | |||
| green = green |
| green = green |
||
| red = |
| red = red |
||
| orange = |
| orange = orange |
||
| yellow = |
| yellow = yellow |
||
| gray = |
| gray = gray |
||
| local_language = Estado actual: |
| local_language = Estado actual: |
||
| local_color_name = verde |
| local_color_name = verde |
||
}} |
|||
⚫ | |||
</nowiki>{{Country color status |
|||
| green = green |
|||
| red = red |
|||
| orange = orange |
|||
| yellow = yellow |
|||
| gray = gray |
|||
| local_language = Estado actual: |
|||
| local_color_name = verde |
|||
}} |
|||
<br clear="all"> |
|||
<nowiki>{{Country color status |
|||
| red = red |
|||
| local_language = Estado actual: |
|||
| local_color_name = rojo |
|||
}}</nowiki>{{Country color status |
|||
| red = red |
|||
| local_language = Estado actual: |
|||
| local_color_name = rojo |
|||
}} |
|||
<br clear="all"> |
|||
<nowiki>{{Country color status |
|||
| orange = orange |
|||
}}</nowiki>{{Country color status |
|||
| orange = orange |
|||
}}</nowiki> |
|||
<br clear="all"> |
|||
⚫ |
Revision as of 15:29, 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_language = Estado actual: | local_color_name = verde }}
Current status: greenredorangeyellowgray | ||||
green | red | orange | yellow | gray |
Estado actual: verde |
{{Country color status | red = red | local_language = Estado actual: | local_color_name = rojo }}
Current status: red | ||||
red | ||||
Estado actual: rojo |
{{Country color status | orange = orange }}
Current status: orange | ||||
orange | ||||
</nowiki>