Template:File Reference: Difference between revisions
No edit summary |
Added Template:References to "see also" section |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{file |}}} | <includeonly>{{#if: {{{file |}}} | ||
| {{#if: {{{name |}}} | | {{#if: {{{name |}}} | ||
| {{#tag: ref | <code>{{{file}}}{{{type |.xml}}}</code> | name={{{name}}}}} | | {{#tag: ref | <code>{{{file}}}{{{type |.xml}}}</code>{{#if: {{{note |}}} |, {{{note}}} |}} | name={{{name}}}}} | ||
| {{#tag: ref | <code>{{{file}}}{{{type |.xml}}}</code>}}}} | | {{#tag: ref | <code>{{{file}}}{{{type |.xml}}}</code>{{#if: {{{note |}}} |, {{{note}}} |}}}}}} | ||
| {{Template Error}}}}</includeonly><noinclude>This template can be used to reference games files other than those present in the assembly, such as XML files. | | {{Template Error}}}}</includeonly><noinclude>This template can be used to reference games files other than those present in the assembly, such as XML files. | ||
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 60: | Line 63: | ||
<ref name="CitationName"/> | <ref name="CitationName"/> | ||
[[Category:Templates]] | 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. | |||
}} | |||
== See Also == | |||
* [[Template:References]] | |||
* [[Template:XML Reference]] | |||
* [[Template:Code Reference]] | |||
== References == | |||
<references /> | |||
[[Category:Reference Templates]] | |||
</noinclude> | </noinclude> |