Difference between revisions of "Template:Data bars/averages/display"

From blackwiki
Jump to navigation Jump to search
imported>Jonathan Lane Studeman
imported>WOSlinker
(tidy style for better HTML5 compatibility)
 
Line 3: Line 3:
 
|  
 
|  
 
{| align="center"
 
{| align="center"
| align="center" |
+
| style="text-align:center;" |
 
{| cellspacing="0" cellpadding="0"   
 
{| cellspacing="0" cellpadding="0"   
|- valign="bottom"
+
|- style="vertical-align:bottom;"
 
<!-------------
 
<!-------------
 
-- Column 1  --
 
-- Column 1  --
Line 45: Line 45:
 
---              ---
 
---              ---
 
-------------------->
 
-------------------->
|- valign="top"
+
|- style="vertical-align:top;"
 
! style="padding-left:4px; padding-right:4px;" | {{{1|xxx}}}
 
! style="padding-left:4px; padding-right:4px;" | {{{1|xxx}}}
 
|}
 
|}
Line 52: Line 52:
  
 
{|
 
{|
|- valign="top"
+
|- style="vertical-align:top;"
 
|<pre>
 
|<pre>
 
{{Data bars/averages/display
 
{{Data bars/averages/display

Latest revision as of 16:53, 28 February 2015

This template takes unnamed parameters in a single column of data and passes them along to Template:Data bars/averages/column for display formatting.

{{Data bars/averages/display
| style  = 1
| scale  = 0.1
| Average
| green|  Apples|  
|yellow| Bananas| 900
|orange| Oranges| 500
|   red|Cherries| 700
|  blue| Berries| 300 
}}
2400
Bananas
Oranges
Cherries
Berries
Average