Template:RoomDescription: Difference between revisions
Jump to navigation
Jump to search
m (Documentation adjustment for copy/paste section so that it stands out as code.) |
(Removed some unused parameters.) |
||
Line 12: | Line 12: | ||
|- |
|- |
||
<includeonly>{{#if: {{{1|}}} |</includeonly> {{!}} style="padding-top: 1em" {{!}} {{{1}}}<includeonly>|</includeonly>}} |
<includeonly>{{#if: {{{1|}}} |</includeonly> {{!}} style="padding-top: 1em" {{!}} {{{1}}}<includeonly>|</includeonly>}} |
||
|- |
|||
<includeonly>{{#if: {{{2|}}} |</includeonly> {{!}} {{{2}}}<includeonly>|</includeonly>}} |
|||
|- |
|||
<includeonly>{{#if: {{{3|}}} |</includeonly> {{!}} style="padding-top: 1em" {{!}} {{{3}}}<includeonly>|</includeonly>}} |
|||
|- |
|||
<includeonly>{{#if: {{{4|}}} |</includeonly> {{!}} {{{4}}}<includeonly>|</includeonly>}} |
|||
|- |
|||
<includeonly>{{#if: {{{4|}}} |</includeonly> {{!}} style="padding-top: 1em" {{!}} {{{5}}}<includeonly>|</includeonly>}} |
|||
|- |
|||
<includeonly>{{#if: {{{4|}}} |</includeonly> {{!}} {{{6}}}<includeonly>|</includeonly>}} |
|||
|} |
|} |
||
</div> |
</div> |
Revision as of 14:54, 12 October 2015
[{{{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) exits
- (optional) paths
- (optional) float: floating box
- (optional) margin-right: space on right, default 20%
Copy/paste Code
{{RoomDescription |roomname = |desc = |rnum = |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