Template:RoomDescription: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Reworked formatting.)
(More reformatting.)
Line 1: Line 1:
<div style="float: {{{1|none}}}; border: 1px solid black; background: white; margin-top: 1em; margin-bottom: 1em; margin-left: 2em; margin-right: {{{margin-right|20%}}}">
<div style="float: {{{1|none}}}; border: 1px solid black; background: white; margin-top: 1em; margin-bottom: 1em; margin-left: 2em; margin-right: {{{margin-right|20%}}}">
<div style="background: #E6F2FF; padding: 0.5em 0.5em; border: 1px; text-align: left; font-size: 95%;">
<div style="background: #E6F2FF; padding: 0.5em 0.5em; border: 1px; text-align: left; font-size: 95%;">
{| width="100%"
{| width="100%" cellpadding="0" cellspacing="0"
| align="left" | '''[{{{roomname}}}]'''
| align="left" | '''[{{{roomname}}}]'''
| align="right" | <sup>{{{rnum|}}}</sup>
| align="right" | <sup>{{{rnum|}}}</sup>
|}
|}
{| width="100%"
{| width="100%" cellpadding="0" cellspacing="0"
| {{{desc}}}
| {{{desc}}}
|}
|}
Line 22: Line 22:
== Comparison with [[Template:Log2]] ==
== Comparison with [[Template:Log2]] ==


{{RoomDescription
<div style="float: {{{1|none}}}; border: 1px solid black; background: white; margin-top: 1em; margin-bottom: 1em; margin-left: 2em; margin-right: {{{margin-right|20%}}}">
| roomname = Room Name
<div style="background: #E6F2FF; padding: 0.5em 0.5em; border: 1px; text-align: left; font-size: 95%;">
| rnum = rnum
{| width="100%"
| desc = 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.}}
| align="left" | '''[{{{roomname}}}]'''
| align="right" | <sup>{{{rnum}}}</sup>
|}
{|
| 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.
|}
</div>
</div>


<pre{{log2}}>
<pre{{log2}}>

Revision as of 13:18, 4 June 2015

[{{{roomname}}}]
{{{desc}}}

Usage

Parameters:

  • 1: (optional) left or right, determines floating
  • margin-right: (optional): space on right, default 20%
  • roomname: (required) room name
  • rnum: (optional) mapdb/narost room number
  • desc: (required) room description

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.


[{{{roomname}}} - {{{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.