Template:Log2

The official GemStone IV encyclopedia.
Jump to navigation Jump to search

This template is intended to reduce the number of edits needed to properly format game output on the wiki. Editors can copy and paste game output inside of the below template with little to no editing. See Template:Log3 for use with character descriptions on Storyline and Merchant NPCS.

Usage

<pre{{log2}}>Insert game output here.</pre>

In many cases, it will be useful to include a right margin to keep the template from encroaching on a right sidebar. Use this syntax in these situations:

<pre{{log2|margin-right=26em}}>Insert game output here.</pre>

Other information

Parameters that can be overloaded / adjusted in adopting templates include:

 style="margin-right: {{{margin-right|20%}}}; 
margin-left: {{{margin-left|2em}}}; 
margin-top: {{{margin-top|1em}}}; 
margin-bottom: {{{margin-bottom|1em}}}; 
padding: {{{padding|7px 10px}}}; 
background: {{{background|#f3f3f9}}}; 
border: {{{border|line}}}; 
text-align: {{{text-align|left}}}; 
font-size:{{{font-size|95%}}}; 
font-family: {{{font|Consolas, DejaVu sans mono, Courier New, monospace}}};
color: {{{color|black}}}; 
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;"
</onlyinclude>

Example

Markup

<pre{{log2}}>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>

Result

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