Template:RoomDescription: Difference between revisions
Jump to navigation
Jump to search
(Slight update to template for clarity) |
mNo edit summary Tag: Manual revert |
||
(10 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{| width="100%" cellpadding="0" cellspacing="0" |
{| width="100%" cellpadding="0" cellspacing="0" |
||
| align="left" | '''[{{{roomname}}}]''' |
| align="left" | '''[{{{roomname}}}]''' |
||
| align="right" | {{#if: {{{rnum|}}}| |
| align="right" | {{#if: {{{realrnum|}}}|Room: {{{realrnum|}}} |}}{{#if: {{{rnum|}}} | {{#if: {{{realrnum|}}} | , [[Script Go2|RNUM]]: {{{rnum|}}} | [[Script Go2|RNUM]]: {{{rnum|}}} |}} |}} |
||
|- |
|- |
||
| colspan="2" | {{{desc}}} |
| colspan="2" | {{{desc}}} |
||
Line 14: | Line 14: | ||
|} |
|} |
||
</div> |
</div> |
||
</div> |
</div><noinclude> |
||
<includeonly>{{#switch: {{{include}}}|#default={{#if: {{{town|}}} | [[Category: {{{town}}}]] }}}}</includeonly> |
|||
<noinclude> |
|||
== Usage == |
== Usage == |
||
Line 24: | Line 22: | ||
*(required) desc: room description |
*(required) desc: room description |
||
*(optional) rnum: mapdb/narost room number |
*(optional) rnum: mapdb/narost room number |
||
*(optional) realrnum: real room number |
|||
*(optional) exits |
*(optional) exits |
||
*(optional) paths |
*(optional) paths |
||
Line 35: | Line 34: | ||
|desc = |
|desc = |
||
|rnum = |
|rnum = |
||
|realrnum = |
|||
|exits = <--Use this for inside rooms that say exit--> |
|||
|exits = |
|||
|paths = <--Use this for outside rooms that say path--> |
|||
|paths = |
|||
|town = <--To autoadd category--> |
|||
|float = |
|float = |
||
|margin-right = |
|margin-right = |
Latest revision as of 16:29, 27 November 2024
[{{{roomname}}}] | |
{{{desc}}} | |
Obvious exits: {{{exits}}}}} | |
Obvious paths: {{{paths}}}}} | |
{{{1}}}}} |
Usage
Parameters:
- (required) roomname: room name
- (required) desc: room description
- (optional) rnum: mapdb/narost room number
- (optional) realrnum: real room number
- (optional) exits
- (optional) paths
- (optional) float: floating box
- (optional) margin-right: space on right, default 20%
Copy/paste Code
{{RoomDescription |roomname = |desc = |rnum = |realrnum = |exits = |paths = |float = |margin-right = }}
Comparison with Template:Log2
[Room Name] | rnum |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
Obvious paths: east, west |
[Room Name - rnum] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Obvious paths: east, west