Template:Refend: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly><span style="display:inline; border-bottom:solid 1px slateblue; border-right:solid 1px slateblue; text-align:right; padding:2px;">  </span> </includeonl...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="display:inline; border-bottom:solid 1px slateblue; border-right:solid 1px slateblue; text-align:right; padding:2px;">&nbsp;&nbsp;</span> </includeonly><noinclude>
<includeonly><span style="display:inline; border-bottom:solid 1px slateblue; border-right:solid 1px slateblue; text-align:right; padding:2px;"></span> {{{1|}}} </includeonly><noinclude>
==Use==
==Use==
For referencing a large chunk of text (paragraph or more).
For referencing a large chunk of text (paragraph or more).
Line 9: Line 9:


==Example==
==Example==
<pre>{{refstart|<ref name="srd5">[[SRD-OGL v5.1]] - 5th edition [[SRD5|SRD]]</ref>}} 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.{{refend}}</pre>
<pre>{{refstart}} 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.{{refend}}</pre>


'''Produces:'''
'''Produces:'''
{{refstart|<ref name="srd5">[[SRD-OGL v5.1]] - 5th edition [[SRD5|SRD]]</ref>}} 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.{{refend}}
 
{{refstart}} 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.{{refend|<ref name="srd5">[[SRD-OGL v5.1]] - 5th edition [[SRD5|SRD]]</ref>}}
<references />
<references />
[[Category:Help Templates]]
[[Category:Help Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:26, 11 October 2020

Use

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

Syntax

{{refend}}

Place after {{refstart|reference}} and the referenced text. Also remember to have <references /> at the end of the page

Example

{{refstart}} 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.{{refend}}

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