Template:Composition bar/doc: Difference between revisions

updated templatedata
(updating parameters and examples)
(updated templatedata)
Line 20:
; color=...
: (default is white) is the color of the text
; border-color=...
: (default is no border) is the color of a border around the bar
; text-shadow=...
: (default is black) is the color of the shadow around the text
; border-color=...
: (default is no border) is the color of a border around the bar
; width=...
: (default is 100%) is the width of the bar
Line 88:
"label": "3",
"description": "The background color of the left part of the bar - a valid web color, which can be specified by name, as a hex triplet (#rrbbgg), or rgb triplet (rgb(0–255,0–255,0–255)). In the case of political parties, most will have their logo color available in {{political party/meta/color}} templates.",
"default": "#CCC333",
"type": "string/line",
"required": false,
"aliases": ["hex"],
},
"Background background-color": {
"label": "background-Background color",
"description": "The background color of the right part of the bar - a valid web color.",
"default": "#F0F0F0999",
"type": "string/line",
"required": false
},
"Widthcolor": {
"label": "widthText color",
"description": "The widthcolor of the baroverlay in px.text",
"default": "100px#fff",
"type": "string/line",
"required": false
},
"Show Percenttext-shadow": {
"label": "perText shadow",
"description": "WhenThe setcolor toof 1the (true),contrast addsshadow a percentage toaround the bar asoverlay well.text",
"default": "#000",
"type": "string/line",
"required": false
},
"border-color": {
"label": "Show border color",
"description": "Specify a color to add a border of that color; default state is no border",
"default": "",
"type": "string/line",
"required": false
},
"width": {
"label": "Width",
"description": "The width of the bar",
"default": "100%",
"type": "string/line",
"required": false
},
"per": {
"label": "Show percent",
"description": "When set to 1 (true), adds a percentage to the bar as well",
"default": "0",
"type": "string/line",
"required": false
},
"perstyle": {
"label": "Percent style",
"description": "Style declarations for the percentage text",
"default": "",
"type": "string/line",
"required": false