[go: nahoru, domu]

본문으로 이동

:이전 시간/설명문서

위키백과, 우리 모두의 백과사전.
Altostratus (토론 | 기여)님의 2010년 12월 24일 (금) 15:34 판

이전 시간 틀은 어떤 시간으로 부터 얼마나 지났는지 계산해주는 틀입니다. The result is a string similar to one of the examples below. This template should not be used with "subst" unless you don't want the stamp to change as the user refreshes the page.

Note that due to Wikipedia's caching mechanisms, you may need to purge a page using this template to update the dynamic value.

사용법

  • {{이전 시간|timestamp}}

The timestamp can be almost any solid, readable format but to avoid ambiguity mistakes, one of the styles below is preferred.

  • magnitude 변수는 can be set to explicitly use certain unit. Allowed values are: , minutes, hours, days, weeks, months .
  • min_magnitude 변수는 can be set to user certain unit or bigger units. Allowed values are: seconds, minutes, hours, days, months and years.
  • ago 변수는 can be set to override the default usage of the text "ago".

  • {{이전 시간| -83 minutes}}83분 전
  • {{이전 시간| -334 minutes}}5시간 전
  • {{이전 시간|{{REVISIONTIMESTAMP}}}}13년 전
  • {{이전 시간| Jan 21, 2001 3:45 PM}}23년 전
  • {{이전 시간| 20081106}}15년 전
  • {{이전 시간| 20081106|magnitude=weeks}}824주 전
  • {{이전 시간| 20081106|min_magnitude=days}}15년 전
  • {{이전 시간| 20081106|min_magnitude=years}}15년 전
  • {{이전 시간| 20081106|ago=in the past}}15년 in the past

같이 보기