Template:Preload area article: Difference between revisions
Jump to navigation
Jump to search
KickahaOta (talk | contribs) m (KickahaOta moved page Path of Exile Wiki:Manual of Style/area to Template:Preload area article: Switch to new substitution template naming scheme that keeps templates in Template space) |
KickahaOta (talk | contribs) (Allow setting cats parameter) |
||
Line 1: | Line 1: | ||
<includeonly>{{Query area infoboxes | <includeonly>{{Query area infoboxes | ||
|where=areas.id="{{{area_id}}}" | |where=areas.id="{{{area_id}}}" | ||
|cats=yes | |cats={{safesubst:#if: {{{cats|}}} |{{{cats}}}|yes}} | ||
}} | }} | ||
{{{description|'''{{PAGENAME}}''' is an [[area]].}}} | {{{description|'''{{PAGENAME}}''' is an [[area]].}}} |
Latest revision as of 19:54, 9 December 2021
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
The above documentation is transcluded from Template:Preload area article/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.