This is a documentation subpage for Template:PH composition bar. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThere 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