الگو:Historical map series/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

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:

1870s map
1940s map
2010s map
2018 overlay on 1940s map

Up to six maps can be used.

TemplateData[ویرایش]

بدون توصیف.

پارامترهای الگو

پارامترتوضیحاتنوعوضعیت
namename

Name of location

مثال
Saris, Jerusalem
ویکی‌متن نامتوازناختیاری
date1date1

Map 1 date

مثال
1870s
رشتهاختیاری
date2date2

Map 2 date

مثال
1940s
رشتهاختیاری
image1image1

Map 1 image

پیش‌فرض
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
مثال
[[File:Example.png|300px]]
رشتهاختیاری
image2image2

Map 2 image

پیش‌فرض
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
مثال
[[File:Example.png|300px]]
رشتهاختیاری
defaultdefault

Choice of default image

پیش‌فرض
1
مثال
2
ناشناختهاختیاری
widthwidth

Width of images

پیش‌فرض
225
مثال
225
ناشناختهاختیاری

See also[ویرایش]

الگو:Switcher