Template:Room features/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Basic notes)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Documentation}}
Room features is used to populate the 'features' area of a location.
The '''room features''' template is for adding to a features section of pages for [[:Category:Rooms]].


This requires other pages to use the {{T|LocLine}} template to add their locations and to appear in the features section of the room.
It generates a list of features of the room, pooled together from usages of [[Template:LocLine]] ([[Template:LocLine/doc|docs]]) site-wide.


==Example==
If for instance a location is missing a new type of foraging node, that node may be missing LocLine entries on its page.
<pre>
{{Room features|Huntsman's Clearing}}
</pre>

gives:

{{Room features|Huntsman's Clearing}}

==Parameter details==
===unnamed parameter===
The name of the location.

==Unfilled location lines for quick copy-paste==
<pre>{{Room features}}</pre>

Latest revision as of 13:36, 8 November 2024

This is a documentation subpage for Template:Room features.
It contains usage information, categories, and other content that is not part of the original template page.
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}}