Template:Blockref2: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left;"><div style="display:block; float:right; backgrou...")
 
No edit summary
 
Line 1: Line 1:
<includeonly><div style="border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left;"><div style="display:block; float:right; background:gainsboro; border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left; font-size: 1.6em;">&nbsp;{{{2}}}&nbsp;</div>{{{1}}}
<includeonly><div style="border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left;"><div style="display:block; float:left; background:gainsboro; border-style:solid; border-width:1px; border-radius:0.25em; border-color:gainsboro; text-align:left; ">&nbsp;{{{2}}}&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 08:57, 30 December 2019

Use[edit]

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

Syntax[edit]

{{Blockref|quoted text|reference}}

And place under sources, notes, etc.

<references />

Optional parameter[edit]

squeeze= if filled does not clear left

Example[edit]

{{Blockref2
|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]] - 5th edition [[SRD5|SRD]]</ref>}}

Produces:

 [1] 
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. SRD-OGL v5.1 - 5th edition SRD