Template:PSM link

From Wikisource
Jump to: navigation, search

"[[Popular Science Monthly/Volume {{{2}}}/{{{3}}}/{{{1}}}|{{{1}}}]]", in Popular Science Monthly Volume {{{2}}}, {{{3}}}

Documentation icon Template documentation[view] [edit] [history] [purge]


Purpose[edit]

This template enables linking from Wikisource articles (usually author pages) to articles in the the Wikisource project of one of the series of Popular Science Monthly.

Usage[edit]

{{PSM link|title of article page|volume number|month & year of publication}}

Example[edit]

* {{PSM link|Sketch of Prof. Gray|1|August 1872}}

displays as:

Parameters[edit]

The order of the parameters by default is

  1. title of article page = title
  2. volume number = vol
  3. month/year of publication = date

though if you use all parameter names, order can be varied. All these parameters are mandatory for a functional template link to be generated.


  • Two optional parameters can be used to override visible text and position on page of work
    • anchor to change the link position on referred page to a predefined anchor
    • author to include the name of the author of the article
    • override_title to change the descriptive text visible for the link.


Note: The parameter volumename is for the use of automatic link creation, using the full "Volume #" from the article page name instead of simply "#" when manually entered.

Example[edit]

{{PSM link
 |vol=45
 |date=July 1894
 |title=Notes
 |anchor=Alfred Burdon Ellis
 |override_title=Obituary: Alfred Burdon Ellis
}}

produces

"Obituary: Alfred Burdon Ellis", in Popular Science Monthly Volume 45, July 1894