Difference between revisions of "Template:Pubr"

From ISFDB
Jump to navigation Jump to search
(HTTPS upgrade)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.isfdb.org/cgi-bin/publisher.cgi?{{{id|{{{1}}}}}} {{{name|{{{2|{{{id|(((1}}}}}}}}}]
+
<includeonly><span style="{{Linkcolor}}">[https://www.isfdb.org/cgi-bin/publisher.cgi?{{{id|{{{1}}}}}} {{{name|{{{2|{{{id|{{{1}}}}}}}}}}}}]</span></includeonly><noinclude>
 +
 
 +
{{Template:Pubr/Doc}}
 +
 
 +
[[Category:Linking templates|Pubr]]</noinclude>

Latest revision as of 10:24, 8 September 2022



Purpose

This template creates an external link to a publisher db record in the ISFDB proper.

Usage

Call this template as:

{{Pubr|id=<Record #>|name=<Publisher name>}}

or as

{{Pubr|<Record #>|<Publisher name>}}

or as

{{Pubr|<Record #>|name=<Publisher name>}}

Parameters

This template takes two parameters, both required.

  • id is the record number of a publisher record in the database. This can alternatively be specified as the first unnamed parameter.
  • name is the name of the publisher or other text to display as the link text. This can alternatively be specified as the second unnamed parameter, if the id was also specified as unnamed.

Example

See the example page