Template:Map variants/doc: Difference between revisions
Jump to navigation
Jump to search
>AnSq (default to PAGENAME) |
>AnSq (heading options) |
||
Line 9: | Line 9: | ||
! Type | ! Type | ||
! Description | ! Description | ||
! Default | |||
! Example | ! Example | ||
! Required | ! Required | ||
|- | |- | ||
| '''{{{1}}}''' | | '''<code>{{{1}}}</code>''' | ||
| str | | str | ||
| Map name, without "Map" or series; or <nowiki>{{PAGENAME}}</nowiki> of a map | | Map name, without "Map" or series; or <code><nowiki>{{PAGENAME}}</nowiki></code> of a map | ||
| <code><nowiki>{{PAGENAME}}</nowiki></code> | |||
| Cursed Crypt | | Cursed Crypt | ||
| {{No}} | | {{No}} | ||
Line 20: | Line 22: | ||
| '''war''' | | '''war''' | ||
| str | | str | ||
| Name of map in the ''War for the Atlas'' (3.1) series, | | 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 | | Cursed Crypt | ||
| {{No}} | | {{No}} | ||
Line 26: | Line 29: | ||
| '''atlas''' | | '''atlas''' | ||
| str | | str | ||
| Name of map in the ''Atlas of Worlds'' (2.4) series, | | 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 | | Cursed Crypt | ||
| {{No}} | | {{No}} | ||
Line 32: | Line 36: | ||
| '''awakening''' | | '''awakening''' | ||
| str | | str | ||
| Name of map in ''The Awakening'' (2.0) series, | | Name of map in ''The Awakening'' (2.0) series, or empty to indicate that no such map exists | ||
| <code>{{{1}}}</code> | |||
| Crypt | | Crypt | ||
| {{No}} | | {{No}} | ||
Line 38: | Line 43: | ||
| '''original''' | | '''original''' | ||
| str | | str | ||
| Name of map in the ''Original'' series, | | Name of map in the ''Original'' series, or empty to indicate that no such map exists | ||
| <code>{{{1}}}</code> | |||
| Crypt | | 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}} | |||
|} | |} | ||
Revision as of 10:58, 16 January 2018
This subpage provides documentation for Template:Map variants.
Creates a section with links to map versions from other series.
Parameters
Parameter | Type | Description | Default | Example | Required |
---|---|---|---|---|---|
{{{1}}}
|
str | Map name, without "Map" or series; or {{PAGENAME}} of a map
|
{{PAGENAME}}
|
Cursed Crypt | ✗
|
war | str | Name of map in the War for the Atlas (3.1) series, or empty to indicate that no such map exists | {{{1}}}
|
Cursed Crypt | ✗
|
atlas | str | Name of map in the Atlas of Worlds (2.4) series, or empty to indicate that no such map exists | {{{1}}}
|
Cursed Crypt | ✗
|
awakening | str | Name of map in The Awakening (2.0) series, or empty to indicate that no such map exists | {{{1}}}
|
Crypt | ✗
|
original | str | Name of map in the Original series, or empty to indicate that no such map exists | {{{1}}}
|
Crypt | ✗
|
heading | str | Section heading | Other Versions | Legacy Variants | ✗
|
hide_heading | bool | Set to 1 to generate only a bare list of item links | 0 | 1 | ✗
|
The template should automatically detect if a map doesn't exist, so giving empty arguments isn't usually necessary.
Example
{{OtherMapVersions|Cursed Crypt|awakening=Crypt|original=Crypt}}
yields:
Map variants
Item | Map Tier | Map Level | Map Series |
---|