틀:이전 시간/설명문서: 두 판 사이의 차이
보이기
< 틀:이전 시간
내용 삭제됨 내용 추가됨
Altostratus (토론 | 기여) 편집 요약 없음 |
Altostratus (토론 | 기여) 편집 요약 없음 |
||
32번째 줄: | 32번째 줄: | ||
[[af:Sjabloon:Tyd_gelede]] |
[[af:Sjabloon:Tyd_gelede]] |
||
[[ar:قالب:Time ago]] |
|||
[[es:Plantilla:Edad en tiempo]] |
|||
[[id:Templat:Time ago]] |
|||
[[ja:Template:Time ago]] |
|||
[[hy:Կաղապար:Time ago]] |
|||
[[uk:Шаблон:Time ago]] |
|||
[[zh:Template:Time ago]] |
|||
<!-- 여기에 분류와 인터위키를 넣어주세요. --> |
<!-- 여기에 분류와 인터위키를 넣어주세요. --> |
||
2010년 12월 24일 (금) 15:38 판
이 문서는 틀:이전 시간에 대한 설명입니다. 여기에는 틀 사용법, 분류 등 원래의 틀 문서에는 포함되지 않는 내용을 담고 있습니다. |
이 이전 시간 틀은 어떤 시간으로 부터 지금까지 얼마나 지났는지 계산해주는 틀입니다. 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
andyears
.ago
변수는 can be set to override the default usage of the text "ago
".
- 실험 결과 한글은 적용되지 않습니다 되도록이면 20080611과 같이 연월일이 생략된 형태를 써주세요
예
- {{이전 시간| -83 minutes}} → 83분 전
- {{이전 시간| -334 minutes}} → 5시간 전
- {{이전 시간|{{REVISIONTIMESTAMP}}}} → 13년 전
- {{이전 시간| 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
같이 보기
- {{최종 편집일}}