Template:FDBL: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
style="padding-top: 0px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; margin-right: 20%; margin-left: 2em; margin-top: 2em; margin-bottom: 2em; background: #f3f3f9; border: 2px dashed #adbcd0; text-align: left; font-size:95%; font-family: Consolas, DejaVu sans mono, Courier New, monospace; color: black; white-space: pre-wrap"
<noinclude>{|</noinclude> <pre style="padding-top: 0px; padding-left: 10px; padding-right: 10px; margin-right: {{{margin-right|20%}}}; margin-left: 2em; margin-top: 2em; margin-bottom: 2em; background: #f3f3f9; border: 2px dashed #adbcd0; text-align: left; font-size:95%; font-family: Consolas, DejaVu sans mono, Courier New, monospace; color: black; white-space: pre-wrap;"<noinclude>>
|

|This template is for LOG captures where preserving white space within lines of information in a <nowiki><div></nowiki> tag - is considered important. Examples can include formatted output from shops and events, verb info help information that frequently has columnar output, certain types of combat resolution output, and select verbs themselves that have a columnar layout (like exp, skill or info verbs and their extensions).<br><br>It includes proper word-wrap at the boundaries of the text box, preventing the 'box within a box' output that gets rendered when sentences start with a space.<br><br>For a log template that does not concern itself with space preservation, see LOG.
<noinclude> Formatting template to get PRE command to look like LOG template</noinclude>
|
|}</noinclude>

Revision as of 20:59, 24 March 2015

This template is for LOG captures where preserving white space within lines of information in a <div> tag - is considered important. Examples can include formatted output from shops and events, verb info help information that frequently has columnar output, certain types of combat resolution output, and select verbs themselves that have a columnar layout (like exp, skill or info verbs and their extensions).

It includes proper word-wrap at the boundaries of the text box, preventing the 'box within a box' output that gets rendered when sentences start with a space.

For a log template that does not concern itself with space preservation, see LOG.