Template:File Reference: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17: Line 17:
|<code>name</code>
|<code>name</code>
|Used to specify a name for the citation itself, so one can use that citation again later via <code><nowiki><ref name="name-goes-here"/></nowiki></code>
|Used to specify a name for the citation itself, so one can use that citation again later via <code><nowiki><ref name="name-goes-here"/></nowiki></code>
|-
|<code>note</code>
|Used to add a note to the end of the citation if further clarification is necessary/desired.
|}
|}


Line 59: Line 62:
If you do this, you can use that citation again without creating a new one. In this case, you'd do so via <code><nowiki><ref name="CitationName"/></nowiki></code>
If you do this, you can use that citation again without creating a new one. In this case, you'd do so via <code><nowiki><ref name="CitationName"/></nowiki></code>
<ref name="CitationName"/>
<ref name="CitationName"/>
If you want to add a note to the end of the citation:
<pre><nowiki>{{File Reference
| file=FileName
| note=this is a note. Epic.
}}</nowiki></pre>{{File Reference
| file=FileName
| note=this is a note. Epic.
}}


[[Category:Templates]]
[[Category:Templates]]


</noinclude>
</noinclude>