Jump to content

User:Ground Zero/sandbox2

From Wikivoyage
  • {{populationof}} scoops population Dara from wikidata.

Column

[edit]
  • columns: ,
  • Northern Punjab
    • Islamabad Capital Territory: 1 article
    • Lahore Division: 3
    • Faisalabad Division: 4
    • Gujranwala Division: 4
    • Rawalpindi Division: 7
    • Sargodha Division: 3
    • Sahiwal Division: 2
    • Gujrat Division: 6
  • Southern Punjab
    • Bahawalpur Division: 3
    • Multan Division: 3
    • Dera Ghazi Khan Division: 4

Multi-map article

[edit]

{{mapframe | 39.890 | 4.265 | height=500 | width=500 | zoom=14|show=go,see,do,buy,eat,drink,sleep }}
{{mapframe | 39.890 | 4.265 | height=500 | width=500 | zoom=11 | show=listing}}

  • (Copied from pub) The way that group works, is by assigning group names (name it whatever you want) to individual listings, and using those name names in the mapframe's show parameter. Say you want to only display things on the map in a Northern district, then add |group=north to your markers, and |show=north to the relevant mapframe. From my experience, using group names that are identical to listing types (i.e., eat, sleep, etc.) can break the mapframe, but it's been a while since I've messed around with it and that might not be the case anymore. It's still good practise to not re-purpose listing types as group names though. Sadly, support for the group parameter only exists within {{Marker}} and not in {{Listing}}, which limits its use significantly. It's been used in most sections of Dutch Empire, if anyone's in need of an example. ― Wauteurz (talk) 18:53, 12 October 2026 (UTC)

Hide tables

[edit]

{| class="wikitable mw-collapsible mw-collapsed" ! colspan="2" | [[Diplomatic missions]] |- | style="vertical-align:top;width:50%;" | |}