Template:Map variants/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>AnSq
(heading options)
(category)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}


Creates a section with links to map versions from other series.
{{Lua|Module:Map variants}}


== Parameters ==
This template displays a table of map variants that share the same name. The maps are listed in order of which series they belong to, from the most recent to the oldest.
 
==Usage==
Use this template on a map page to create a section listing its variants.
 
===Parameters===
Use one of the following parameters to specify how to query for map variants. If both are omitted, the current page name is used.


{| class="wikitable"
{| class="wikitable"
! Parameter  
! Parameter !! Description
! Type
|-  
! Description
| <code>1</code>, <code>item_name</code>
! Default
| Get variants of the map with this name. Use this parameter or <code><nowiki>|page=</nowiki></code>, not both.
! Example
! Required
|-
| '''<code>{{{1}}}</code>'''
| str
| Map name, without "Map" or series; or <code><nowiki>{{PAGENAME}}</nowiki></code> of a map
| <code><nowiki>{{PAGENAME}}</nowiki></code>
| Cursed Crypt
| {{No}}
|-
| '''war'''
| str
| Name of map in the ''War for the Atlas'' (3.1) series, or empty to indicate that no such map exists
| <code>{{{1}}}</code>
| Cursed Crypt
| {{No}}
|-
|-
| '''atlas'''
| <code>page</code>
| str
| Get variants of the map on this page. Use this parameter or <code><nowiki>|item_name=</nowiki></code>, not both.
| Name of map in the ''Atlas of Worlds'' (2.4) series, or empty to indicate that no such map exists
| <code>{{{1}}}</code>
| Cursed Crypt
| {{No}}
|-
| '''awakening'''
| str
| Name of map in ''The Awakening'' (2.0) series, or empty to indicate that no such map exists
| <code>{{{1}}}</code>
| Crypt
| {{No}}
|-
| '''original'''
| str
| Name of map in the ''Original'' series, or empty to indicate that no such map exists
| <code>{{{1}}}</code>
| Crypt
| {{No}}
|-
| '''heading'''
| str
| Section heading
| Other Versions
| Legacy Variants
| {{No}}
|-
| '''hide_heading'''
| bool
| Set to 1 to generate only a bare list of item links
| 0
| 1
| {{No}}
|}
|}


The template should automatically detect if a map doesn't exist, so giving empty arguments isn't usually necessary.
==Example==
 
<pre>{{Map variants|item_name=Cursed Crypt Map}}</pre>
== Example ==
 
<pre>{{OtherMapVersions|Cursed Crypt|awakening=Crypt|original=Crypt}}</pre>
 
yields:


{{OtherMapVersions|Cursed Crypt|awakening=Crypt|original=Crypt}}
{{Map variants|item_name=Cursed Crypt Map}}


<includeonly>
{{Documentation categories|
[[Category:Templates]]
<!-- Categories and interwikis go here. -->
</includeonly>
[[Category:Item table templates]]
[[Category:Query templates]]
}}

Latest revision as of 22:04, 30 April 2024

This subpage provides documentation for Template:Map variants.

Lua logo

This template uses the following modules:

This template displays a table of map variants that share the same name. The maps are listed in order of which series they belong to, from the most recent to the oldest.

Usage

Use this template on a map page to create a section listing its variants.

Parameters

Use one of the following parameters to specify how to query for map variants. If both are omitted, the current page name is used.

Parameter Description
1, item_name Get variants of the map with this name. Use this parameter or |page=, not both.
page Get variants of the map on this page. Use this parameter or |item_name=, not both.

Example

{{Map variants|item_name=Cursed Crypt Map}}

Map variants

ItemMap
Tier
Map
Level
Map
Series
Cursed Crypt MapCursed Crypt MapMap Level: 74
Map Tier: 7
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
774Necropolis
Cursed Crypt MapCursed Crypt MapMap Level: 74
Map Tier: 7
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
774Affliction
Cursed Crypt MapCursed Crypt MapMap Level: 74
Map Tier: 7
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
774Ancestor
Cursed Crypt MapCursed Crypt MapMap Level: 74
Map Tier: 7
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
774Crucible
Cursed Crypt MapCursed Crypt MapMap Level: 79
Map Tier: 12
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1279The Forbidden Sanctum
Cursed Crypt MapCursed Crypt MapMap Level: 79
Map Tier: 12
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1279Kalandra
Cursed Crypt MapCursed Crypt MapMap Level: 82
Map Tier: 15
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1582Sentinel
Cursed Crypt MapCursed Crypt MapMap Level: 82
Map Tier: 15
Guild Character: }
Saints and heathens look the same
once the rot takes hold.
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1582Archnemesis
Cursed Crypt MapCursed Crypt MapMap Level: 70
Map Tier: 3
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
370Scourge
Cursed Crypt MapCursed Crypt MapMap Level: 70
Map Tier: 3
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
370Expedition
Cursed Crypt MapCursed Crypt MapMap Level: 80
Map Tier: 13
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1380Ritual
Cursed Crypt MapCursed Crypt MapMap Level: 80
Map Tier: 13
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1380Heist
Cursed Crypt MapCursed Crypt MapMap Level: 69
Map Tier: 2
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
269Harvest
Cursed Crypt MapCursed Crypt MapMap Level: 69
Map Tier: 2
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
269Delirium
Cursed Crypt MapCursed Crypt MapMap Level: 69
Map Tier: 2
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
269Metamorph
Cursed Crypt MapCursed Crypt MapMap Level: 71
Map Tier: 4
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
471Blight
Cursed Crypt MapCursed Crypt MapMap Level: 71
Map Tier: 4
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
471Legion
Cursed Crypt MapCursed Crypt MapMap Level: 68
Map Tier: 1
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
168Synthesis
Cursed Crypt MapCursed Crypt MapMap Level: 70
Map Tier: 3
Guild Character: }
Saints and heathens look the same once the rot takes hold.Travel to this Map by using it in a personal Map Device. Maps can only be used once.
370Betrayal
Cursed Crypt MapCursed Crypt MapMap Level: 77
Map Tier: 10
Guild Character: }
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1077War for the Atlas
Cursed Crypt MapCursed Crypt MapMap Level: 76
Map Tier: 9
Guild Character: A
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
976Atlas of Worlds
Shaped Cursed Crypt MapShaped Cursed Crypt MapMap Level: 81
Map Tier: 14
Guild Character: A
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
1481Atlas of Worlds
Cursed Crypt MapCursed Crypt MapMap Level: 68
Map Tier: 1
Guild Character: A
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
168The Awakening
Cursed Crypt MapCursed Crypt MapMap Level: 66
Map Tier: 1
Guild Character: A
Travel to this Map by using it in a personal Map Device. Maps can only be used once.
166Original