Template:PH composition bar/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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|{{Wikidata|property|raw|qualifier|Q404854|P8843}}}}

<div style="background-color: Expression error: Unexpected > operator; width: %; height: 100%;">


2 Hadji Mohammad Ajul {{PH composition bar|{{wikidata|property|raw|qualifier|Q41998|P8843}}}}

<div style="background-color: Expression error: Unexpected > operator; width: %; height: 100%;">


3 Mandaue {{PH composition bar|{{wikidata|property|raw|qualifier|Q1889017|P8843}}}}

<div style="background-color: Expression error: Unexpected > operator; width: %; height: 100%;">