Template:Latest map variant/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} {{Lua|Module:Map variants}} Returns the item page name of a map with this name from the most recent series in which it appeared. ==Usage== Use this template on a map page as the parameter to other templates that expect an item page name, such as <nowiki>{{Item acquisition|page={{Latest map variant}}}}</nowiki> or <nowiki>{{il|page={{Latest map variant}}}}</nowiki> ===Parameters=== Use the page parameter to specify how to query for map va...")
 
(update parameters)
Line 12: Line 12:


===Parameters===
===Parameters===
Use the page parameter to specify how to query for map variants. If blank, the current page name will be used instead
Use the item_name parameter to specify how to query for map variants. If blank, the name of the current page will be used instead


{| class="wikitable"
{| class="wikitable"
! Parameter !! Description
! Parameter !! Description
|-
|-
| <code>page</code>
| <code>1</code>, <code>item_name</code>
| Base name of the map to find variants of
| Base name of the map to find variants of
|}
|}


==Example==
==Example==
<pre>{{Latest map variant|page=Cursed Crypt Map}}</pre>
<pre>{{Latest map variant|Cursed Crypt Map}}</pre>


{{Latest map variant|page=Cursed Crypt Map}}
{{Latest map variant|Cursed Crypt Map}}


{{Documentation categories|
{{Documentation categories|

Revision as of 06:51, 3 September 2023

This subpage provides documentation for Template:Latest map variant.

Lua logo

This template uses the following modules:

Returns the item page name of a map with this name from the most recent series in which it appeared.

Usage

Use this template on a map page as the parameter to other templates that expect an item page name, such as

{{Item acquisition|page={{Latest map variant}}}}

or

{{il|page={{Latest map variant}}}}

Parameters

Use the item_name parameter to specify how to query for map variants. If blank, the name of the current page will be used instead

Parameter Description
1, item_name Base name of the map to find variants of

Example

{{Latest map variant|Cursed Crypt Map}}

Map:Cursed Crypt Map (Necropolis)