Jump to content

Template:Retrieved/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m.
Tags: Mobile edit Mobile web edit
re: time var. substitution
Tag: Reverted
Line 4: Line 4:
|limited=[[File:Lock-gray-alt-2.svg|10px|link=|Free access subject to limited trial, subscription normally required]]
|limited=[[File:Lock-gray-alt-2.svg|10px|link=|Free access subject to limited trial, subscription normally required]]
|subscription=[[File:Lock-red-alt-2.svg|10px|link=|Paid subscription required]][[Category:Pages containing links to subscription-only content|{{FULLPAGENAME}}]]
|subscription=[[File:Lock-red-alt-2.svg|10px|link=|Paid subscription required]][[Category:Pages containing links to subscription-only content|{{FULLPAGENAME}}]]
|#default={{#ifeq:{{{err}}}|y|<span style="color:red"><strong>!</strong>&#160;{{tlx|retrieved}}:&#32;Parameter <strong><span style="color:green">access-info</span></strong> – option not valid &#91;&#8288;[[Template:Retrieved/sandbox#access-info|info]]&#8288;&#93;&#160;<strong>!</strong></span>}}}}}}</span>{{#if:{{{access-info|}}}|{{#if:{{{source-info|}}}|{{#if:{{{nopun|}}}|{{#ifeq:{{{nopun}}}|y||&#8288;.}}|{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,}}{{#ifeq:{{{mode}}}|cs1|.}}}}}}&#32;{{{source-info}}}{{#if:{{{format|}}}|&#32;({{{format}}})}}{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;|{{#if:{{{format|}}}|&#32;({{{format}}})}}{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;}}|{{#if:{{{source-info|}}}|{{{source-info}}}{{#if:{{{format|}}}|&#32;({{{format}}})}}{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;|{{#if:{{{format|}}}|({{{format}}}){{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;}}}}}}{{#if:{{{mode|}}}|{{#ifeq:{{{mode}}}|cs2|retrieved|{{#ifeq:{{{mode}}}|cs1|Retrieved|{{#ifeq:{{{err}}}|y|<span style="color:red"><strong>!</strong>&#160;{{tlx|retrieved}}:&#32;Parameter <strong><span style="color:green">mode</span></strong> – option not valid &#91;&#8288;[[Template:Retrieved/sandbox#mode|info]]&#8288;&#93;&#160;<strong>!</strong></span>|Retrieved}}}}}}|Retrieved}}&#32;{{#switch:{{{access-date|{{{accessdate}}}}}}
|#default={{#ifeq:{{{err}}}|y|<span style="color:red"><strong>!</strong>&#160;{{tlx|retrieved}}:&#32;Parameter <strong><span style="color:green">access-info</span></strong> – option not valid &#91;&#8288;[[Template:Retrieved/sandbox#access-info|info]]&#8288;&#93;&#160;<strong>!</strong></span>}}}}}}</span>{{#if:{{{access-info|}}}|{{#if:{{{source-info|}}}|{{#if:{{{nopun|}}}|{{#ifeq:{{{nopun}}}|y||&#8288;.}}|{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,}}{{#ifeq:{{{mode}}}|cs1|.}}}}}}&#32;{{{source-info}}}{{#if:{{{format|}}}|&#32;({{{format}}})}}{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;|{{#if:{{{format|}}}|&#32;({{{format}}})}}{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;}}|{{#if:{{{source-info|}}}|{{{source-info}}}{{#if:{{{format|}}}|&#32;({{{format}}})}}{{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;|{{#if:{{{format|}}}|({{{format}}}){{#if:{{{mode|}}}|&#8288;{{#ifeq:{{{mode}}}|cs2|,|{{#ifeq:{{{mode}}}|cs1|.|}}}}|&#8288;.}}&#32;}}}}}}{{#if:{{{mode|}}}|{{#ifeq:{{{mode}}}|cs2|retrieved|{{#ifeq:{{{mode}}}|cs1|Retrieved|{{#ifeq:{{{err}}}|y|<span style="color:red"><strong>!</strong>&#160;{{tlx|retrieved}}:&#32;Parameter <strong><span style="color:green">mode</span></strong> – option not valid &#91;&#8288;[[Template:Retrieved/sandbox#mode|info]]&#8288;&#93;&#160;<strong>!</strong></span>|Retrieved}}}}}}|Retrieved}}&#32;{{#switch:{{{{{{|safesubst:access-date|{{{accessdate}}}}}}}}}
|{{{|safesubst|ymd}}}
|ymd
|iso={{{{{|safesubst:CURRENTYEAR}}}}}-{{{{{|safesubst:CURRENTMONTH}}}}}-{{{{{|safesubst:CURRENTDAY2}}}}}
|{{{|safesubst|iso}}}={{{{{|safesubst:CURRENTYEAR}}}}}-{{{{{|safesubst:CURRENTMONTH}}}}}-{{{{{|safesubst:CURRENTDAY2}}}}}
|dmy={{{{{|safesubst:CURRENTDAY}}}}} {{{{{|safesubst:CURRENTMONTHNAME}}}}} {{{{{|safesubst:CURRENTYEAR}}}}}
|{{{|safesubst|dmy}}}={{{{{|safesubst:CURRENTDAY}}}}} {{{{{|safesubst:CURRENTMONTHNAME}}}}} {{{{{|safesubst:CURRENTYEAR}}}}}
|sdmy={{{{{|safesubst:CURRENTDAY}}}}} {{{{{|safesubst:CURRENTMONTHABBREV}}}}} {{{{{|safesubst:CURRENTYEAR}}}}}
|{{{|safesubst|mdy}}}={{{{{|safesubst:CURRENTMONTHNAME}}}}} {{{{{|safesubst:CURRENTDAY}}}}}, {{{{{|safesubst:CURRENTYEAR}}}}}
|mdy={{{{{|safesubst:CURRENTMONTHNAME}}}}} {{{{{|safesubst:CURRENTDAY}}}}}, {{{{{|safesubst:CURRENTYEAR}}}}}
|{{{|safesubst|sdmy}}}={{{{{|safesubst:CURRENTDAY}}}}} {{{{{|safesubst:CURRENTMONTHABBREV}}}}} {{{{{|safesubst:CURRENTYEAR}}}}}
|smdy={{{{{|safesubst:CURRENTMONTHABBREV}}}}} {{{{{|safesubst:CURRENTDAY}}}}}, {{{{{|safesubst:CURRENTYEAR}}}}}
|{{{|safesubst|smdy}}}={{{{{|safesubst:CURRENTMONTHABBREV}}}}} {{{{{|safesubst:CURRENTDAY}}}}}, {{{{{|safesubst:CURRENTYEAR}}}}}
|#default={{#iferror:{{#ifexpr: {{#time:U|{{{access-date|{{{accessdate}}}}}}}} <= {{#time:U|now+14 hours}}|{{#if:{{{df|}}}|{{#switch:{{{df}}}
|#default={{#iferror:{{#ifexpr: {{#time:U|{{{access-date|{{{accessdate}}}}}}}} <= {{#time:U|now+14 hours}}|{{#if:{{{df|}}}|{{#switch:{{{df}}}
|ymd
|ymd

Revision as of 20:44, 20 October 2024

Retrieved 2025-01-03⁠.