Template:Refstart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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}}} | <includeonly><span style="display:inline; <!--float:left;--> border-top:solid 1px slateblue; border-left:solid 1px slateblue; text-align:left; 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 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:''' | ||
{{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> |
Latest revision as of 10:06, 6 August 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 ↑