MyWiki:Wikipedia Signpost/Templates/Issue
Jump to navigation
Jump to search
Usage
All this template does, when transcluded, is supply one of these three:
- Date of current most-recent edition
{{Wikipedia:Wikipedia Signpost/Templates/Issue|1}}
- {{Wikipedia:Wikipedia Signpost/Templates/Issue|1}}
- Volume and issue number of current most-recent edition
{{Wikipedia:Wikipedia Signpost/Templates/Issue|2}}
- {{Wikipedia:Wikipedia Signpost/Templates/Issue|2}}
- Date of the edition immediately before the current one
{{Wikipedia:Wikipedia Signpost/Templates/Issue|3}}
- {{Wikipedia:Wikipedia Signpost/Templates/Issue|3}}
Note that you can also get the pure volume and issue numbers with subtemplates:
- {{Wikipedia:Wikipedia Signpost/Templates/Issue/Volume}}
- {{Wikipedia:Wikipedia Signpost/Templates/Issue/Issue}}
- {{Wikipedia:Wikipedia Signpost/Templates/Issue/Next/Volume}}
- {{Wikipedia:Wikipedia Signpost/Templates/Issue/Next/Issue}}
Editing
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.
{{Wikipedia:Wikipedia Signpost}}