틀:남은시간: 두 판 사이의 차이
내용 삭제됨 내용 추가됨
새 문서: <onlyinclude><includeonly>'''{{#ifexpr:{{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}<0|<span style="color:red">선거 종료</span>|{{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{... |
|||
1번째 줄: | 1번째 줄: | ||
<onlyinclude><includeonly>'''{{#ifexpr:{{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}<0|<span style="color:red">선거 종료</span>|{{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 604800 - 0.5 round 0) +0}}주 {{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 86400 - 0.5 round 0 +0) - (({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 604800 - 0.5 round 0 +0)*7}}일 {{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9 hours}}) / 3600 - 0.5 round 0 +0) - (({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 86400 - 0.5 round 0 +0)*24}}시간 {{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9 hours}}) / 60 - 0.5 round 0 +0) - (({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9 hours}}) / 3600 - 0.5 round 0 +0)*60}}분}}'''</includeonly></onlyinclude> |
<onlyinclude><includeonly>'''{{#ifexpr:{{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}<0|<span style="color:red">선거 종료</span>|{{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 604800 - 0.5 round 0) +0}}주 {{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 86400 - 0.5 round 0 +0) - (({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 604800 - 0.5 round 0 +0)*7}}일 {{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9 hours}}) / 3600 - 0.5 round 0 +0) - (({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9hours}}) / 86400 - 0.5 round 0 +0)*24}}시간 {{#expr:(({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9 hours}}) / 60 - 0.5 round 0 +0) - (({{#time:U|{{{1}}}+21days+9hours}}-{{#time:U|+9 hours}}) / 3600 - 0.5 round 0 +0)*60}}분}}'''</includeonly></onlyinclude> |
||
7번째 줄: | 6번째 줄: | ||
{{남은시간|20080428153626}} |
{{남은시간|20080428153626}} |
||
</pre> |
</pre> |
||
[[분류:위키자료집 틀]] |
2008년 5월 20일 (화) 06:02 판
- 관리자 선거에서 남은 시간을 표시하는 데에 사용됩니다.
- 예제:
{{남은시간|20080428153626}}