Template:Refstart: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><div style="display:block; float:left; border-top:solid 1px black; border-left:solid 1px black; text-align:left;"><div style="display:block; background:gainsboro;...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>< | <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 6: | Line 6: | ||
<pre>{{startref|reference}}</pre> | <pre>{{startref|reference}}</pre> | ||
This is followed by the referenced text.<br /> | |||
Then '''<nowiki>{{refend}}</nowiki>'''<br /> | |||
< | And place '''<nowiki><references /></nowiki>''' in the sources section of the page | ||
==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. | <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. | |||
{{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 ↑