Template:Documentation Asia map templates

From Wikipedia, the free encyclopedia

The example shown below is for the following, structurally similar, template: Template:Continental Asia in 200 BCE, which is called through the code:
{{Continental Asia in 200 BCE}}
or, with optional parameters:
{{Continental Asia in 200 BCE| Parameter 1 | Parameter 2 | Parameter 3 | Parameter 4 | Parameter 5 }}
but other templates of the same family (Continental Asia in 200 BCE, Continental Asia in 400 CE, Continental Asia in 1000 CE, South Asia in 600 CE etc...) follow the same format:

Use with the following format in Wikipedia articles (all parameters are optional):

{{Continental Asia in 200 BCE| Parameter 1 | Parameter 2 | Parameter 3 | Parameter 4 | Parameter 5 }}

Parameter 1 defines the position of the map on a page: center/left/right
Parameter 2 defines an alternative caption for the map, for example: Asian polities in 500 BCE
Parameter 3 defines additional objects to place on the map, for example:

  • a text with hyperlink: {{Annotation|227|50|[[City of Heaven|<span class="mw-no-invert" style="color:#4F311CFF">''City of Heaven''</span>]]|text-align=center|font-weight=bold|font-style=normal|font-size=6|color=#000000}}
  • a rectangle: {{Annotation|175|134|[[File:Long Rectangle (plain).png|40px]]}}
  • a date mask: {{Annotation|0|0|[[File:Continental Asia date mask.png|300px]]}}
  • an object defined through geographic coordinates {{location map~ |Continental Asia |lat=37.164722|N |long=69.408611|E |label=|position=|label_size=|mark=Basic red dot.png|marksize=4}}

Parameter 4 defines an alternative background map, which has to have the same size as the original.
Parameter 5 if set to none, will remove the border of the map, for use in infoboxes for example.

Example:
The basic map would simply require the code {{Continental Asia in 200 BCE}}, but the code for the same map with an alignement to the right, with a different caption, with an added rectangle for "YUEZHI" and a geo-located dot for the city of Ai-Khanoum, with a specially-made map overlay showing Xiongnu territory (this map), and without a border, looks like:



{{Continental Asia in 200 BCE | right |The [[Yuezhi]], with [[Xiongnu]] territory and main polities of Asia in 200 BCE |{{Annotation|185|70|[[File:Long Rectangle (plain).png|35px]]}} {{location map~ |Continental Asia |lat=37.164722|N |long=69.408611|E |label=|position=|label_size=|mark=Basic red dot.png|marksize=4}} |Map_of_the_Xiongnu,_circa_150_BCE.png |none}}

  1. ^ Atlas of World History. Oxford University Press. 2002. p. 51. ISBN 978-0-19-521921-0.
  2. ^ Fauve, Jeroen (2021). The European Handbook of Central Asian Studies. ‎ Ibidem Press. p. 403. ISBN 978-3-8382-1518-1.
  3. ^ Haywood, John (1997). Atlas of world history. New York : Barnes & Noble Books. p. Map 24. ISBN 978-0-7607-0687-9.
  4. ^ Török, Tibor (July 2023). "Integrating Linguistic, Archaeological and Genetic Perspectives Unfold the Origin of Ugrians". Genes. 14 (7): Figure 1. doi:10.3390/genes14071345. ISSN 2073-4425. PMC 10379071. PMID 37510249.