Template:P/Doc

From ISFDB
< Template:P
Revision as of 15:43, 26 October 2008 by Marc Kupper (talk | contribs) (Copyedit)
Jump to navigation Jump to 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|SHPFRMRSD2000}}

gives this link: SHPFRMRSD2000

Optionally, you can change the displayed link text.

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

gives this link: Sheepfarmer's Daughter

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

The template parameters can also be referenced using the names tag and name respectively with the only requirement being that if the named tag 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 tag= is used:

  • {{P|tag=SHPFRMRSD2000|Sheepfarmer's Daughter}}

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