Difference between revisions of "Template:T"

From ISFDB
Jump to navigation Jump to search
(template for referring to titles)
 
(Allow for unnamed display text)
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.isfdb.org/cgi-bin/title.cgi?{{{1}}} {{{1}}}]
+
<span style="{{Linkcolor}}">[http://www.isfdb.org/cgi-bin/title.cgi?{{{id|{{{1}}}}}} {{{name|{{{2|{{{id|{{{1}}}}}}}}}}}}]</span><noinclude>
 +
 
 +
{{Template:T/doc}}
 +
 
 +
[[Category:Linking templates|T]]</noinclude>

Revision as of 16:32, 26 October 2008

{{{1}}}


Documentation for Template:T transcluded from Template:T/doc.

This template is for linking to an ISFDB title record, It takes as its argument a title record number. Thus, for example

{{T|6105}}

gives this link: 6105

Optionally, you can change the displayed link text with the name parameter. For example:

{{T|6105|name=Sheepfarmer's Daughter}}

gives this link: Sheepfarmer's Daughter

and

{{T|6105|name=SFD}}

gives this link: SFD


When a title (bibliography) record is displayed or edited, the record number will be included in the URL (web address) after "title.cgi?".