"틀:디데이"의 두 판 사이의 차이

태그: 되돌려진 기여
(Playcity (토론)의 46492판 편집을 되돌림)
태그: 편집 취소 되돌려진 기여
5번째 줄: 5번째 줄:
<span alt="LEGACY" style="display:none;"><nowiki>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}</nowiki></span>
<span alt="LEGACY" style="display:none;"><nowiki>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}</nowiki></span>


<onlyinclude><includeonly>{{#switch:{{{정수|}}}|예|O=<!--정수-->{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }}<!--2--> }}<!--정수끝-->|<!--일반-->#default = {{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}<!--일반끝-->}}</includeonly></onlyinclude>
<onlyinclude><includeonly>{{#switch:{{{정수|}}}|예|O=<!--정수-->{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }}<!--2--> }}<!--정수끝-->|<!--일반-->#default = {{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}<!--일반끝-->}}</includeonly></onlyinclude>

2022년 4월 27일 (수) 09:23 판

{{디데이|날짜=2021-12-01|정수=}}
정수만 표출하려면 '정수'항목에 O 또는 예를, 아니라면 아무것도 작성하지 마세요.

{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}