Template:Timestamp: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#explode:{{{1}}}| |2}} {{#explode:{{{1}}}| |3}}[[category:timestamp]]{{#ifexpr:{{CURRENTYEAR}}-1>{{#explode:{{{1}}}| |3}}|[[category:FIXME]][[category:Outdated Timestamp]]}}</includeonly><noinclude>
<includeonly>{{#explode:{{{1}}}| |2}} {{#explode:{{{1}}}| |3}}[[category:timestamp]]{{#ifexpr:{{CURRENTYEAR}}-1>{{#explode:{{{1}}}| |3}}|[[category:FIXME]][[category:Outdated Timestamp]]}}</includeonly><noinclude>
==Usage==
Produces a timestamp (as to mark an ongoing discussion) and lists the page in [[:category:timestamp]]
Timestamps that are older than a year are moreover being listed in [[:category:FIXME]] and [[:category:outdated timestamp]].
===Arguments===
*1:Enter the timestamp here with &#126;&#126;&#126;&#126;&#126; (five tildes)
{{note|The template will work properly only if the argument is &#126;&#126;&#126;&#126;&#126; (5 tildes)!}}
==example==
<pre>{{timestamp|~~~~~}}</pre> delivered, as of 18:26, 2 April 2020 (CEST),
{{timestamp|18:26, 2 April 2020 (CEST)}}


[[category:template]]
[[category:template]]
</noinclude>
</noinclude>

Revision as of 18:26, 2 April 2020

Usage

Produces a timestamp (as to mark an ongoing discussion) and lists the page in category:timestamp

Timestamps that are older than a year are moreover being listed in category:FIXME and category:outdated timestamp.

Arguments

  • 1:Enter the timestamp here with ~~~~~ (five tildes)
🗒️ The template will work properly only if the argument is ~~~~~ (5 tildes)!

example

{{timestamp|~~~~~}}

delivered, as of 18:26, 2 April 2020 (CEST),

April 2020