Template:FDBL: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Still testing - not ready for use.) |
||
Line 1: | Line 1: | ||
;PRE style |
|||
<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>> |
|||
<pre style= |
|||
| |
|||
<onlyinclude> |
|||
|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. |
|||
"margin-right: 20%; |
|||
| |
|||
margin-left: 2em; |
|||
|}</noinclude> |
|||
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; |
|||
white-space: -moz-pre-wrap; |
|||
white-space: -pre-wrap; |
|||
white-space: -o-pre-wrap;" |
|||
</onlyinclude> |
|||
> |
|||
>exp |
|||
Level: 6 Deeds: 0 |
|||
Experience: 43060 Death's Sting: None |
|||
Exp. until next: 11940 Recent Deaths: 0 |
|||
Mental TPs: 5 Fame: 27644 |
|||
Physical TPs: 47 Mana: 23/23 max |
|||
Your mind is as clear as a bell. |
|||
</pre> |
Revision as of 12:59, 25 March 2015
- PRE style
"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; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap;" </onlyinclude> > >exp Level: 6 Deeds: 0 Experience: 43060 Death's Sting: None Exp. until next: 11940 Recent Deaths: 0 Mental TPs: 5 Fame: 27644 Physical TPs: 47 Mana: 23/23 max Your mind is as clear as a bell.