Difference between revisions of "Template:CV rank"
Jump to navigation
Jump to search
imported>Waldyrious (fix) |
imported>Hydrargyrum m (avoid redirects within template) |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>This template is meant to be used in the table at [[Cape Verde#International recognition]]. Usage examples: | <noinclude>This template is meant to be used in the table at [[Cape Verde#International recognition]]. Usage examples: | ||
| − | * {{tlx|CV rank|2|africa}}, which produces: {{CV rank|2|africa}} | + | * {{tlx|CV rank|2|africa}}, which produces: |
| − | * {{tlx|CV rank|30|world}}, which produces: {{CV rank|30|world}} | + | {| class="wikitable" |
| + | |- | ||
| + | | {{CV rank|2|africa}} | ||
| + | |} | ||
| + | * {{tlx|CV rank|30|world}}, which produces: | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | | {{CV rank|30|world}} | ||
| + | |} | ||
(Available options are "palop", "cplp", "africa" and "world"). | (Available options are "palop", "cplp", "africa" and "world"). | ||
| − | </noinclude><includeonly>{{{1|1}}}/{{ | + | </noinclude><includeonly>style="background-color: hsl( {{#expr:(1 - {{{1|1}}}/{{CV rank/switch|{{{2|world}}}}}) * 120}}, 100%, 75%);" | {{Number table sorting| {{{1|1}}} }} <small>(top {{CV rank/pct | {{{1|1}}} | {{{2|world}}} }}%)</small></includeonly> |
Latest revision as of 15:01, 24 February 2015
This template is meant to be used in the table at Cape Verde#International recognition. Usage examples:
{{CV rank|2|africa}}, which produces:
| 2 (top 4%) |
{{CV rank|30|world}}, which produces:
| 30 (top 15%) |
(Available options are "palop", "cplp", "africa" and "world").