الگو:تاریخ به سبک قدیم/توضیحات
ظاهر
این زیرصفحهٔ مستندات الگو:تاریخ به سبک قدیم است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
کاربرد[ویرایش]
This template is used for displaying a date in both Old Style and New Style, including a discreet link to the article سبک قدیمی و سبک جدید گاهشماری میلادی, in cases where the year is the same in both Styles.
{{تاریخ به سبک قدیم|NS day and month|year|OS day and month}}
If it helps you remember the order of the parameters, you may optionally choose to think of it like this:
{{تاریخ به سبک قدیم|NS day and month|NS year|OS day and month|OS year}}
Note that in this usage the fourth parameter will be ignored when the template is rendered.
مثالها[ویرایش]
- کاربرد:
{{تاریخ به سبک قدیم|۲ فوریه|۱۹۰۵|۲۰ ژانویه}}
- نتیجه: ۲ فوریه [سبک قدیمی: ۲۰ ژانویه] ۱۹۰۵
- کاربرد:
{{تاریخ به سبک قدیم|February 2|1905|January 20}}
- نتیجه: فوریه ۲ [سبک قدیمی: ژانویه ۲۰] ۱۹۰۵
جستارهای وابسته[ویرایش]
- {{OldStyleDateDY}} – for cases where the year is different in the Old Style and the New Style
- مثال: ۱۷ ژانویه ۱۷۰۶ [O.S. ۶ ژانویه ۱۷۰۵]
- {{OldStyleDateNY}} – for cases that require only the day and month, not the year
- مثال: ۱۳ اکتبر [به سیستم قدیمی ۲ اکتبر]