Template:LibraryOfMu/doc
This is a documentation subpage for Template:LibraryOfMu. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a wrapper around - by default - {{Cite magazine}}. It exists in order to link to articles at the Wayback Machine (or another acceptable web archive) which were transcribed by the Library of Mu.
The template must be transcluded and not subst'd.
See a monthly parameter usage report for this template in articles.
Usage
Most parameters are passed through straight to the underlying template. Not all parameters are passed through currently. Please add pass-through-parameters to the template as they become needed.
Parameters unique to this template
- mu-id - The page number at the Library of Mu. Mandatory.
- tl - Optional. Can be used to change the underlying template from {{Cite magazine}}. Tested, with limited parameters,
tl=web
to use {{Cite web}} andtl=news
to use {{Cite news}} - mu-transcript-url - Optional, for use (typically with
tl=interview
) to provide an archive.org link to a Library of Mu transcript. If used, must be used instead of archive-url
Other mandatory parameters
- archive-url - a link to the Wayback Machine or other archive (mandatory unless mu-transcript-url is used instead)
- archive-date - the archive date
Examples
Magazine
{{LibraryOfMu|mu-id=297|last=Kelly|first=Danny|authorlink=Danny Kelly (journalist)|title=Welcome To The Sheep Seats|work=[[New Musical Express]]|date=29 February 1992|archive-url=https://web.archive.org/web/20160916111310/http://www.libraryofmu.net/display-resource.php?id=297 |archive-date=16 September 2016 }}
Renders as:
Kelly, Danny (29 February 1992). "Welcome To The Sheep Seats". New Musical Express. Archived (via the Library of Mu) on 16 September 2016.
Newspaper
{{LibraryOfMu|tl=news|mu-id=387|last=Reid, Jim|title=Money to burn|work=[[The Observer]]|date=25 September 1994|archive-url=https://web.archive.org/web/20160916120338/http://www.libraryofmu.net/display-resource.php?id=387 |archive-date=16 September 2016}}
Renders as:
Reid, Jim (25 September 1994). "Money to burn". The Observer. Archived (via the Library of Mu) on 16 September 2016.
Web
{{LibraryOfMu|tl=web|mu-id=500|last=Drummond|first=Bill|authorlink=Bill Drummond|date=October 1987|title=KLF Info Sheet Oct 1987|archive-url=https://web.archive.org/web/20070311225447/http://www.libraryofmu.org/display-resource.php?id=500 |archive-date=11 March 2007 }}
Renders as:
Drummond, Bill (October 1987). "KLF Info Sheet Oct 1987". Archived (via the Library of Mu) on 11 March 2007.
List of library entries
The WikiProject has compiled a list of library records which have already been converted into references to make it easier to update/rescue old references (as you can just find the library id and copy the wikitext). The list also contains more detailed instructions. If you rescue or add a reference to a library entry which is not already present on the list, please add it to the list.
Making non-trivial changes to the template
To make non-trivial changes to the template, it is recommended to copy the text into a sandbox in userspace, and copy the text of Wikipedia:WikiProject The KLF/LibraryOfMu into another sandbox or the sandbox talk page. Temporarily change the text in the latter to use your sandboxed template instead of {{LibraryOfMu}}
. Then you can test your changes by doing a dummy save of the library list and compare it to the live WikiProject list, to ensure you haven't broken any of the known existing uses. When done, copy your changes into the template and request deletion of the sandboxes by tagging them with {{db-user}} (if you're not a sysop).
Reliable sources and verification
The magazine, newspaper or other publication the library has transcribed must be considered the source. Editors wishing to verify a reference should refer to the original material.
Making a change to all instances of a library entry
Sometimes it might be desirable to make a change to all instances of a library entry. For example:
- A mistake has been found
- An article author has become blue linked
- An article is republished on the web by the original publisher so a link to archive.org is no longer needed
The template does a hidden transclusion to make it possible to locate uses by ID. For example, this is the list of references to id 387, Jim Reid's eyewitness account of the K Foundation's money bonfire: Special:WhatLinksHere/Wikipedia:WikiProject_The_KLF/LibraryOfMu/387