Formatting_Help

In general, see this thread in the forums for the unofficial formatting FAQ. Anything else I learn – I’ll add here.

HTML in the wiki

Looks like almost all HTML seems to work in the wiki.

Line breaks

Two lines written as two separate lines (that is, with a carriage return between them) will appear on this wiki as if they were part of the same paragraph. To force a line break, use either the

<br>
tag, or two carriage returns between the lines.

Alternately, you can place your paragraphs inside the HTML

<p>...</p>
or
<div>...</div>
tags.



Limiting the character block

To restrict the width of the block of text, use the following code:

<div style="width:350px">
This text is limited in width to 350px. 
This is only visible if the text wraps around the line, therefore...
</div>

Sample

This text is limited in width to 350px. This is only visible if the text wraps around the line, therefore… This text is limited in width to 350px. This is only visible if the text wraps around the line, therefore… This text is limited in width to 350px. This is only visible if the text wraps around the line, therefore…

Making the link black

To make a link black, use the following syntax:

"%{color:black}This link is black but still underlined%":http://www.d20pfsrd.com/

Sample

This link is black but still underlined

Indents

To indent a single line use:

<div style="text-indent:20px;">This line is indented by 20px.</div>

Sample

This line is indented by 20px.

To indent several lines, use:

<div style="padding-left:20px">All the text that follows this command 
will be indented by 20px. This is only visible if the text wraps 
around the line, therefore... </div>

Sample

All the text that follows this command will be indented by 20px. This is only visible if the text wraps around the line, therefore… All the text that follows this command will be indented by 20px. This is only visible if the text wraps around the line, therefore…


Wiki links not accepting the full URL

If the link won’t work using the wiki markup, resort to HTML with the following code:

<a href="http://www.d20pfsrd.com/classes/basic-classes/paladin#TOC-Smite-Evil-Su-">
<span style="color: black">Smite Evil (Su)</span></a>:
Swift action; 1 target; +CHA to atk,

Sample

Smite Evil (Su): Swift action; 1 target; +CHA to atk,

Small scroll background

<div style="width:350px;
   font-family:times;
   font-size:11pt;
   color:#554433;
   line-height:normal;
   background-image:url(&#39;http://omnichron.net/external/op/src/bg_small.jpg&#39;);position:relative;">
   <div style="width:350px;
      height:19px;
      background-image:url(&#39;http://omnichron.net/external/op/src/top_small.png&#39;);">
   </div>
   <div style="width:290px;padding:20px 30px 20px 30px;">
      Information goes here<br><br>
      As little or as much as you want<br><br>
      It will all be indented and appear on a nice rough-textured background<br><br>
      Just don't change the references above or below this text; 
      otherwise things will break.<br><br>
   </div>
   <div style="width:350px;
      height:19px;
      background-image:url(&#39;http://omnichron.net/external/op/src/bottom_small.png&#39;);">
   </div>
   <img src="http://omnichron.net/external/op/src/map_clip.png" style="position:absolute;bottom:-10px;right:0px;">
</div>

Sample

Information goes here

As little or as much as you want

It will all be indented and appear on a nice rough-textured background

Just don’t change the references above or below this text; otherwise things will break.

Wiki Sidebar

<div class="toppagecontainer">

<div class="menu">
<div class="menutitle">*General*</div>
<div class="menucontent"><a href="/wikis/main-page" class="wiki-page-link"> Home Page</a></br>
<a href="/wikis/xp-totals" class="wiki-page-link">XP totals</a></br>
"Adventures":http://www.obsidianportal.com/campaign/rotrllegacy/adventure-log</br>
<a href="/wikis/rule-additions" class="wiki-page-link">Rule Additions</a></br></div>
<div class="menutitle">*Places*</div>
<div class="menucontent"><a href="/wikis/varisia" class="wiki-page-link">Varisia</a></br>
<a href="/wikis/sandpoint" class="wiki-page-link">Sandpoint</a></br>
<a href="/wikis/hinterlands" class="wiki-page-link"> Hinterlands</a></br>
<a href="/wikis/magnimar" class="wiki-page-link">Magnimar</a></br>
<a href="/wikis/holdings" class="wiki-page-link"> Holdings</a></br>
<a href="/wikis/maps-index" class="wiki-page-link">Maps Index</a></div>
<div class="menutitle">*Misc*</div>
<div class="menucontent"><a href="/wikis/campaign-calendar" class="wiki-page-link"> Calendar</a></br>
<li><a href="/wikis/other-rotrl-campaigns" class="wiki-page-link"> Others</a></br>
<li><a href="/wikis/formatting-help" class="wiki-page-link"> Formatting</a></div>
</div>
<div class="pagecontent">
Page content goes here.
</div>

Formatting_Help

Rise of the Rune Lords ketherian