Template:Refstart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="display:inline; <!--float:left;--> border-top:solid 1px slateblue; border-left:solid 1px slateblue; text-align:left; padding:2px;">{{{1}}}</span> </includeonly><noinclude> | <includeonly><span style="display:inline; <!--float:left;--> border-top:solid 1px slateblue; border-left:solid 1px slateblue; text-align:left; padding:2px;">{{{1|}}}</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 11: | Line 11: | ||
==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|<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> | ||
'''Produces:''' | '''Produces:''' |
Revision as of 13:18, 1 July 2020
Use
For referencing a large chunk of text (paragraph or more).
Syntax
{{startref|reference}}
This is followed by the referenced text.
Then {{refend}}
And place <references /> in the sources section of the page
Example
{{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|}}
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.
- SRD-OGL v5.1 - 5th edition SRD ↑