Difference between revisions of "Template:History3/doc"
Jump to navigation
Jump to search
imported>Makyen (Create. Forked from Template:History3/doc) |
imported>Makyen (Update to history3) |
||
| Line 1: | Line 1: | ||
| − | {{Template shortcut| | + | {{Template shortcut|ph3}} |
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- 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 '' | + | This template creates a link to a specific time within a page's history and n-1 ''later'' 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 ''top'' of the output). Time is in UTC. |
| − | If you want to reference from the | + | If you want to reference from the bottom of the history displayed use {{tl|history2}}. |
=== Usage === | === Usage === | ||
| Line 15: | Line 15: | ||
! Output | ! Output | ||
|- | |- | ||
| − | | {{tlx| | + | | {{tlx|History3|<nowiki></nowiki>|2}} |
| − | | {{ | + | | {{History3||2}}<br/> |
The default is the [[Help:Variable|SUBJECTPAGENAME]], for use on talk pages. | The default is the [[Help:Variable|SUBJECTPAGENAME]], for use on talk pages. | ||
|- | |- | ||
| − | | {{tlx| | + | | {{tlx|History3|Main Page|12|Main Page history|200807301912}} |
| − | | {{ | + | | {{History3|Main Page|12|Main Page history|200807301912}} |
|- | |- | ||
| − | | {{tlx| | + | | {{tlx|History3|Main Page|12|<nowiki></nowiki>|200807301912}} |
| − | | {{ | + | | {{History3|Main Page|12||200807301912}} |
|- | |- | ||
| − | | {{tlx| | + | | {{tlx|History3|Main Page|12|you can make the date/time more readable using pipes|2008|07|30|1912}} |
| − | | {{ | + | | {{History3|Main Page|12|you can make the date/time more readable using pipes|2008|07|30|1912}} |
|- | |- | ||
| − | | {{tlx| | + | | {{tlx|History3|Main Page|12|... or utterly confusing, if you prefer|20|0|8073|<nowiki></nowiki>|01912}} |
| − | | {{ | + | | {{History3|Main Page|12|... or utterly confusing, if you prefer|20|0|8073||01912}} |
|} | |} | ||
| Line 35: | Line 35: | ||
=== Alias === | === Alias === | ||
| − | * {{tl| | + | * {{tl|ph3}}: Stands for "page history" |
=== See also === | === See also === | ||
| Line 44: | Line 44: | ||
* {{Lts|diff2}} | * {{Lts|diff2}} | ||
* {{Lts|history}} | * {{Lts|history}} | ||
| − | * {{Lts| | + | * {{Lts|history2}} |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
Revision as of 18:50, 13 December 2013
| This is a documentation subpage for Template:History3. It contains usage information, categories and other content that is not part of the original template page. |
This template creates a link to a specific time within a page's history and n-1 later 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 top of the output). Time is in UTC.
If you want to reference from the bottom of the history displayed use {{history2}}.
Usage
| Code | Output |
|---|---|
{{History3||2}}
|
[1] The default is the SUBJECTPAGENAME, for use on talk pages. |
{{History3|Main Page|12|Main Page history|200807301912}}
|
Main Page history |
{{History3|Main Page|12||200807301912}}
|
[2] |
{{History3|Main Page|12|you can make the date/time more readable using pipes|2008|07|30|1912}}
|
you can make the date/time more readable using pipes |
{{History3|Main Page|12|... or utterly confusing, if you prefer|20|0|8073||01912}}
|
... 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.
Alias
- {{ph3}}: Stands for "page history"
See also
- Template:Pagelog(edit talk links history) and the Template:Pagelog
- Template:Oldid(edit talk links history)
- Template:Oldid2(edit talk links history)
- Template:Diff(edit talk links history)
- Template:Diff2(edit talk links history)
- Template:History(edit talk links history)
- Template:History2(edit talk links history)