Template:XML Reference: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 54: Line 54:
}}
}}


When this template is used, a name for the citation will automatically be assigned, and will be equivalent to the parameter used. In this case, the parameter is <code>object</code>, so the citation can be used again without creating a new one by utilizing <code><nowiki><ref name="object"/></nowiki></code>
When this template is used, a name is automatically assigned to the citation created so it may be cited again. When no sub-unit is specified, the name is equivalent to the parameter used; thus, the above example can be cited again using <code><nowiki><ref name="object"/></nowiki></code>


<ref name="object"/>
<ref name="object"/>
Line 66: Line 66:
|EncounterTableName
|EncounterTableName
}}
}}
When a sub-unit is specified, the citation name will be equivalent to the name of the sub-unit. Thus, the above example can be cited again using <code><nowiki><ref name="EncounterTableName"/></nowiki></code>
<ref name="EncounterTableName"/>


</noinclude>
</noinclude>