Template:History3/doc

From MOASSpedia
Jump to navigation Jump to search

This template creates a link to a specific time within a page's history and n-1 older edits. It accepts the page name, the number of edits to display and the date and time of the most recent edit displayed (which is displayed at the top of the output). Time is in UTC.

If you want to reference from the bottom of the history displayed use {{history2}}.

If the page has a multiple edits within the same minute then with {{history3}} the last one in that minute is on the top of the displayed page. In such a case and a specific edit is desired to be the first displayed, one will need to use {{history2}} to start from an earlier edit and count up from that edit to the specific one within the minute which is desired. Alternately, you can include two additional digits for the fraction of a second at which the edit occurred. However, that information is not normally displayed so you would probably have to guess.

Usage

history

Code Output
{{History3||2}} [https:https://moasspedia.org/w/index.php?title=Template:History3/doc&action=history&limit=2&offset= ]

The default is the SUBJECTPAGENAME, for use on talk pages.

{{History3|Main Page|12|Main Page history|200812301648}} Main Page history
{{History3|Main Page|12||200812301648}} [1]
{{History3|Main Page|12|you can make the date/time more readable using pipes|2008|12|30|1648}} you can make the date/time more readable using pipes
{{History3|Main Page|12|... or utterly confusing, if you prefer|20|0|8123||01648}} ... or utterly confusing, if you prefer

When splitting the date/time into several parameters for better readability, make sure that month, day, hour etc. still have two digits each, using leading zeros if necessary.

Example when to use {{History2}} instead

It is necessary to use {{history2}} when there is more than one edit in a minute and you want an edit other than the last in that minute to show up as the top line displayed.

The following example is from {{contribs3}}. The differences between {{contribs2}} and {{contribs3}} are the same as with {{history2}} and {{history3}}. It was much easier to find an example of a user making multiple edits in a minute than it was to find a page that was edited multiple times in a minute.

You desire to show the edits of lowercase sigmabot III, at bot that is making many edits in a minute, on a page with the edit of User talk:Slambo/Archives/2013/September at the top and the prior 53 edits. Using {{contribs3}}, the edit is 4th on the page:
{{contribs3|lowercase sigmabot III|57|54 YYYY/Month based archives|201312042106}}
it is not possible because the edit desired is not the last one in that minute. It is necessary to use {{contribs2}} and display 57 edits:
{{contribs2|lowercase sigmabot III|57|54 YYYY/Month based archives|201312042104}}

Alias

  • {{ph3}}: Stands for "page history3"

See also