Template:LibraryOfMu/doc: Difference between revisions
Added parameter |
m NME |
||
(One intermediate revision by one other user not shown) | |||
Line 22: | Line 22: | ||
==Examples== |
==Examples== |
||
=== Magazine=== |
=== Magazine=== |
||
<code><nowiki>{{LibraryOfMu|mu-id=297|last=Kelly|first=Danny|authorlink=Danny Kelly (journalist)|title=Welcome To The Sheep Seats|work=[[ |
<code><nowiki>{{LibraryOfMu|mu-id=297|last=Kelly|first=Danny|authorlink=Danny Kelly (journalist)|title=Welcome To The Sheep Seats|work=[[NME]]|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 }}</nowiki></code> |
||
Renders as: |
Renders as: |
||
{{LibraryOfMu|mu-id=297|last=Kelly|first=Danny|authorlink=Danny Kelly (journalist)|title=Welcome To The Sheep Seats|work=[[ |
{{LibraryOfMu|mu-id=297|last=Kelly|first=Danny|authorlink=Danny Kelly (journalist)|title=Welcome To The Sheep Seats|work=[[NME]]|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 }} |
||
=== Newspaper=== |
=== Newspaper=== |
||
Line 56: | Line 56: | ||
*An article author has become blue linked |
*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 |
*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]] |
Latest revision as of 06:13, 2 November 2022
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
[edit]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
[edit]- 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 - transcripts - Optional. If a transcript url is supplied, and this parameter is set to
yes
, "Transcripts" will be rendered rather than "Transcript"
Other mandatory parameters
[edit]- 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
[edit]Magazine
[edit]{{LibraryOfMu|mu-id=297|last=Kelly|first=Danny|authorlink=Danny Kelly (journalist)|title=Welcome To The Sheep Seats|work=[[NME]]|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". NME. Archived (via the Library of Mu) on 16 September 2016.
Newspaper
[edit]{{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
[edit]{{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
[edit]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
[edit]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
[edit]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
[edit]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