Jump to content

Wikipedia:Wikipedia Signpost/Templates/Signpost-article-comments-end/doc

From Wikipedia, the free encyclopedia

Usage

This is one of the templates that goes at the end of an article. In Wikipedia:Wikipedia Signpost/2022-01-30/Arbitration report, for example, the end of the page looks like this:

<!--END OF ARTICLE -->
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2}}
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-end-v2}}
<noinclude>{{Wikipedia:Signpost/Template:Signpost-article-comments-end||2021-12-28|2022-02-27}}</noinclude>

The parameters are as such:

  • {{{1}}}: Unused. Why? Go figure.
  • {{{2}}}: Date (YYYY-MM-DD) of the previous article in the department ("Arbitration report", "Essay", "Opinion" etc.)
  • {{{3}}}: Date (YYYY-MM-DD) of the next article. This is obviously impossible to determine at publication time; it is retroactively added to the template when the next article is published.
  • {{{demospace}}}: Verily I say unto you, of this parameter knoweth no man, nay, not the angels of heaven, but the template author only.

In general, this template is filled out by the Signpost Publishing Script at User:JPxG/SPS.js, and not manually.

At the end it invokes Wikipedia:Signpost/Template:Signpost-footer.

Extremely esoteric params

For testing purposes, it's possible to substitute some of the params (normally obtained through magic words) with manual overrides. These include (samples from an actual invocation on the right):

  • SUBPAGENAME (Arbitration report)
  • BASEPAGENAME (Wikipedia Signpost/2022-01-30)
  • TALKPAGENAMEE (Wikipedia_talk:Wikipedia_Signpost/2022-01-30/Arbitration_report)
  • TALKPAGENAME (Wikipedia talk:Wikipedia Signpost/2022-01-30/Arbitration report)
  • PAGENAME (Wikipedia Signpost/2022-01-30/Arbitration report)

Archaeology

This template was created in 2009 by User:Pretzels, during a redesign of Signpost templates around that time (Pretzels has not edited since 2015).

It is linked to, and transcluded directly from, some thousands of Signpost articles from January 2005 up to April 2019. Note that it is in the 2005 articles, despite being created in 2009, because JPxG went back in 2022 and spent a few days reformatting old articles to use modern templates.

It has a redirect, Wikipedia:Signpost/Template:Signpost-article-comments-end (note that it is just "Signpost" and not "Wikipedia Signpost" in that title). That template is transcluded by basically every Signpost article up to 2023.

jp×g 09:02, 21 March 2023 (UTC)[reply]

Random notes

Uses the following two templates in a rather back-alley way (by including them as URL parameters in the link to create a new comments page):

This fact is noted explicitly in the documentation because they won't show up in stuff like Special:WhatLinksHere etc.

Sample transclusion of this template (includes full Signpost article)


doc

Title

(dolorem ipsum)