Tech, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Administrators
12,465
edits
Bongolium500 (talk | contribs) |
Bongolium500 (talk | contribs) |
||
Line 96: | Line 96: | ||
== Reusing citations == | == Reusing citations == | ||
'' | Due to the number of options available, uses of this template can sometimes become very long. Therefore, much like with <tt><nowiki><ref></nowiki></tt> references, it is possible to define named citations that can be reused within the page they were defined on. This is done using the <tt>|name=</tt> parameter. To define a named citation, simply add this parameter to the template usage with a short name. For example, to define a citation named "TFOAR1" for episode 1 of the DVD edition of the animated reconstruction of ''[[The Faceless Ones (TV story)|The Faceless Ones]]'' at the timestamp 3 minutes and 4 seconds, you would type:<pre>([[TV]]: {{User:Bongolium500/cite source|The Faceless Ones (TV story)|var=animated reconstruction|ep=1|minute=3|second=4|ed=DVD|name=TFOAR1}})</pre>This produces the following output as normal: | ||
:([[TV]]: {{User:Bongolium500/cite source|The Faceless Ones (TV story)|var=animated reconstruction|ep=1|minute=3|second=4|ed=DVD|name=TFOAR1}}) | |||
Then, to reuse this citation, you would only have to type:<pre>([[TV]]: {{User:Bongolium500/cite source|name=TFOAR1}})</pre>This produces: | |||
:([[TV]]: {{User:Bongolium500/cite source|name=TFOAR1}}) | |||
When <tt>|name=</tt> is being used to access an already defined citation, any other parameters passed to the template are ignored. In other words, you cannot alter a named citation in later uses. | |||
== Errors and troubleshooting == | == Errors and troubleshooting == |
edits