[go: nahoru, domu]

본문으로 이동

:이전 시간/설명문서

위키백과, 우리 모두의 백과사전.

이전 시간 틀은 어떤 시간으로 부터 지금까지 얼마나 지났는지 계산해주는 틀입니다. 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.

사용법

  • {{이전 시간|계산 할 시간}}

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. 쓸 수 있는 인자 내용: seconds, minutes, hours, days, weeks, months years.
  • min_magnitude 변수는 can be set to user certain unit or bigger units. 쓸 수 있는 인자 내용: seconds, minutes, hours, days, months and years.
  • ago 변수는 can be set to override the default usage of the text "ago".
  • 실험 결과 한글은 적용되지 않습니다 되도록이면 20080611과 같이 연월일이 생략된 형태를 써주세요

  • {{이전 시간| -83 minutes}}83분 전
  • {{이전 시간| -334 minutes}}5시간 전
  • {{이전 시간|{{REVISIONTIMESTAMP}}}}12년 전
  • {{이전 시간| 20081106}}15년 전
  • {{이전 시간| 20081106|magnitude=주}}824주 전
  • {{이전 시간| 20081106|min_magnitude=일}}15년 전
  • {{이전 시간| 20081106|min_magnitude=년}}15년 전

같이 보기