Template:Room features: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Replaced content with "{{#invoke:Location contents|main}}<noinclude>{{/doc}}</noinclude>")
Tag: Replaced
Line 1:
{{#invoke:Location contents|main}}</includeonly><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>

Revision as of 00:53, 5 November 2024

Script error: No such module "Location contents".

Template documentation
This documentation is transcluded from Template:Room features/doc. [edit] [history] [purge]
Template:Room features invokes function main in Module:Location contents 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:

Script error: No such module "Location contents".

Parameter details

unnamed parameter

The name of the location.

Unfilled location lines for quick copy-paste

{{Room features}}