Widget:PlaceNamesChoropleths: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 223: | Line 223: | ||
var txt = '<tbody id="' + cty + '"><tr class="header"><th colspan="2">' + cty + '</th>' + | var txt = '<tbody id="' + cty + '"><tr class="header"><th colspan="2">' + cty + '</th>' + | ||
'<th><span class="expando-c">— </span><span class="expando-o">▢ </span></th></tr>' + | '<th><span class="expando-c">— </span><span class="expando-o">▢ </span></th></tr>' + | ||
'<tr><td>Area (km<sup>2</sup>)</td><td colspan="2">' + d.area + '</td></tr>' + | '<tr><td style="width:129px;">Area (km<sup>2</sup>)</td><td colspan="2">' + d.area + '</td></tr>' + | ||
'<tr><td>Population</td><td colspan="2">' + d.population + '</td></tr>' + | '<tr><td>Population</td><td colspan="2">' + d.population + '</td></tr>' + | ||
'<tr><td>Pop. density/km<sup>2</sup></td><td colspan="2">' + d.popdensity + '</td></tr>' + | '<tr><td>Pop. density/km<sup>2</sup></td><td colspan="2">' + d.popdensity + '</td></tr>' + |
Revision as of 15:35, 2 June 2019
This widget displays the navigation map on country and administrative division landing pages in the place-names section of IRHB. It takes no parameters.