Template:Signpost/snippet/autofill/doc
Appearance
This is a documentation subpage for Template:Signpost/snippet/autofill. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]Automatically generates a {{Signpost/snippet}} for a given article, using {{Template parameter value}} to automagically extract the template params from the page itself. Takes three params:
{{{1}}}
- eitherdraft
,article
, orarticle-old
, to specify which it is (as there are different templates to pull params for depending on which it is).{{{2}}}
- Date (i.e.2005-01-10
).{{{3}}}
- Subpage (i.e.Arbitration report
).
Output looks like this for Wikipedia:Wikipedia Signpost/2023-11-06/Arbitration report:
{{Signpost/snippet/autofill|article|2023-11-06|Arbitration report}}
And this for Wikipedia:Wikipedia Signpost/Next issue/Arbitration report:
{{Signpost/snippet/autofill|draft|Next issue|Arbitration report}}
Detective mystery
|
---|
Trying to figure out why the draft one works fine and the article one doesn't. For the draft it pulls EVERYTHING completely fine, but for the article it only pulls the RSS desc and NONE OF THE STUFF FROM THE HEADER Hypotheses[edit]
|