Template:Signpost archive/sandbox
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-header|← Back to Archives|{{{2}}}|View Latest Issue}}
Invalid title for TemplateStyles' src
attribute.
{{Wikipedia:Wikipedia Signpost/{{{2}}}|2}}
{{Wikipedia:Wikipedia Signpost/Template:Signpost-footer/sandbox|{{{1}}}|{{{3}}}|center=
}}
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Signpost archive (diff). See also the companion subpage for test cases. |
Template for usage on subpages of Signpost/Archives.
- First positional argument
- Previous issue date.
- Second positional argument
- This issue date. Using {{SUBPAGENAME}} works for most cases.
- Third positional argument
- Next issue date.
Example
For the archive of the issue 2009-10-26:
<syntaxhighlight lang="wikitext">
{{Wikipedia:Wikipedia Signpost/Templates/Signpost-header|← Back to Archives|sandbox|View Latest Issue}}
Invalid title for TemplateStyles' src
attribute.
{{Wikipedia:Wikipedia Signpost/sandbox|2}}
</syntaxhighlight>
Innards
This template is transcluded onto, say,
and it transcludes the header, which is
and then after that is the line
- <syntaxhighlight lang="wikitext" inline>{{Wikipedia:Wikipedia Signpost/{{{2}}}|2}}</syntaxhighlight>
which transcludes the appropriate Signpost issue page, which in this case would be
and if you go to this page you'll see that it consists of nothing but a bunch of lines like this:
- <syntaxhighlight lang="wikitext" inline>
- Tips and tricks: Citation tools for dummies!</syntaxhighlight>
Perhaps more of the answers you seek, dear traveler, can be found at
Note
This uses inline styling for no goddamn apparent reason. Needs to be fixed. jp×g 01:54, 24 August 2023 (UTC)