Template:Room features: Difference between revisions
InvalidCards (talk | contribs) (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...") |
InvalidCards (talk | contribs) (An attempt at a template for the galleries built automatically out of SMW) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ask: |
<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}}}}}]] |
[[Located in::{{{1|{{PAGENAME}}}}}]] |
||
|category=Scenery |
|||
|?Location object = object |
|?Location object = object |
||
|?Location quantity = quantity |
|?Location quantity = quantity |
||
|format = template |
|format = template |
||
|introtemplate = Location Contents/Head |
|introtemplate = Location Contents/Head/Scenery |
||
|template = Location Contents/Line |
|template = Location Contents/Line |
||
|outrotemplate = Location Contents/Bottom |
|outrotemplate = Location Contents/Bottom |
||
Line 10: | Line 49: | ||
|searchlabel = |
|searchlabel = |
||
|named args = yes |
|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> |
}}</includeonly><noinclude>{{/doc}}</noinclude> |
Revision as of 12:34, 3 November 2024
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}}