Jump to content

Wikipedia:Wikipedia Signpost/Newsroom/Task/Stupid kludge/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

A very basic passthrough template for calling Wikipedia:Wikipedia Signpost/Newsroom/Task with the output from a database report. Basically:

  • Converts the param {{{1}}} into the param {{{Task}}}.
  • Removes Wikipedia_Signpost/Next_issue/ from the string.
  • Converts underscores to spaces.

So, e.g.:

{{Wikipedia:Wikipedia Signpost/Newsroom/Task/Stupid kludge|1=Wikipedia_Signpost/Next_issue/Web_report}}

will be turned into

{{Wikipedia:Wikipedia Signpost/Newsroom/Task|Task=Web report}}

which works and isn't a stupid mess.