Template:Map variants: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>AnSq
(multiple names)
>AnSq
(automatic handling of non-existent maps)
Line 1: Line 1:
{{#vardefine:war|{{#if:{{{war|}}}|{{{war}}}|{{{1|Strand}}} }}
== Other Versions ==
}}{{#vardefine:atlas|{{#if:{{{atlas|}}}|{{{atlas}}}|{{{1|Strand}}} }}
{{#vardefine:one      | {{{1|Strand}}} }}
}}{{#vardefine:awakening|{{#if:{{{awakening|}}}|{{{awakening}}}|{{{1|Strand}}} }}
 
}}{{#vardefine:original|{{#if:{{{original|}}}|{{{original}}}|{{{1|Strand}}} }}
{{#vardefine:war       | {{#if:{{{war|}}}       |{{{war}}}       |{{#var:one}} }} }}
}}* {{#if:{{{war}}}|{{il|page={{#var:war}} Map (War for the Atlas)|name={{#var:war}} Map (War for the Atlas)}}|There is no {{#var:war}} Map in the ''War for the Atlas'' map series}}
{{#vardefine:atlas     | {{#if:{{{atlas|}}}     |{{{atlas}}}     |{{#var:one}} }} }}
* {{#if:{{{atlas}}}|{{il|page={{#var:atlas}} Map (Atlas of Worlds)|name={{#var:atlas}} Map (Atlas of Worlds)}}|There is no {{#var:atlas}} Map in the ''Atlas of Worlds'' map series}}
{{#vardefine:awakening | {{#if:{{{awakening|}}} |{{{awakening}}} |{{#var:one}} }} }}
* {{#if:{{{awakening}}}|{{il|page={{#var:awakening}} Map (The Awakening)|name={{#var:awakening}} Map (The Awakening)}}|There is no {{#var:awakening}} Map in ''The Awakening'' map series}}
{{#vardefine:original | {{#if:{{{original|}}} |{{{original}}} |{{#var:one}} }} }}
* {{#if:{{{original}}}|{{il|page={{#var:original}} Map (Original)|name={{#var:original}} Map (Original)}}|There is no {{#var:original}} Map in the War for the ''Original'' map series}}
 
{{#vardefine:war_exists          | {{#cargo_query:table = maps |where = maps._pageName='{{#var:war}} Map (War for the Atlas)'        |default=}} }}
{{#vardefine:atlas_exists        | {{#cargo_query:table = maps |where = maps._pageName='{{#var:atlas}} Map (Atlas of Worlds)'        |default=}} }}
{{#vardefine:atlas_shaped_exists | {{#cargo_query:table = maps |where = maps._pageName='Shaped {{#var:atlas}} Map (Atlas of Worlds)' |default=}} }}
{{#vardefine:awakening_exists    | {{#cargo_query:table = maps |where = maps._pageName='{{#var:awakening}} Map (The Awakening)'      |default=}} }}
{{#vardefine:original_exists    | {{#cargo_query:table = maps |where = maps._pageName='{{#var:original}} Map (Original)'            |default=}} }}
 
{{#if:{{#var:war_exists}}         |* {{il|page={{#var:war}} Map (War for the Atlas)       |name={{#var:war}} Map (War for the Atlas)}}       |* There is no {{#var:war}} Map in the ''War for the Atlas'' map series}}
{{#if:{{#var:atlas_exists}}       |* {{il|page={{#var:atlas}} Map (Atlas of Worlds)       |name={{#var:atlas}} Map (Atlas of Worlds)}}       |* There is no {{#var:atlas}} Map in the ''Atlas of Worlds'' map series}}
{{#if:{{#var:atlas_shaped_exists}} |* {{il|page=Shaped {{#var:atlas}} Map (Atlas of Worlds) |name=Shaped {{#var:atlas}} Map (Atlas of Worlds)}} |}}
{{#if:{{#var:awakening_exists}}    |* {{il|page={{#var:awakening}} Map (The Awakening)     |name={{#var:awakening}} Map (The Awakening)}}     |* There is no {{#var:awakening}} Map in ''The Awakening'' map series}}
{{#if:{{#var:original_exists}}     |* {{il|page={{#var:original}} Map (Original)           |name={{#var:original}} Map (Original)}}           |* There is no {{#var:original}} Map in the ''Original'' map series}}

Revision as of 08:24, 15 January 2018

Other Versions

  • There is no Strand Map in the War for the Atlas map series
  • There is no Strand Map in the Atlas of Worlds map series
  • There is no Strand Map in The Awakening map series
  • There is no Strand Map in the Original map series