Template:Refend: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><span style="display:inline; border-bottom:solid 1px slateblue; border-right:solid 1px slateblue; text-align:right; padding:2px;">{{{1|&nbsp;}}}</span> </includeonly><noinclude>
<includeonly>{{{1|}}}<span style="display:inline; border-bottom:solid 1px slateblue; border-right:solid 1px slateblue; text-align:right; padding:2px;"></span> </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>

Revision as of 10:04, 6 August 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