跳转到内容

Template:Format revisiontimestamp/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

这是本页的一个历史版本,由A2569875留言 | 贡献2024年1月10日 (三) 11:45 建立内容为“{{NoteTA|G1=MediaWiki}}{{Documentation subpage}}<!-- 在本行下編輯模板說明 --> {{Template shortcut|FRTS}} == Usage == Generates a more readable output for timestamps in the format YYYYMMDDHHMMSS – as returned by the <code><nowiki>{{REVISIONTIMESTAMP}}</nowiki></code> magic word. For example, {{TLX|FRTS|20230501215438}} is output as "{{FRTS|20230501215438}}". The template is equivalent to using the Help:Magic_wor…”的新页面)编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)

Usage

Generates a more readable output for timestamps in the format YYYYMMDDHHMMSS – as returned by the {{REVISIONTIMESTAMP}} magic word.

For example, Template:TLX is output as "2023-05-01 21:54:38".

The template is equivalent to using the time function — For example {{#time:Y-m-d H:i:s| {{REVISIONTIMESTAMP}} }} — outputs 2024-01-10 11:45:06