Template:Otherlore: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="display:block; border-style:solid; border-width:1px; border-radius:0.25em; border-color:lightgray; text-align:left; background:ivory;{{#if: {{{margin|}}}|margin-right:{{{margin}}};|}}"><div style="display:block; float:right; background:gainsboro; border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left; margin-left:1em;"> {{{2}}} </div>{{#if: {{{3|}}}|<div style="display:block; float:left; back...")
 
mNo edit summary
 
Line 1: Line 1:
<includeonly><div style="display:block; border-style:solid; border-width:1px; border-radius:0.25em; border-color:lightgray; text-align:left; background:ivory;{{#if: {{{margin|}}}|margin-right:{{{margin}}};|}}"><div style="display:block; float:right; background:gainsboro; border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left; margin-left:1em;">&nbsp;{{{2}}}&nbsp;</div>{{#if: {{{3|}}}|<div style="display:block; float:left; background:gainsboro; border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left; margin-right:1em; font-size:1.2em;">&nbsp;'''{{{3}}}'''&nbsp;</div>|}} {{{1}}}  
<includeonly><div style="display:block; border-style:solid; border-width:1px; border-radius:0.25em; border-color:lightgray; text-align:left; background:ghostwhite;{{#if: {{{margin|}}}|margin-right:{{{margin}}};|}}"><div style="display:block; float:right; background:gainsboro; border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left; margin-left:1em;">&nbsp;{{{2}}}&nbsp;</div>{{#if: {{{3|}}}|<div style="display:block; float:left; background:gainsboro; border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left; margin-right:1em; font-size:1.2em;">&nbsp;'''{{{3}}}'''&nbsp;</div>|}} {{{1}}}  
{{#if: {{{squeeze|}}}|<br />|<br clear="left" />}}</div></includeonly><noinclude>
{{#if: {{{squeeze|}}}|<br />|<br clear="left" />}}</div></includeonly><noinclude>
==Use==
==Use==

Latest revision as of 06:52, 18 February 2024

Use

For referencing a large chunk of text (paragraph or more).

Syntax

{{otherlore|quoted text|reference|edition}}

And place under sources, notes, etc.

<references />

Optional parameter

|margin= <!--if want a margin to the right-->
|squeeze=true <!--if filled does not clear left-->

Example

{{otherlore
|Injury and the risk of death are constant companions of those who explore fantasy gaming worlds. The thrust of a sword, a well-­placed arrow, or a blast of flame from a ''[[SRD5:Fireball|fireball]]'' spell all have the potential to damage, or even kill, the hardiest of creatures.
|<ref name="srd5">[[SRD-OGL v5.1]]</ref>|5e}}

with margin...

{{otherlore|Injury and the risk of death are constant companions of those who explore fantasy gaming worlds. The thrust of a sword, a well-­placed arrow, or a blast of flame from a ''[[SRD5:Fireball|fireball]]'' spell all have the potential to damage, or even kill, the hardiest of creatures.|<ref name="srd5">[[SRD-OGL v5.1]]</ref>|5e|margin=200px;}}

Produces:

 [1] 
 5e 
Injury and the risk of death are constant companions of those who explore fantasy gaming worlds. The thrust of a sword, a well-­placed arrow, or a blast of flame from a fireball spell all have the potential to damage, or even kill, the hardiest of creatures.
 [1] 
 5e 
Injury and the risk of death are constant companions of those who explore fantasy gaming worlds. The thrust of a sword, a well-­placed arrow, or a blast of flame from a fireball spell all have the potential to damage, or even kill, the hardiest of creatures.