Template:Sfhof/doc

< Template:Sfhof

Purpose

The sfhof template message is used to inform readers that there is a short biography of someone in the online Science Fiction Hall of Fame. Equivalently, the SFHOF has inducted the person; s/he is "in the Hall of Fame". The template also provides convenient links to the official biography (an external link) and to the Wikipedia article that best covers the SF Hall of Fame.

Usage

The template will commonly be used in the Wikipedia entry for a Science Fiction Hall of Fame member, perhaps in section "External links". It may be used anywhere in Wikipedia, however.

Template 'sfhof' uses values of two parameters, id and name. For example:

{{sfhof |id=1483 |name=Roger Zelazny}}

Required parameter id identifies the desired Hall of Fame biography and is necessary for the external link; there is no default HOF biography. When optional parameter name is assigned, the template displays a name different from the title of the article where it is used, which is the default value.


EXAMPLE A

Use the template with id=1483 (for Roger Zelazny) and name=Roger Zelazny anywhere in Wikipedia. For example, in the article Nine Princes in Amber, about the book by Roger Zelazny whose thumbnail image is in his SFHOF biography:

A1.
{{sfhof |id=1483 |name=Roger Zelazny}}

links to Zelazny's SFHOF biography and displays

"Roger Zelazny biography". Science Fiction and Fantasy Hall of Fame.

Assignment of a name (linkname) is optional but practically necessary when the template is used outside the person's Wikipedia entry. Again in the article Nine Princes in Amber:

A2.
{{sfhof |id=1483}}

displays

"Nine Princes in Amber biography". Science Fiction and Fantasy Hall of Fame.


EXAMPLE B

Only in the article Roger Zelazny, on the other hand:

B1, B2

Both

{{sfhof |id=1483}}
{{sfhof |id=1483 |name=Roger Zelazny}}

link to Zelazny's SFHOF biography and display

"Roger Zelazny biography". Science Fiction and Fantasy Hall of Fame.


Anywhere the template is used, the parameter values may be given alone, without equations, if the id value is given before the name value. Again in the article Roger Zelazny:

B3, B4

Both

{{sfhof |1483 |Roger Zelazny}}
{{sfhof |1483}}

link to Zelazny's SFHOF biography and display

"Roger Zelazny biography". Science Fiction and Fantasy Hall of Fame.

Determine the id value

The URL for any SFHOF biography currently ends with a numerical id such as 1483 for Roger Zelazny:

http://empmuseum.org/exhibitions/index.asp?articleID=1483

In order to ascertain whether someone is a SFHOF member and, if so, to find what id value to assign here,

While visiting any SFHOF biography, the web browser should display the URL with the appropriate id number at the end.

It may be adequate to "Google Search" the biography by adapting this search string.

science fiction hall of fame roger zelazny

Determine the name value

The template may be used anywhere at Wikipedia. Because it will frequently be used in biographies of Hall of Fame members, by default it displays (as a linkname) the title of the article where it is used, such as "Roger Zelazny".

It may be useful to assign name in the SFHOF member's Wikipedia entry:

  • to display "Roger Zelazny 1937–1995" (the actual title of the official biography) rather than "Roger Zelazny"
  • to display "Roger Zelazny" rather than "Roger Zelazny (writer)" (if and when the Wikipedia entry is disambiguated that way).