الگو:Interval/توضیحات
این زیرصفحهٔ مستندات الگو:Interval است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
این الگو از لوآ استفاده میکند: |
استفاده
ویرایشنمونه
ویرایشPassing 2, 4 and 6 as the unnamed parameters defines the following intervals:
- -∞<x<2
- 2≤x<4
- 4≤x<6
- 6≤x<∞
Then:
{{Interval|n=1|2|4|6}}
gives 0-1 because 1 is in the interval between the 0th and 1st values.{{Interval|n=4|2|4|6}}
gives 2-3 because 4 is in the interval between the 2nd and 3rd values.{{Interval|n=5|2|4|6}}
gives 2-3 because 5 is in the interval between the 2nd and 3rd values.{{Interval|n=6|2|4|6}}
gives 3-4 because 6 is in the interval between the 3rd and 4th values.
Time
ویرایش{{interval2}}
تولید میکند 4-5
جستارهای وابسته
ویرایش- {{فاصلههای موسیقی}}، ناوباکسی دربارهٔ فاصلههای موسیقی.
- {{جعبه اطلاعات فاصله موسیقی}}