Template:Signpost/item/doc

Gets called with something like:

Usage
This is used to link or display a Signpost section (e.g. Wikipedia Signpost/2010-08-23/Technology report) in various different formats.
 * = display format. Possible values:
 * "1" = plain list, bullet + Section name + Headline . Used in issue content page (example: Wikipedia Signpost/2010-08-23) and via this in Template:Signpost-subscription, User:EdwardsBot/Spam, Template:User Signpost-subscription (via2 Template:Signpost-textonly), ...
 * "2" = two-column format. Section name (in small caps) + Headline . Used on Wikipedia Signpost and by Template:Signpost archive (example: Wikipedia Signpost/Archives/2010-08-23)
 * "3" = two-column format of anchor links. Used for TOC in Signpost/Single.
 * "4" = full transclusion, with anchor. Used in Signpost/Single.


 * = running number of the section in the issue, between 0 and 18
 * = date of the Signpost issue, e.g. "2010-08-23". Forms part of the URL (page name in the wiki)
 * = 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.
 * = 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

 * = This is not used anywhere in the template, but for some reason, the individual issue pages (i.e. Wikipedia Signpost/2023-08-15) call this template with a useless sixth parameter, which is the pagesize of the article. Like this:
 * Why on Earth does it do this? We don't know.
 * Note: it started in Wikipedia Signpost/2019-04-30.
 * Note: it started in Wikipedia Signpost/2019-04-30.


 * = 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 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 }). 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 = : 

will give e.g.
 * In the news: WikiLeaks and Wikipedia; Google–WP collaboration to translate health information


 * "6" for Foundation-l mailing list announcements (example):

Required code:
 * | 7 = : http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost//

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 = * :

will give e.g.
 * 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 " | * : ".

Examples
Listed by display format, with the following parameters:
 * 5
 * 2010-09-06
 * In the news
 * WikiLeaks and Wikipedia; Google–WP collaboration to translate health information.


 * 1 (plain list)


 * 2 (two-column format)


 * 3 (two-column format of anchor links)


 * 4 (full transclusion)


 * 5 (for blog announcements)


 * 6 (mailing list announcements)


 * 7 (global message delivery announcements)