• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.49
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Historical map series

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
  • 2 Example
    • 2.1 Customized map image file names
    • 2.2 Standardized map image file names
  • 3 TemplateData
  • 4 See also

Usage

This template is used to create a switchable series of historical maps, for use in an infobox or as a thumbnail image.

Example

Customized map image file names

{{Historical map series|name=|date1=1870s|date3=1940s|date3=2010s|date4=2018 overlay on 1940s|image1=|image2=|image3=|image4=|default=}}

Standardized map image file names

The template can pull map image files which follow this standard format: File:Historical map series for the area of NAME (DATE).jpg, where NAME is the article name (or the name in the "name" parameter, if used) and DATE is the text used in the datex parameter.

{{Historical map series
|default=2
|date1=1870s
|date2=1940s
|date3=2010s
|date4=2018 overlay on 1940s
|width=225
}}

Output:

Historical map series for the area of Saris, Jerusalem (1870s).jpg 1870s map
Historical map series for the area of Saris, Jerusalem (1940s).jpg 1940s map
Historical map series for the area of Saris, Jerusalem (2010s).jpg 2010s map
Historical map series for the area of Saris, Jerusalem (2018 overlay on 1940s).jpg 2018 overlay on 1940s map

Up to six maps can be used.

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

Name of location

Example
Saris, Jerusalem
Unbalanced wikitextoptional
date1date1

Map 1 date

Example
1870s
Stringoptional
date2date2

Map 2 date

Example
1940s
Stringoptional
image1image1

Map 1 image

Default
Defaults to standardized filename in commons, pulling the name and date parameters from this template: File:Historical map series for the area of NAME (DATE).jpg
Example
[[File:Example.png|300px]]
Stringoptional
image2image2

Map 2 image

Default
Defaults to standardized filename in commons, pulling the name and date parameters from this template: File:Historical map series for the area of NAME (DATE).jpg
Example
[[File:Example.png|300px]]
Stringoptional
defaultdefault

Choice of default image

Default
1
Example
2
Unknownoptional
widthwidth

Width of images

Default
225
Example
225
Unknownoptional

See also

Template:Switcher

The above documentation is transcluded from Template:Historical map series/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Historical_map_series&oldid=18452"
Category:
  • Image formatting and function templates
Last edited on 27 September 2021, at 22:36

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 27 September 2021, at 22:36.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop