Template:Signpost draft/doc
![]() | This is a documentation subpage for Template:Signpost draft. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
<syntaxhighlight lang="wikitext">
![]() | This is a draft of a potential Signpost article, and should not be interpreted as a finished piece. Its content is subject to review by the editorial team and ultimately by {{Wikipedia:Wikipedia Signpost/Templates/Editor(s) in chief}}, the editor in chief. Please do not link to this draft as it is unfinished and the URL will change upon publication. If you would like to contribute and are familiar with the requirements of a Signpost article, feel free to be bold in making improvements!
Last revised 05:27, 10 June 2024 (UTC) (10 months ago) by [[User:imported>JPxG|imported>JPxG]] ([https:https://enwiki.freddythechick.net/wiki/Template:Signpost_draft/doc?action=purge refresh]) |
</syntaxhighlight>
- For the last 6 parameters, see User:JPxG/signpost-filetools.js -- which can generate them automatically from Commons pages.
Creates the following (with last three processparameters set to "no"):
![]() | This is a draft of a potential Signpost article, and should not be interpreted as a finished piece. Its content is subject to review by the editorial team and ultimately by {{Wikipedia:Wikipedia Signpost/Templates/Editor(s) in chief}}, the editor in chief. Please do not link to this draft as it is unfinished and the URL will change upon publication. If you would like to contribute and are familiar with the requirements of a Signpost article, feel free to be bold in making improvements!
Last revised 05:27, 10 June 2024 (UTC) (10 months ago) by [[User:imported>JPxG|imported>JPxG]] ([https:https://enwiki.freddythechick.net/wiki/Template:Signpost_draft/doc?action=purge refresh]) |
Categorization
- The following feature was added by Adam Cuerden and JPxG in November 2022.
All articles with this template are added to Category:Signpost drafts. Subcategories are added based on the following parameter values:
Subcategorization works like this:
Ready-for-copyedit
|
Copyedit-done
|
Final-approval
|
Category |
---|---|---|---|
(any) | (any) | (any) | Signpost drafts |
(any) | (any) | old | Signpost drafts, inactive |
no | no | no | Signpost drafts, not ready for copyedit |
yes | no | no | Signpost drafts, ready for copyedit |
yes | yes | no | Signpost drafts, ready for final check |
yes | yes | yes | Signpost drafts, ready for publication |
Extra parameters
The following feature is only intended for writers to keep a personal record of their own submissions, and is not part of the publishing process.
On user pages, for those who like to keep a personal record of their own submissions, two extra parameters are supported. Technically they work in other namespaces too, but are unlikely to be of any use there.
|status=
– Set toaccepted
,declined
,published
,rejected
,submitted
.|location=
– The final location in which the draft has been published. For example,|location=2019-03-31/In focus
will link to Wikipedia:Wikipedia Signpost/2019-03-31/In focus.
Setting |status=
to accepted
, declined
, published
, and rejected
will suppress the checklist, newsroom links and deadlines from displaying.
For example <syntaxhighlight lang="wikitext">
![]() | This is a draft of a published Signpost article, and should not be interpreted as a finished piece. The final article can be found here. See the Signpost newsroom for more information on submissions.
Last revised 05:27, 10 June 2024 (UTC) (10 months ago) by [[User:imported>JPxG|imported>JPxG]] ([https:https://enwiki.freddythechick.net/wiki/Template:Signpost_draft/doc?action=purge refresh]) |
</syntaxhighlight>
gives
![]() | This is a draft of a published Signpost article, and should not be interpreted as a finished piece. The final article can be found here. See the Signpost newsroom for more information on submissions.
Last revised 05:27, 10 June 2024 (UTC) (10 months ago) by [[User:imported>JPxG|imported>JPxG]] ([https:https://enwiki.freddythechick.net/wiki/Template:Signpost_draft/doc?action=purge refresh]) |
Miscellaneous
This template is used by the Signpost Publishing Script at User:JPxG/SPS.js, and must comport with that. If you do anything to this template's params or formatting, make sure that it doesn't break SPS!
It's also fed into by User:JPxG/signpost-filetools.js, which generates the piccy
part of the template. If the way this template deals with those params are changed, that script also needs to be changed to match it.