Şablon:Data bars/column
*2={} <!------------------
--- ---
--- if style even, horizontal chart ---
--------------------------------------------->
{ cellpadding="0" cellspacing="0"
- }
---------->}} }}<!---
--->}
---------->}} }}<!---
--->}
---------->}} }}<!---
--->}
---------->}} }}<!---
--->}
---------->}} }}<!---
--->}
---------->}} }}<!---
--->}
---------->}} }}<!------------
--- ---
--- then end with the first ---
--- ---
------------------>}<!---
--->
--->
--->
---------->}} }} style="vertical-align:bottom;padding-left:2px;padding-bottom:2px;" <!----------------------
--- ---
--- adding up the column ---
--- ---
---><!-------
--->
}
- <!-----------------------------------------
-- --
-- else vertical chart --
-- --
------------------------------------------> { align="center" cellpadding="0" cellspacing="0" style="text-align:center;" { cellpadding="0" cellspacing="0" width="32px" style="text-align:center;" }
- }<!---
--->
--->
--->
---------->}} }}<!-------------------------
--- ---
--- now filling in the whole column ---
--- ---
--->}
---------->}} }}<!----
--->}
---------->}} }}<!----
--->}
---------->}} }}<!----
--->}
---------->}} }}<!----
--->}
---------->}} }}<!----
--->}
---------->}} }}<!----
--->}
---------->}} }}
}<!----
--->}}
This sub-template handles one "column" of data (zero and positive numbers only) to produce a bar for display inside a barchart table. No more than eight numbers are accepted as unnamed parameters Colors are named color1, color2, color3, and so on, up to eight colors. A style number may be specified.