Template:PH composition bar
Appearance
From Wikipedia, the free encyclopedia
Usage
There is only one parameter - wikidata item P8843 - passed from {{PH wikidata}} as parameter {{PH composition bar|{{{1|}}}}}
Adds a composition bar chart being a horizontal coloured block, whose colour and width shows the value.
Colour follows:
Level Poverty Estimates
0 – 20
9999
Olive Drab
20 – 40
9999
LimeGreen
40 – 60
9999
darker Yellow
60 – 80
9999
Orange
80 – 100
9999
Red
Colour follows Philippine Statistics Authority documents.
For example:
1 Dagohoy, Bohol
{{PH composition bar|{{#invoke:Wikidata|property|Q404854|P8843|FETCH_WIKIDATA}}}}
31.84
2 Hadji Mohammad Ajul
{{PH composition bar|{{#invoke:Wikidata|property|Q41998|P8843|FETCH_WIKIDATA}}}}
68.52
3 Mandaue
{{PH composition bar|{{#invoke:Wikidata|property|Q1889017|P8843|FETCH_WIKIDATA}}}}
10.40
The above documentation is transcluded from Template:PH composition bar/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.