Wikipedia:Wikipedia Signpost/Templates/Issue/doc

From Wikipedia, the free encyclopedia

Usage[edit]

All this template does, when transcluded, is supply one of these three:

Date of current most-recent edition
{{Wikipedia:Wikipedia Signpost/Templates/Issue|1}}
2024-04-25
Volume and issue number of current most-recent edition
{{Wikipedia:Wikipedia Signpost/Templates/Issue|2}}
Volume 20, Issue 6
Date of the edition immediately before the current one
{{Wikipedia:Wikipedia Signpost/Templates/Issue|3}}
2024-03-29

Note that you can also get the pure volume and issue numbers with subtemplates:

20
6

Editing[edit]

Those last two templates (/Volume and /Issue) do brittle string-splitting, and as such require this template's output with the param 2 to be formatted as "blahblahblah volumenumber, blahblahblah issuenumber" (they split the string by the space character, and then parse out the appropriate segment as digits). If anyone ever changes this template (or, more accurately, changes SPS.js which is what determines how the content of this template is generated), they should keep that in mind.

This is a subpage template without any visible output. For the convenience of users watching this page for updates, the latest stories are shown below.

The Signpost
Volume 20
Issue 6
25 April 2024