Difference between revisions of "Template:ITN talk"

From blackwiki
Jump to navigation Jump to search
imported>MER-C
m (Reverted edits by Zanimum (talk) to last version by Wbm1058)
imported>Jonesey95
(Adding unknown parameter tracking through Category:Pages using ITN talk with unknown parameters using Module:check for unknown parameters after finding a malformed template using 3= and causing an invalid date.)
Line 14: Line 14:
 
   |{{ITN talk/date|date={{{date1|{{{date|{{{1|<noinclude>{{CURRENTTIME}}</noinclude>}}} {{{2|}}}}}}}}}|oldid={{{oldid1|{{{oldid|}}}}}}|alt={{{alt1|{{{alt|}}}}}}}}.
 
   |{{ITN talk/date|date={{{date1|{{{date|{{{1|<noinclude>{{CURRENTTIME}}</noinclude>}}} {{{2|}}}}}}}}}|oldid={{{oldid1|{{{oldid|}}}}}}|alt={{{alt1|{{{alt|}}}}}}}}.
 
  }}
 
  }}
}}{{talk other|[[Category:Wikipedia In the news articles]]}}<noinclude>
+
}}{{talk other|[[Category:Wikipedia In the news articles]]}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using ITN talk with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:ITN talk]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | alt | alt1 | alt2 | alt3 | alt4 | alt5 | alt6 | date | date1 | date2 | date3 | date4 | date5 | date6 | oldid | oldid1 | oldid2 | oldid3 | oldid4 | oldid5 | oldid6 | small }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:00, 29 March 2019

50px Template documentation[view] [edit] [history] [purge]

Usage

To signal that freshly updated material from a particular article is featured and bolded in the ITN column on the Main Page, for example, on 15 August 2026, copy and paste the following onto the article's talk page:

{{ITN talk|date=15 August 2026}}

This will display the following:

This will show the date the article appeared on the ITN column and add it to Category:Wikipedia In the news articles, a listing of all the articles that appeared in the column.

  • To include a link to the daily Portal:Current events page for that date, add the parameter 'alt', as in {{ITN talk|date=15 August 2026|alt=yes}}. Note that in some cases the portal may have mentioned the news item on a different date, or may not have mentioned it at all.
  • To include a link to a relevant oldid of the Template:In the news template itself, add the parameter 'oldid', for example {{ITN talk|date=15 August 2026|oldid1=497003009}}.

Multiple dates

The template will accept up to five different dates, using |daten=, |oldidn= or |altn=, where n is a whole number between 1 and 5. Alternatively use |alt=yes without a number to link all dates to Portal:Current events. For example,

{{ITN talk
|date1=September 1 2005
|date2=June 4 2010
|date3=June 7 2010
|date4=June 13 2010
|alt=yes}}

produces the following:

Maintenance categories

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for ITN talk