Template:Signpost/item/doc

From Wikipedia, the free encyclopedia

Gets called with something like: {{Signpost/item/sandbox|{{{1}}}|1|2010-08-23|News and notes|Pending changes poll, Public policy classes, Payment schemes debate, and more}}

Usage

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

  • {{{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.
  • {{{7}}} = Currently unused. My plan (as of 22:57, 2 December 2023 (UTC)) is to backfill all the individual issue pages with the subheadings of the articles, which currently don't exist anywhere except the revision history of Wikipedia:Wikipedia Signpost (?) so it will be quite hard to do this. But perhaps good. Who knows. jp×g🗯️

Additional formats

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="http://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

Listed by display format, with the following parameters:

  • |2=5
  • |3=2010-09-06
  • |4=In the news
  • |5=WikiLeaks and Wikipedia; Google–WP collaboration to translate health information.
1 (plain list)
  • In the news
  • 2 (two-column format)
    3 (two-column format of anchor links)
    4 (full transclusion)
    Extended content
    5 (for blog announcements)
    In the news: <a href="//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 (mailing list announcements)
    In the news: WikiLeaks and Wikipedia; Google–WP collaboration to translate health information
    https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2010-09-06/In_the_news

    7 (global message delivery announcements)
    * In the news: [[w:en:Wikipedia:Wikipedia Signpost/2010-09-06/In the news|WikiLeaks and Wikipedia; Google–WP collaboration to translate health information]]