Jump to content

Template:Signpost/item/doc

From Wikipedia, the free encyclopedia
The guts of this are at Template:Signpost/item/core (h · e).

Gets called with something like this:

{{Signpost/item
 |{{{1}}}
 |2
 |2025-06-24
 |In the media
 |Playing professor pong with prosecutorial discretion
 |0.4 MB
 |sub           = Pardon our alliteration!
 |by            = [[User:Bri|Bri]], [[User:Smallbones|Smallbones]], [[User:SashiRolls|SashiRolls]], and [[User:Jayen466|Andreas Kolbe]]
 |piccyfilename = File:Allan Alcorn in 2012 with first Pong ad.jpg
 |piccy-credits = Digital Game Museum
 |piccy-license = cc-by-2.0
 |piccy-scaling = 700
 |piccy-xoffset = 150
 |piccy-yoffset =
}}

Usage

[edit]

This is used to link or display a Signpost section (e.g. Wikipedia:Wikipedia Signpost/2010-08-23/Technology report) in various different formats.

  • {{{1}}} = display format. Possible values:
  • {{{2}}} = running number of the section in the issue, between 0 and 18
  • {{{3}}} = date of the Signpost issue, e.g. "2010-08-23". Forms part of the URL (page name in the wiki)
  • {{{4}}} = page name (short, generic), e.g. "Technology report". Forms part of the URL (page name in the wiki). Must be consistent with previous issues for linking between consecutive reports.
  • {{{5}}} = section headline (longer, generic or descriptive), e.g. "Bugs, Repairs, and Internal Operational News" or (here:) "Pending changes poll, Public policy classes, Payment schemes debate, and more"

Esoterics

[edit]
  • {{{6}}} = This is not used anywhere in the template, but for some reason, the individual issue pages (i.e. Wikipedia:Wikipedia Signpost/2023-08-15) call this template with a useless sixth parameter, which is the pagesize of the article. Like this:
{{Wikipedia:Signpost/Template:Cover-item|{{{1}}}|11|2023-08-15|Traffic report|'Cause today it just goes with the fashion|0.3 MB}}
Why on Earth does it do this? We don't know.
Note: it started in Wikipedia:Wikipedia Signpost/2019-04-30.
  • {{{sub}}} = Subheading, at least as called from the individual Signpost archive pages (e.g. Wikipedia:Wikipedia Signpost/2025-05-14). This won't always be present (because Signpost articles didn't always have subheds) but I backfilled a very large amount of them.

Additional formats

[edit]

As mentioned elsewhere earlier, I would like to use the flexibility of this system to add the following display formats (i.e. new values for {{{1}}}}). They would save a considerable amount of time in the weekly publication process and reduce the risk of errors. Mostly they are for generating ready-for-copypaste-text.


"5" for blog (RSS) announcements (example)

Required code:

| 6 = {{{4}}}: <a href="/proxy/https://en.wikipedia.org/wiki/Wikipedia:Wikipedia Signpost/{{{3}}}/{{{4}}}" title="Wikipedia:Wikipedia Signpost/{{{3}}}/{{{4}}}">{{{5}}}</a><nowiki><br></nowiki>

will give e.g.

In the news: <a href="http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2010-09-06/In_the_news" title="Wikipedia:Wikipedia Signpost/2010-09-06/In the news">WikiLeaks and Wikipedia; Google–WP collaboration to translate health information</a><br>
"6" for Foundation-l mailing list announcements (example)

Required code:

| 7 = {{{4}}}: {{{5}}}<br/>http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/{{{3}}}/{{{4}}}<br/>

will give e.g.

In the news: WikiLeaks and Wikipedia; Google–WP collaboration to translate health information
http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2010-09-06/In_the_news
"7" for announcements via Global message delivery (example)

Required code:

| 8 = * {{{4}}}: [[w:en:Wikipedia:Wikipedia Signpost/{{{3}}}/{{{4}}}|{{{5}}}<nowiki>]]</nowiki><br/>

will give e.g.

  • News and notes: [[w:en:Wikipedia:Wikipedia Signpost/2010-09-27/News and notes|French million, controversial content, Citizendium charter, Pending changes, and more]]

Please review and correct, I may have messed up one or two nowikis or line breaks.

If I understand the structure correctly, the four code lines above (for 4,5,7,8) will need to be inserted in the current version after " | 4 = " and before " | * {{{4}}}: ".

Examples

[edit]

Listed by display format, with the following parameters. {{Signpost/item |(varies by example number) |2 |2025-06-24 |In the media |Playing professor pong with prosecutorial discretion |0.4&nbsp;MB |sub = Pardon our alliteration! |by = [[User:Bri|Bri]], [[User:Smallbones|Smallbones]], [[User:SashiRolls|SashiRolls]], and [[User:Jayen466|Andreas Kolbe]] |piccyfilename = File:Allan Alcorn in 2012 with first Pong ad.jpg |piccy-credits = Digital Game Museum |piccy-license = cc-by-2.0 |piccy-scaling = 700 |piccy-xoffset = 150 |piccy-yoffset = }}

1 (plain list)
  • In the media
  • 2 (two-column format)
    3 (two-column format of anchor links)
    4 (full transclusion)
    5 (for blog announcements)
    Playing professor pong with prosecutorial discretion
    6 (mailing list announcements)

    In the media: <a href="//en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2025-06-24/In_the_media" title="Wikipedia:Wikipedia Signpost/2025-06-24/In the media">Playing professor pong with prosecutorial discretion</a><br />

    7 (global message delivery announcements)

    In the media: Playing professor pong with prosecutorial discretion
    https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2025-06-24/In_the_media

    default (most-used view)