Wikipedia:Wikipedia Signpost/Templates/Signpost-article-comments-end/doc: Difference between revisions
Content deleted Content added
No edit summary |
asdfasdf |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1:
{{Documentation subpage}}
{{Uses TemplateStyles|
Wikipedia:Wikipedia Signpost/Templates/Signpost-article-comments-end/styles.css}}
== 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:
<nowiki><!--END OF ARTICLE --></nowiki>
<nowiki>{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2}}</nowiki>
<nowiki>{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-end-v2}}</nowiki>
<nowiki><noinclude>{{Wikipedia:Signpost/Template:Signpost-article-comments-end||2021-12-28|2022-02-27}}</noinclude></nowiki>
The parameters are as such:
* <code><nowiki>{{{1}}}</nowiki></code>: Unused. Why? Go figure.
* <code><nowiki>{{{2}}}</nowiki></code>: Date (YYYY-MM-DD) of the previous article in the department ("Arbitration report", "Essay", "Opinion" etc.)
* <code><nowiki>{{{3}}}</nowiki></code>: 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.
* <code><nowiki>{{{demospace}}}</nowiki></code>: ''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 [[Help:Magic words|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 ==
Line 17 ⟶ 42:
* [[Wikipedia:Wikipedia_Signpost/Templates/Comment-editnotice]] (as the editnotice param)
* [[Wikipedia:Signpost/Templates/Signpost-article-comments-end/preload]] (as the preload).
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) ==
<noinclude>{{Wikipedia:Wikipedia Signpost/Templates/RSS description|1=Title: Subtitle}}{{Wikipedia:Signpost/Template:Signpost-header|||}}</noinclude>
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-header-v2
|{{{1|Title}}}|By [[User:Example|Author]]
}}
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-start-v2|fullwidth=no<!--CHANGE TO YES FOR A 'FULLWIDTH' ARTICLE-->}}
(dolorem ipsum)
<!--END OF ARTICLE -->
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-block-end-v2}}
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-article-end-v2}}
{{Wikipedia:Signpost/Template:Signpost-article-comments-end||2021-12-28|2022-02-27
|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}}
<includeonly>{{Sandbox other||
<!-- Categories below this line -->
[[Category:Wikipedia Signpost templates|{{SUBPAGENAME}}]]
}}</includeonly>
|