Template:Map variants/doc
Jump to navigation
Jump to search
![](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:Map variants.
OtherMapVersions creates a list of items that have the same name or has been renamed.
Overview
The template displays a list of all map pages that share the same base name and differ in a disambiguation suffix in parenthesis. The template follows this procedure:
- Cargo queries for the item name according to
name
. - From the results it retrieves the items previous name from
items.name_list
and queries for those item names as well. This steps is repeated until all names has been tested. Note that name_list should only be filled in for the item when the name actually changed. Don't copy paste from previous item variants. - The sorting order is according to the the following cargo fields:
items.release_version DESC, items.removal_version DESC, items.name ASC, maps.area_id ASC
. Meaning that it is important to update each drop disabled{{item}}
with theremoval_version
. Otherwise the template will not sort correctly.
Parameters
Parameter | Type | Description | Default | Example | Required |
---|---|---|---|---|---|
name
|
str | Item name. Should not be used on item or disambiguation pages. | {{PAGENAME}}
|
Cursed Crypt Map | ✗
|
Example
{{OtherMapVersions|name=Cursed Crypt Map}}
yields:
Map variants
Lua error in Module:Map_variants at line 72: No map found on page.