Template:Room features: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<includeonly>{{#ask: [[Located in::{{{1|{{PAGENAME}}}}}]] |?Location object = object |?Location quantity = quantity |format = template |introtemplate = Location Contents/Head |template = Location Contents/Line |outrotemplate = Location Contents/Bottom |link = none |searchlabel = |named args = yes |default = :''No location contents found for {{{1|{{PAGENAME}}}}}. To force an update, click {{Purge|here|tag=span}}.''Category:Empty location list }}</includeonly><noinclu...")
 
(An attempt at a template for the galleries built automatically out of SMW)
Line 1:
<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}}}}}]]
|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
Line 10 ⟶ 49:
|searchlabel =
|named args = yes
|default = :''No location contents found for {{{1|{{PAGENAME}}}}}. To force an update, click {{Purge|here|tag=span}}.''[[Category:Empty location list]]
}}</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 12:34, 3 November 2024

Template documentation
This documentation is transcluded from Template:Room features/doc. [edit] [history] [purge]

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:


Template:Location Contents/Head/MonsterTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/Bottom Template:Location Contents/Head/NodeTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/Bottom Template:Location Contents/Head/SceneryTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/LineTemplate:Location Contents/Bottom

Parameter details

unnamed parameter

The name of the location.

Unfilled location lines for quick copy-paste

{{Room features}}