Template:Categorize Location: Difference between revisions

From HorizonXI Wiki
(added chateau d'oraguille, others for mhaura selbina tavnazia and unallocated as category for whatever isnt caught by the switch command)
mNo edit summary
Line 66: Line 66:
</pre>
</pre>


''will categorize the page as '' [[:Category:Selbina/Quests]]
''will categorize the page as '' [[:Category:Selbina/Quests]] ''and'' [[:Category:Others/Quests]]


<pre>
<pre>

Revision as of 13:22, 17 August 2024

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:Others/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