Template:Room features/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Note about refreshing pages) |
No edit summary |
||
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: |
|||
In order to see a new feature appear, the page that is using Room features must be 'refreshed', using the "More" dropdown menu. |
|||
{{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
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
-
3 × Banded Wild Boar
-
3 × Great Wild Boar
-
3 × Old Wild Boar
-
3 × White Wild Boar
Skill nodes
-
4 × Faded Dandelion
Personalities
Parameter details
unnamed parameter
The name of the location.
Unfilled location lines for quick copy-paste
{{Room features}}