Template:Timestamp: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
 
(4 intermediate revisions by the same user not shown)
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]]
{{interwiki}}
</noinclude>
</noinclude>

Latest revision as of 20:46, 14 March 2022

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