Template:CategoryMap

From BITPlan E-Bike Wiki
Revision as of 13:45, 27 November 2024 by Wf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template generates a map using the Semantic MediaWiki `#ask` function based on the provided category.

Usage

{{CategoryMap
|category=YourCategoryName
|center=YourMapCenter
|height=MapHeight
|width=MapWidth
|zoom=ZoomLevel
}}

Parameters

  • category: The name of the category to query (default: Spain2025).
  • center: The center point of the map (default: Palencia).
  • height: The height of the map (default: 400px).
  • width: The width of the map (default: 700px).
  • zoom: The zoom level of the map (default: 7).

Example

{{CategoryMap
|category=Landmarks
|center=Barcelona
|height=500px
|width=800px
|zoom=10
}}