Template:Latest map variant/doc: Difference between revisions
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 | 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> | | <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| | <pre>{{Latest map variant|Cursed Crypt Map}}</pre> | ||
{{Latest map variant| | {{Latest map variant|Cursed Crypt Map}} | ||
{{Documentation categories| | {{Documentation categories| |
Revision as of 06:51, 3 September 2023
![](https://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Edit-copy_purple.svg/45px-Edit-copy_purple.svg.png)
This subpage provides documentation for Template:Latest map variant.
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)