Template:Preload area article/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
mNo edit summary
>Illviljan
mNo edit summary
Line 2: Line 2:


==Naming area pages==
==Naming area pages==
* Use the name of the area as page name
* Use the name of the area as page name
* 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 version in parenthesis (e.x. [[Canyon Map (pre 2.0)]], [[Canyon Map (pre 2.4)]])
==Finding the area id==
Browse to it using [[Special:CargoTables]] or use a query similar to this:
<pre>
{{#cargo_query:
tables = areas
|fields = areas._pageName, areas.id, areas.name, areas.main_page
|where = areas.id LIKE "%"
|limit=5000
}}
</pre>


==Example==
==Example==

Revision as of 11:03, 17 March 2018

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:Path of Exile Wiki:Manual of Style/area
|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: Path of Exile Wiki:Manual of Style/area/doc/example