Template:Signpost-subscription-inline/sandbox
| This is the template sandbox page for Template:Signpost-subscription-inline (diff). |
| This template should never be substituted – use {{Signpost-subscription-inline}}. |
An alternative to {{Signpost-subscription}} (the latest issue widget), this template provides an inline link to the latest Signpost piped to the date, tags it with an explosion icon if the issue is still new, and hides the link if the issue is a month old. For use in user dashboard pages where the bigger widget would be overkill.
Usage
[edit]{{Signpost-subscription-inline}}
{{Signpost-subscription-inline|stale=20}}
{{Signpost-subscription-inline|stale=20|new=3}}
Parameters
[edit]There are four named parameters, all optional:
|image=– Signpost icon to use (without namespace); example:SignpostIcon.svg(Default:WikipediaSignpostIcon.svg)|size=– icon image size (Default:15px)|new=– number of days to show the explosion icon for new issues; example:3(Default:7); to suppress it, set|new=-1)|stale=– number of days after which the issue link is suppressed as stale (Default:30)
Examples
[edit]{{Signpost-subscription-inline}}→
: 16 September 2026 
{{Signpost-subscription-inline|new=21}}→
: 16 September 2026 
{{Signpost-subscription-inline|new=-1}}→
: 16 September 2026{{Signpost-subscription-inline|image=SignpostIcon.svg|size=18px}}→
: 16 September 2026 
{{Signpost-subscription-inline|stale=20}}→
: 16 September 2026 
{{Signpost-subscription-inline|stale=10}}→
: 16 September 2026 
{{Signpost-subscription-inline|stale=2}}→
: 16 September 2026 
{{Signpost-subscription-inline|stale=20|new=3}}→
: 16 September 2026 
See also
[edit]- {{signpost-subscription}} or {{User Signpost-subscription}} – widgets with the latest issue transcluded