Jump to content

Template:PSM link/doc

From Wikisource

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, 45 (July 1894)

Template data

[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

PSM link

Insert a link to an article in the ''Popular Science Monthly'' magazine

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
volvol

The volume of PSM.

Example
45
Numberrequired
datedate

The date of the issue

Example
July 1894
Stringrequired
titletitle

The title of the article to link to

Example
Notes
Stringrequired
title overrideoverride_title

How to display the link text. If not given, 'title' is used.

Example
Alfred Burdon Ellis
Stringoptional
volanchor

Name of the anchor in the article, if linking to a sub-section

Example
Obituary: Alfred Burdon Ellis
Stringoptional