Changes

Jump to navigation Jump to search
grammar
{{Template shortcut|ph2}}
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->

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

If you want to reference from the top of the history displayed use {{tl|history3}}.

=== Usage ===

{{History}}

{| class="wikitable"
! Code
! Output
|-
| {{tlx|History2|<nowiki></nowiki>|2}}
| {{History2||2}}<br/>
The default is the [[Help:Variable|SUBJECTPAGENAME]], for use on talk pages.
|-
| {{tlx|History2|Main Page|12|Main Page history|200807301912}}
| {{History2|Main Page|12|Main Page history|200807301912}}
|-
| {{tlx|History2|Main Page|12|<nowiki></nowiki>|200807301912}}
| {{History2|Main Page|12||200807301912}}
|-
| {{tlx|History2|Main Page|12|you can make the date/time more readable using pipes|2008|07|30|1912}}
| {{History2|Main Page|12|you can make the date/time more readable using pipes|2008|07|30|1912}}
|-
| {{tlx|History2|Main Page|12|... or utterly confusing, if you prefer|20|0|8073|<nowiki></nowiki>|01912}}
| {{History2|Main Page|12|... or utterly confusing, if you prefer|20|0|8073||01912}}
|}

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.

=== Alias ===
* {{tl|ph2}}: Stands for "page history"

=== See also ===
* {{Lts|Pagelog}} and the {{pagelog}}
* {{Lts|Oldid}}
* {{Lts|Oldid2}}
* {{Lts|diff}}
* {{Lts|diff2}}
* {{Lts|history}}
* {{Lts|history3}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here, and interwikis go in Wikidata -->
[[Category:Internal link templates|{{PAGENAME}}]]

}}</includeonly>
Anonymous user

Navigation menu