Template:Refend: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision 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;">{{{1|&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 08:26, 11 October 2020

Use[edit]

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

Syntax[edit]

{{refend}}

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

Example[edit]

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