Template:Preload area article/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(Switch to new naming scheme)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 5: Line 5:
* If multiple areas have the same name:
* If multiple areas have the same name:
** if the area is part of the main story progression, append the act in parenthesis (e.x. [[Lioneye's Watch (Act 1)]])
** if the area is part of the main story progression, append the act in parenthesis (e.x. [[Lioneye's Watch (Act 1)]])
** if the area is a '''legacy''' map area, append the map version in parenthesis (e.x. [[Canyon Map (pre 2.0)]], [[Canyon Map (pre 2.4)]])
** if the area is a '''legacy''' map area, append the map series in parenthesis (e.x. [[Map:Canyon Map (Original)]], [[Map:Canyon Map (Original)]])


==Finding the area id==
==Finding the area id==
Line 19: Line 19:


==Example==
==Example==
<syntaxhighlight>{{subst:Path of Exile Wiki:Manual of Style/area
<syntaxhighlight lang="text">{{subst:Preload area article
|area_id=1_1_1
|area_id=1_1_1
|description=This is the best area.
|description=This is the best area.
Line 28: Line 28:
}}</syntaxhighlight>
}}</syntaxhighlight>
Generates a page like this:
Generates a page like this:
[[Template:Preload area article/area/doc/example]]
[[Template:Preload area article/doc/example]]


<includeonly></includeonly>
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Article creation templates]]
}}

Latest revision as of 08:34, 18 September 2022

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