Template:Preload area article/doc: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 (Created page with "{{documentation subpage}} ==Example== <syntaxhighlight>{{subst:Path of Exile Wiki:Manual of Style/area |area_id=1_1_1 |description=This is the best area. |npcs=* Nessa |q...") |
No edit summary |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Naming area pages== | |||
* Use the name of the area as page 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 a '''legacy''' map area, append the map series in parenthesis (e.x. [[Map:Canyon Map (Original)]], [[Map:Canyon Map (Original)]]) | |||
==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== | ||
<syntaxhighlight>{{subst: | <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. | ||
|npcs=* [[Nessa]] | |npcs=* [[Nessa]] | ||
|quests=* | |quests=* {{Ql|Enemy at the Gate}} | ||
|monsters=* [[Hillock]] | |monsters=* [[Hillock]] | ||
|lore=* Lore items etc | |lore=* Lore items etc | ||
}}</syntaxhighlight> | }}</syntaxhighlight> | ||
Generates a page like this: | Generates a page like this: | ||
[[ | [[Template:Preload area article/doc/example]] | ||
< | {{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
- Use the name of the area as page 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 a legacy map area, append the map series in parenthesis (e.x. Map:Canyon Map (Original), Map:Canyon Map (Original))
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