Difference between revisions of "Template:Pubr"
Jump to navigation
Jump to search
DESiegel60 (talk | contribs) m (Protected "Template:Pubr": High risk template, with little need for change [edit=sysop:move=sysop]) |
Marc Kupper (talk | contribs) (Fix syntax) |
||
Line 1: | Line 1: | ||
− | <span style="{{Linkcolor}}">[http://www.isfdb.org/cgi-bin/publisher.cgi?{{{id|{{{1}}}}}} {{{name|{{{2|{{{id| | + | <includeonly><span style="{{Linkcolor}}">[http://www.isfdb.org/cgi-bin/publisher.cgi?{{{id|{{{1}}}}}} {{{name|{{{2|{{{id|{{{1}}}}}}}}}]</span></includeonly><noinclude> |
{{Pubr/Doc}} | {{Pubr/Doc}} | ||
[[Category:Linking templates|{{PAGENAME}}]] | [[Category:Linking templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 18:10, 24 October 2008
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