Difference between revisions of "Template:CV rank"

From blackwiki
Jump to navigation Jump to search
imported>Waldyrious
(tweak)
imported>Waldyrious
(fix)
Line 4: Line 4:
 
(Available options are "palop", "cplp", "africa" and "world").
 
(Available options are "palop", "cplp", "africa" and "world").
  
</noinclude><includeonly>{{{1|1}}}/{{#switch:{{{2|world}}} |palop=6 |cplp=8 |africa=54 |world=204}}*100) }} (top {{#expr: ceil ({{{1|1}}}/{{#switch:{{{2|world}}} |palop=6 |cplp=8 |africa=54 |world=204}}*100) }}%)</includeonly>
+
</noinclude><includeonly>{{{1|1}}}/{{#switch:{{{2|world}}} |palop=6 |cplp=8 |africa=54 |world=204}} (top {{#expr: ceil ({{{1|1}}}/{{#switch:{{{2|world}}} |palop=6 |cplp=8 |africa=54 |world=204}}*100) }}%)</includeonly>

Revision as of 16:49, 11 September 2011

This template is meant to be used in the table at Cape Verde#International recognition. Usage examples:

  • {{CV rank|2|africa}}, which produces: 2/54 (top 4%)
  • {{CV rank|30|world}}, which produces: 30/204 (top 15%)

(Available options are "palop", "cplp", "africa" and "world").