Template:Article link/sandbox
This is the template sandbox page for Template:Article link (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template uses TemplateStyles: |
Usage
[edit]This template is for linking to an article within a periodical, such as a newspaper or journal.
Parameters
[edit]- Mandatory
- article Article name, as it appears in the text. You must give either this parameter or "direct_link".
- periodical Periodical name (eg "The New York Times")
- Optional
- year Year (four digits)
- month Month (numeric). By default creates links with no leading zero (i.e.
2
for february). To link to works using leading zeroes for month subpage names include the leading zero in the parameter (i.e.02
for february). Leading zeroes in page names are not recommended. - day Day (numeric). By default creates links with no leading zero (i.e.
2
for the 2nd). To link to works using leading zeroes for day subpage names include the leading zero in the parameter (i.e.02
for for the 2nd). Leading zeroes in page names are not recommended. - override_date Date (if not representable by month and day, for example "Summer"). Can be combined with year, which will be placed afterwards.
- series Series number
- volume Volume in which the article appears. If you use this parameter, the link will be formatted in a "Periodical/Volume XX" manner, rather than "Periodical/Date"
- issue Issue in which the article appears. Volume must be given. If you use this parameter, the link will be formatted in a "Periodical/Volume XX/Issue XX" manner, rather than "Periodical/Date"
- issue_rank Rank of the issue-level (e.g. "Issue", "Number" or "Part"). Defaults to "Issue" if not given. Enter the word "blank" to prevent any issue rank prefix, for example, for works with issues named by month.
- number Equivalent to issue, but also sets issue_rank to "Number".
- issue_link Use "no" to suppress the issue-level link but show the text. This is for when there is no Wikisource page for the issue itself (e.g. it's part of the volume page instead), but the original has issues. Default: "yes"
- issue_in_title Use "no" to suppress the issue-level in the title, but still show the text, or link (depending on issue_link). Default: "yes"
- You must give one of "year, month and day", "year and month", "year" or "volume". If you give a date and a volume, the volume will be used for the link, and the date will be presented after that, in brackets and unlinked.
- link Article page name (if different to the article title). The "article" parameter will still appear as the link text.
- no_link Suppress the linking of the article. This is used when the article cannot be created at Wikisource for copyright reasons, but the article is still listed on the author or portal page.
- direct_link Use this parameter if the article page is not in the periodical page hierarchy. This field is free-text, so you must add your own wikilinks, eg "[[Article title (NYT)]]". If you use this parameter, "link" and "article" are ignored. If you do not give "article", you must give this parameter.
- display_periodical Overrides display of Periodical name (eg. pipes output of Sunset (magazine) to Sunset)
- author Author of the article. This is a free-text field: use [[Author:]] links. This allows multiple authors more easily. This will be preceded by "By".
- coauthor Co-author of the author. This will be placed after the author, if given, and preceded by "with".
- editor Editor. Placed after the author and co-author and preceded by "ed.".
- p Page (or start page)
- pp End page (only used if "p" given)
- section Section of periodical in which the article is (e.g. "Home and Garden")
- copyright_until Year when copyright expires. If the work is still in copyright, the link is disabled.
- renewal Renewal ID ("R" or "RE" followed by digits), if U.S. copyright on the material was renewed.
Examples
[edit]Basic usages
[edit]*{{article link | article = Tesla's Portrait Shown | periodical = The New York Times | year = 1916 | month = 03 | day = 02 }}
Additional parameters
[edit]*{{article link | article = Authors at Home.; XXV. William Henry Bishop at Yale. | link = Authors at Home | periodical = The New York Times | year = 1898 | month = 04 | day = 16 | p = RBA262 | section = Saturday Review of Books and Art | author = [[Author:Burton J. Hendrick|]] | coauthor = [[Author:Earl Sparling|]] }}
- "Authors at Home.; XXV. William Henry Bishop at Yale." by , with in The New York Times, 16th April, 1898, in section "Saturday Review of Books and Art", p. RBA262
Volume/issue
[edit]* {{article link | article = The Tides | periodical = Littell's Living Age | volume = 128 | issue = 1655 | year = 1876 | month = 02 | day = 26 }}
- "The Tides" in Littell's Living Age, 128 (1655) (26th February, 1876)
Blank issue rank
[edit]* {{Article link | periodical = Ackermann’s Repository of Arts | article = Chinese Imperial Edict | series = 1 | volume = 1 | issue_rank = blank | issue = February 1809 }}
Override date with year
[edit]* {{article link | periodical = Partisan Review | article = The Situation in American Writing | issue = 4 | issue_rank = Number | volume = 6 | override_date = Summer | year = 1939 }}
- "The Situation in American Writing" in Partisan Review, 6 (4) (Summer, 1939)
No issue link (but the title still has an issue level in it)
[edit]- Link:
Littell's Living Age/Volume 128/Issue 1655/The Tides
* {{Article link | article = The Tides | periodical = Littell's Living Age | volume = 128 | issue = 1655 | issue_link = no }}
- "The Tides" in Littell's Living Age, 128 (1655)
Issue link, but the article title does not include the level
[edit]- Link:
The Czechoslovak Review/Volume 2/The Red and White Flag
* {{Article link | article = The Red and White Flag | periodical = The Czechoslovak Review | volume = 2 | issue = 5 | issue_rank = Number | issue_in_title = no }}
No issue mentioned or used at all
[edit]- Link:
The Czechoslovak Review/Volume 2/The Red and White Flag
* {{Article link | article = The Red and White Flag | periodical = The Czechoslovak Review | volume = 2 }}
Direct link
[edit]* {{article link | periodical = The Folk-Lore Journal | volume = 1 | direct_link = "Stories of Fairies from Scotland": pp. [[The Folk-Lore Journal/Volume 1/Stories of Fairies from Scotland (pp. 25-7)|25-7]]; [[The Folk-Lore Journal/Volume 1/Stories of Fairies from Scotland (pp. 55-8)|55-8]] | year = 1883 }}
- "Stories of Fairies from Scotland": pp. 25-7; 55-8 in The Folk-Lore Journal, 1 (1883)
No link
[edit]* {{article link | periodical = The British Library Journal | no_link = yes | article = The Early Catalogues of the Cottonian Library | author = [[Author:Colin G. C. Tite|Colin G. C. Tite]] | volume = 6 | number = 2 | p = 144 | pp = 157 | year = 1980 }}
- "The Early Catalogues of the Cottonian Library" by The British Library Journal, 6 (2) (1980), pp. 144–157 in
In copyright
[edit]* {{article link | periodical = Weird Tales | article = Come to Me! | volume = 35 | issue = 8 | override_date = March-April 1941 | copyright_until = 2037 | renewal = R433480 }}
- "Come to Me!" in Weird Tales, 35 (8) (March-April 1941) — Copyrighted in the United States until 2037 due to (Renewal: R433480)
Full list
[edit]{{article link | article = | periodical = | year = | month = | day = | volume = | issue = | issue_rank = | link = | direct_link = | author = | coauthor = | p = | pp = | section = | copyright_until = | renewal = }}
See also
[edit]- {{journal volume}} Link to an article in a volume/issue of a journal or magazine.
- {{article link}} Link to an article in a daily periodical such as a newspaper.
- Templates using "article link template"
Generate a link to an article within a periodical (e.g. a magazine, journal or newspaper)
Parameter | Description | Type | Status | |
---|---|---|---|---|
periodical | periodical | The title of the periodical
| Page name | required |
display_periodical | display_periodical | display of periodical name, if different to {{{periodical}}}
| Line | optional |
article | article | the title of the article (will be used for the display text and the link if {{{link}}} not given). You must give this or {{{direct_link}}}.
| Line | suggested |
link | link | article page name (if different to the article title). The {{{article}}} parameter will still appear as the link text | Unknown | optional |
direct_link | direct_link | free-text parameter to use for the article link if it isn't in a standard hierarchy | Line | optional |
no_link | no_link | Suppress the link for the article name. The 'article' parameter will still be used for the text.
| Boolean | optional |
series | series | series number
| Number | optional |
volume | volume | the volume number
| Number | suggested |
issue | issue | the issue number
| Line | optional |
issue_rank | issue_rank | the issue naming scheme, if not "Issue".
| Line | optional |
issue_in_title | issue_in_title | include the "/Issue XX/" level in the article link
| Boolean | optional |
issue_link | issue_link | add a link to the "/Issue XX/" level
| Boolean | optional |
number | number | same as {{{issue}}}, but sets {{{issue_rank}} to "Number".
| Number | suggested |
year | year | year of publication
| Number | optional |
month | month | month of publication
| Number | optional |
day | day | day of publication (e.g. for a daily newspaper)
| Number | optional |
override_date | override_date | date if the date isn't of the format "YYYY", "YYYY/MM" or "YYYY/MM/DD"
| Line | optional |
author | author | free-text author field
| Line | suggested |
coauthor | coauthor | free-text co-author fields (added after author and "with")
| Line | optional |
editor | editor | free-text editor name(s)
| Line | optional |
p | p | starting page number
| Line | suggested |
pp | pp | ending page number, if different to {{{p}}}
| Line | suggested |
section | section | the name of a section within the issue
| Content | optional |
copyright_until | copyright_until | Year when copyright expires. If the work is still in copyright, the link is disabled.
| Number | optional |
renewal | renewal | Renewal ID ("R"; or "RE" followed by digits), if U.S. copyright on the material was renewed.
| Line | optional |