Template:Blockref: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
|style="border-style:solid; border-width:1px; border-radius:0.25em; border-color:#ddddee;"|{{{1}}}
|style="border-style:solid; border-width:1px; border-radius:0.25em; border-color:#ddddee;"|{{{1}}}
|valign="top"|{{{2}}}
|valign="top"|{{{2}}}
|}<br clear="left" /></includeonly><noinclude>
|}{{#if: {{{squeeze|}}}|<!--do nothing-->|<br clear="left" />}}</includeonly><noinclude>
==Use==
==Use==
For referencing a large chunk of text (paragraph or more).
For referencing a large chunk of text (paragraph or more).


==Syntax==
==Syntax==
<pre>{{Blockref|quoted text|reference}}</pre>
<pre>{{Blockref|quoted text|reference|optSqueezeYN}}</pre>


And place under sources, notes, etc.
And place under sources, notes, etc.

Revision as of 07:30, 30 December 2019

Use

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

Syntax

{{Blockref|quoted text|reference|optSqueezeYN}}

And place under sources, notes, etc.

<references />

Example

{{Blockref
|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:

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]


  1. SRD-OGL v5.1 - 5th edition SRD