Jump to content

Template:WsPSM2/doc

From Wikipedia, the free encyclopedia

Purpose

[edit]

This template enables reference links to the Wikisource Popular Science Monthly project for Wikipedia articles.

Usage

[edit]

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

Example

[edit]

* {{WsPSM2|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]
{{WsPSM2
 |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

See also

[edit]