Template:Preload area article/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(Switch example to new naming scheme)
(categories)
Line 32: Line 32:
{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Templates]]
[[Category:Article creation templates]]
[[Category:New page substitution templates]]
}}
}}

Revision as of 16:58, 12 December 2021

This subpage provides documentation for Template:Preload area article.

Naming area pages

Finding the area id

Browse to it using Special:CargoTables or use a query similar to this:

{{#cargo_query:
tables = areas
|fields = areas._pageName, areas.id, areas.name, areas.main_page
|where = areas.id LIKE "%"
|limit=5000
}}

Example

{{subst:Preload area article
|area_id=1_1_1
|description=This is the best area.
|npcs=* [[Nessa]]
|quests=* {{Ql|Enemy at the Gate}}
|monsters=* [[Hillock]]
|lore=* Lore items etc
}}

Generates a page like this: Template:Preload area article/doc/example