User:Mortee/sandbox/template/doc
Appearance
This is a documentation subpage for User:Mortee/sandbox/template. It may contain usage information, categories and other content that is not part of the original user template page. |
The {{LibraryThing work}} template is a convenience template used to create an external link to a work, such as a book or sound recording, at LibraryThing. Its use makes linking to LibraryThing cleaner and more uniform.
Usage
[edit]If no second parameter (or no |name=
parameter) is specified then {{PAGENAME}}, the name of the article, is used for the title of the link (see first example). If the name of the article is unsuitable (e.g. The Godfather (novel)") then a second parameter (or |name=
parameter) can be specified.
Examples
[edit]- {{LibraryThing work|4808}} → Mortee/sandbox/template/doc at LibraryThing
- {{LibraryThing work|4808|The Godfather}} → The Godfather at LibraryThing
- {{LibraryThing work|id=4808|name=The Godfather}} → The Godfather at LibraryThing
See also
[edit]