Template:Timestamp link: Difference between revisions

From Battlestar Wiki Media
mNo edit summary
(ifexpr)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{timestamp}}}|The timestamp of this capture is {{{timestamp}}}.|The timestamp for this image is unknown. Please supply the time index for this capture. {{#ifeq:{{NAMESPACE}}|Image|{{#if:{{{timestamp|}}}|{{void}}|[[Category:Screen captures requiring timestamp]]}}}}}}</includeonly>
<includeonly>{{#if:{{{timestamp}}}|The timestamp of this capture is {{#ifeq:{{#expr:{{{timestamp}}} > 1}}|1|{{#ifexpr:{{{timestamp}}}<3600|{{#time:i"m"s"s"|@{{{timestamp}}}}}|{{#time:H"h"i"m"s"s"|@{{{timestamp}}}}}}}|{{{timestamp}}}}}.|The timestamp for this image is unknown. Please supply the time index for this capture.}}{{#ifeq:{{NAMESPACE}}|Image|{{#if:{{{timestamp|}}}|{{void}}|[[Category:Screen captures requiring timestamp]]}}}}</includeonly><noinclude>[[Category:Image tags helper templates|Timestamp link]]</noinclude>

Latest revision as of 18:10, 28 January 2024