Misplaced Pages

Template:Article history

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by Dr pda (talk | contribs) at 23:47, 16 January 2007 (handled case where actionXoldid is not defined, updated instructions). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 23:47, 16 January 2007 by Dr pda (talk | contribs) (handled case where actionXoldid is not defined, updated instructions)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This template combines all the featured article-related templates into one, to reduce clutter on talk pages, and make it less confusing when an article has had multiple FACs, FARs or been demoted and repromoted etc.

The parameter currentstatus controls what text appears at the top of the box, a set of parameters of the form |action1= |action1date=|action1link=|action1result= produces a row in the history section at the bottom of the box.

Syntax

{{ArticleHistory
|action1=
|action1date=
|action1link=
|action1result=
|action2=
|action2date=
|action2link=
|action2result=
...
|currentstatus=
|maindate=
|small=
|oldid=
}}
  • action1 can take values FAC (Featured Article Candidate), FAR (Featured Article Review),and PR (Peer Review). If desired, reviews carried out by WikiProjects can also be included with PPR (Project Peer Review) and AR (A-Class Review). This parameter can also take the values BP (Brilliant Prose) and RBP (Refreshing of Brilliant Prose) for articles which were first featured before the current Featured Article system.
  • action1date is the date the article was listed at FAC, FAR, PR, etc
  • action1link is the name of the subpage at FAC or FAR
  • action1result is the result of the FAC or FAR, and can take values promoted/failed for FAC, kept/demoted for FAR (and RBP) and nominated for BP. (Some synonyms for these are also accepted to make the template more fault-tolerant; view the source of {{historyoutput}} for more details.) For PR/PPR/AR it doesn't matter what you put here, it will just show 'reviewed'

There is also an optional parameter

  • action1oldid is the revision id of the article at the end of the procedure, i.e. the version which was approved as FA/demoted after FAR/reviewed at PR etc. If given, the date in the history will link to this version. If not given, the date is unlinked.

action2 up to action6 allow for subsequent FAC/FAR

  • currentstatus can take values FAC (Featured Article Candidate), FA (Featured Article), FFAC (Former Featured Article Candidate), FAR (Featured Article Review), FFA (Former Featured Article)
  • maindate is the date the article was (or will be) featured on the Main Page, if any. Can accept all date formats
  • small=yes makes the box smaller

Example

Example for Fermi Paradox:

{{ArticleHistory
|action1=FAC
|action1date=June 2, 2004
|action1link=Misplaced Pages:Featured article candidates/Fermi paradox/archive1
|action1result=Promoted
|action2=FAR
|action2date=April 4, 2006
|action2link=Misplaced Pages:Featured article removal candidates/Fermi paradox
|action2result=Demoted
|action3=PR
|action3date=April 28, 2006
|action3link=Misplaced Pages:Peer review/Fermi paradox
|action3result=
|action4=FAC
|action4date=June 6, 2006
|action4link=Misplaced Pages:Featured article candidates/Fermi paradox
|action4result=Promoted
|action4oldid=61126325
|maindate=January 13, 2005
|currentstatus=FA
}}
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here.
Article history
Date Process Result
Current Status: ?
Category: