Difference between revisions of "Template:Dts"

From Sudo Room
Jump to navigation Jump to search
(import from wikipedia)
 
(admit defeat)
 
Line 1: Line 1:
<includeonly>{{dts/{{#iferror:{{#expr:{{{1|}}}}}
this was a failed attempt at using something from wikipedia
  |{{#if:{{#iferror:{{#time:|{{{1}}}}}|X|{{{2|}}}{{{3|}}}}}
 
    |invalid input
https://en.wikipedia.org/wiki/Template:Dts
    |out{{{format|}}}
 
  }}
it's harder than i thought. never mind.
  |{{#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>
{{being deleted|2013 August 15|merge=Template:dtsa}}
{{documentation}}
</noinclude>

Latest revision as of 18:48, 15 January 2014

this was a failed attempt at using something from wikipedia

https://en.wikipedia.org/wiki/Template:Dts

it's harder than i thought. never mind.