Template:P/Doc

From ISFDB

Jump to: navigation, search

This template is for linking to an ISFDB publication record.

Usage

Call this template with a publication's tag or record number and, optionally, the publication's name or any string to display for the link.

{{P|BKTG11707}}

gives this link: BKTG11707

Optionally, you can change the displayed link text.

{{P|BKTG11707|Sheepfarmer's Daughter}}

gives this link: Sheepfarmer's Daughter

Note that any string can be passed instead of a publication title, for example, {{P|BKTG11707|this publication}} displays as this publication.

The template parameters can also be referenced using the names id and name respectively with the only requirement being that if the named id parameter name is used then name must be used if the second parameter is used. These forms are valid

This form is not allowed as name= must be used when id= is used:

  • {{P|id=BKTG11707|Sheepfarmer's Daughter}}

Note that while the examples on this page are using publication tags using a publication's ID or record number value is preferred as they are more stable. A publication record's tag value can be changed rendering links to that publication invalid while its record number can't be changed.


Documentation for Template:P is transcluded from Template:P/Doc.

Personal tools