Template:Refstart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No 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 14: | Line 14: | ||
'''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|<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}} | ||
[[Category:Help Templates]] | [[Category:Help Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 13:09, 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 ↑