الگو:نمونه صدا
این الگو از لوآ استفاده میکند: |
ابن الگو برای افزودن نمونه ترانه به جعبههای اطلاعات است.
پارامترها[ویرایش]
فارسی[ویرایش]
{{نمونه صدا |نوع = <!-- "ترانه" یا "تکآهنگ" را انتخاب کنید. --> |عنوان = <!-- نام صدا. در صورت خالی بودن، مینویسد: "نمونه صدا" --> |نام پرونده = |توصیف = <!-- توضیح کوتاهی درباره ترانه. در بیشتر موارد، خالی بگذارید. --> }}
انگلیسی[ویرایش]
میتوانید از روی نسخه انگلیسی کپی کنید یا به صورت دستی زیر، وارد کنید:
{{Audio sample |file = |type = |header = |description = }}
استفاده در جعبههای دیگر[ویرایش]
{{جعبه اطلاعات ترانه ... | متفرقه = {{جا:نمونه صدا | نوع = | عنوان = | نام پرونده = | توصیف = ... }} }}
Microformat[ویرایش]
The HTML mark up produced by this template includes an hAudio microformat, which makes the recording's details تجزیهکننده by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a playlist or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Date-of-publication ("published") information will only be included in the microformat if {{Start date}}
(or {{Start date and age}}
where appropriate) is used in a parent template or infobox (but do not use these if the date is before 1583 CE).
For the length or duration of a recording, say 3 minutes 45 seconds, use {{Duration}} thus: {{Duration|m=3|s=45}}
, which renders as ۳:۴۵. An optional h parameter can be used for hours.
hAudio uses HTML classes including:
- haudio
- fn
- album
- description
- category
- contributor
- duration
- h
- item
- min
- photo
- position
- price
- published
- s
Please do not rename or remove these classes; nor collapse nested elements which use them.
الگوهای مرتبط[ویرایش]
- {{گاهنگاری اضافی}}
- {{جعبه اطلاعات ترانه}}
- {{جعبه اطلاعات آلبوم}}