Template:Room features: Difference between revisions

No edit summary
m (BlackHawk moved page Template:Location features to Template:Room features without leaving a redirect)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Room features|main}}<noinclude>{{/doc}}</noinclude>
<includeonly>{{#ask:
[[Location::{{{1|{{PAGENAME}}}}}]]
|category=Non-player characters
|?Name = object
|format = template
|introtemplate = Location Contents/Head/NPC
|template = Location Contents/Line
|outrotemplate = Location Contents/Bottom
|link = none
|searchlabel =
|named args = yes
}}
{{#ask:
[[Located in::{{{1|{{PAGENAME}}}}}]]
|category=Monsters
|?Location object = object
|?Location quantity = quantity
|format = template
|introtemplate = Location Contents/Head/Monster
|template = Location Contents/Line
|outrotemplate = Location Contents/Bottom
|link = none
|searchlabel =
|named args = yes
}}
{{#ask:
[[Located in::{{{1|{{PAGENAME}}}}}]]
[[Location object.Category::Skill nodes]]
|?Location object = object
|?Location quantity = quantity
|format = template
|introtemplate = Location Contents/Head/Node
|template = Location Contents/Line
|outrotemplate = Location Contents/Bottom
|link = none
|searchlabel =
|named args = yes
}}
{{#ask:
[[Located in::{{{1|{{PAGENAME}}}}}]]
|category=Scenery
|?Location object = object
|?Location quantity = quantity
|format = template
|introtemplate = Location Contents/Head/Scenery
|template = Location Contents/Line
|outrotemplate = Location Contents/Bottom
|link = none
|searchlabel =
|named args = yes
}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 01:06, 5 November 2024

Template documentation
This documentation is transcluded from Template:Room features/doc. [edit] [history] [purge]
Template:Room features invokes function main in Module:Room features using Lua.

The room features template is for adding to a features section of pages for Category:Rooms.

This requires other pages to use the {{LocLine}} template to add their locations and to appear in the features section of the room.

Example

{{Room features|Huntsman's Clearing}}

gives:

Monsters

Skill nodes

Personalities

Parameter details

unnamed parameter

The name of the location.

Unfilled location lines for quick copy-paste

{{Room features}}