Template:RoomDescription: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Slightly modified version of Elanthipedia's RoomDescription template.)
 
(Reworked formatting.)
Line 1: Line 1:
<div style="float: {{{1|none}}}; border: 1px solid black; background: white; margin: 0; width: 70%;">
<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.8em 0.8em; border: 1px; text-align: left;">
<div style="background: #E6F2FF; padding: 0.5em 0.5em; border: 1px; text-align: left; font-size: 95%;">
{| width="100%"
{| width="100%"
| align="left" | '''[{{{roomname}}}]'''
| align="left" | '''[{{{roomname}}}]'''
Line 11: Line 11:
</div>
</div>
<noinclude>
<noinclude>
== Usage ==

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

== Comparison with [[Template:Log2]] ==

<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%;">
{| width="100%"
| 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}}>
<b>[{{{roomname}}} - {{{rnum}}}]</b>
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.
</pre>

[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:21, 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

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