Template:PSM link/doc
This is a documentation subpage for Template:PSM link. It contains usage information, categories and other content that is not part of the original template page. |
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
- title of article page = title
- volume number = vol
- 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]PSM link
Insert a link to an article in the ''Popular Science Monthly'' magazine
Parameter | Description | Type | Status | |
---|---|---|---|---|
vol | vol | The volume of PSM.
| Number | required |
date | date | The date of the issue
| String | required |
title | title | The title of the article to link to
| String | required |
title override | override_title | How to display the link text. If not given, 'title' is used.
| String | optional |
vol | anchor | Name of the anchor in the article, if linking to a sub-section
| String | optional |