1,043
edits
m (add whitespace to increase code readability) |
(add name parameter) |
||
Line 14: | Line 14: | ||
|- | |- | ||
| <code>case</code> || No || ''(None)'' || If both this and <code>method</code> are provided, the context will be further narrowed down to a specific conditional case in the given method. | | <code>case</code> || No || ''(None)'' || If both this and <code>method</code> are provided, the context will be further narrowed down to a specific conditional case in the given method. | ||
|- | |||
| <code>name</code> || No || ''(None)'' || If this is present, the citation will be named so that it can be referred to again later by the same name with <code><nowiki><ref name="the-name-you-chose" /></nowiki></code> | |||
|} | |} | ||
Line 74: | Line 76: | ||
}} | }} | ||
[[Category:Templates]]</noinclude><includeonly>{{ | [[Category:Templates]]</noinclude><includeonly>{{#if: {{{class |}}} | ||
#if: {{{ | | {{#if: {{{name |}}} | ||
| {{#tag: ref | | {{#tag: ref | <code>{{{namespace | XRL.World.Parts}}}.{{{class}}}</code>{{#if: {{{method |}}} |, method <code>{{{method}}}</code>{{#if: {{{case |}}} |, in the <code>{{{case}}}</code> case}}}}|name={{{name}}}}} | ||
| {{#tag: ref | <code>{{{namespace | XRL.World.Parts}}}.{{{class}}}</code>{{#if: {{{method |}}} |, method <code>{{{method}}}</code>{{#if: {{{case |}}} |, in the <code>{{{case}}}</code> case}}}}}} | |||
}} | |||
| {{Template Error}} | |||
}}</includeonly> | }}</includeonly> |