Difference between revisions of "Template:ITN talk/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Ruben Argueda
(Removing link(s) to "Main Page": i love nowing about my girlfrend can l have my dreans come troud whitth kaly minongue. (TW))
imported>K6ka
m (Reverted edits by Ruben Argueda (talk) to last version by MER-C)
 
Line 3: Line 3:
 
  |image=[[File:Globe current.svg|In the news|47px]]
 
  |image=[[File:Globe current.svg|In the news|47px]]
 
  |imageright = {{#ifeq:{{{small|}}}|yes||[[File:Wikipedia-logo.svg|Wikipedia|right|40px]]}}
 
  |imageright = {{#ifeq:{{{small|}}}|yes||[[File:Wikipedia-logo.svg|Wikipedia|right|40px]]}}
  |text=A news item involving '''{{PAGENAME}}''' was featured on Wikipedia's main page in the '''''[[:Template:In the news|In the news]]''''' section on {{#if:{{{date2|}}}
+
  |text=A news item involving '''{{PAGENAME}}''' was featured on Wikipedia's [[Main Page|main page]] in the '''''[[:Template:In the news|In the news]]''''' section on {{#if:{{{date2|}}}
 
   |the following dates: {{hlist|class=inline
 
   |the following dates: {{hlist|class=inline
 
|1={{ITN talk/date|date={{{date1|{{{date|{{{1|}}} {{{2|}}}}}}}}}|oldid={{{oldid1|{{{oldid|}}}}}}|alt={{{alt1|{{{alt|}}}}}}}}
 
|1={{ITN talk/date|date={{{date1|{{{date|{{{1|}}} {{{2|}}}}}}}}}|oldid={{{oldid1|{{{oldid|}}}}}}|alt={{{alt1|{{{alt|}}}}}}}}

Latest revision as of 23:28, 26 July 2018

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 14 August 2026, copy and paste the following onto the article's talk page:

{{ITN talk|date=14 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=14 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=14 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