Template:Dts: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{dts/{{#iferror:{{#expr:{{{1|}}}}} |{{#if:{{#iferror:{{#time:|{{{1}}}}}|X|{{{2|}}}{{{3|}}}}} |invalid input |out{{{format|}}} }} |{{#ifexpr:0*{{...")
(Redirected page to Template:Date table sorting)
Tag: New redirect
Line 1: Line 1:
<includeonly>{{dts/{{#iferror:{{#expr:{{{1|}}}}}
#REDIRECT [[Template:Date table sorting]]
  |{{#if:{{#iferror:{{#time:|{{{1}}}}}|X|{{{2|}}}{{{3|}}}}}
 
    |invalid input
{{Rcat shell|
    |out{{{format|}}}
{{R from move}}
  }}
{{R from modification}}
  |{{#ifexpr:0*{{{1|}}}0=0
    |{{#iferror:{{#expr:{{{2|}}}}}
        |{{#iferror:{{#time:|{{{2}}}}}
          |invalid input
          |{{#ifeq:{{#expr:({{{3}}}<1) or ({{{3}}}>31)}}|1
              |invalid input
              |out{{{format|}}}2
            }}
        }}
        |{{#ifeq:{{#expr:({{{2}}}<1) or ({{{2}}}>12)}}|1
          |invalid input
          |{{#ifeq:{{#expr:({{{3}}}<1) or ({{{3}}}>31)}}|1
              |invalid input
              |out{{{format|}}}1
            }}
        }}
      }}
    |{{#iferror:{{#time:|{{{1}}}}}
        |invalid input
        |out{{{format|}}}0
      }}
  }}
}}
}}
|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{uc:{{{4|}}}}}
|M={{#ifeq:{{{abbr}}}|on|M|F}}
|debug={{{debug|}}}
|nowrap={{{nowrap|}}}
|format={{{format|}}}
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Revision as of 23:47, 9 October 2020