Template:Categorize Location

From HorizonXI Wiki
Revision as of 12:11, 19 September 2024 by Aramachus (talk | contribs) (put code that identifies location in own template and switch compares now against expressions with underscore instead of spaces)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Template used to categorize according to a location. Arguments:

  • location: expects a Template:Location return.
  • category type: actual category type which is put after the location

Note: The template does not return anything, only categorizes based on the location input to the chosen type category of that area.

For city areas, will categorize to the city as well as the specific map/part of the city.

Examples

{{Categorize Location
|location={{Location|Selbina|H-7}}
|category type=Quests
}}

will categorize the page as Category:Selbina/Quests and Category:Other/Quests

{{Categorize Location
|location={{Location|Southern San d'Oria|H-7}}
|category type=Quests
}}

will categorize the page as Category:Southern San d'Oria/Quests and Category:San d'Oria/Quests

{{Categorize Location
|location={{Location|Southern San d'Oria|H-7}}
|category type=NPCs
}}

will categorize the page as Category:Southern San d'Oria/NPCs and Category:San d'Oria/NPCs