మూస:వినుము/doc
Jump to navigation
Jump to search
This is a documentation subpage for మూస:వినుము. It may contain usage information, categories and other content that is not part of the original మూస page. |
వికీ పఠలకు శబ్దములను జతచేయడానికి {{వినుము/doc}} వాడవలెను.
Usage
[మార్చు]Simple
[మార్చు]దీని సరళరూపము ఇట్లుండును:
{{వినుము |ఫైలు పేరు = |శీర్షిక = |వివరణ = }}
- ఫైలుపేరు (ఉండితీరవలెను) – the pagename of the media file, without the File: (formerly Image:) prefix
- శీర్షిక (ఉండితీరవలెను) – the శీర్షిక of the audio file, to be displayed
- వివరణ – a వివరణ of the audio file
- Example
{{వినుము |ఫైలుపేరు = Accordion chords-01.ogg |శీర్షిక = Accordion chords |వివరణ = Chords being played on an accordion }} |
|
Multiple files
[మార్చు]Additional files can be embedded in an article with one template by appending a number to each parameter. Up to ten files can be included.
{{వినుము |ఫైలుపేరు = |శీర్షిక = |వివరణ = |ఫైలుపేరు2 = |శీర్షిక2 = |వివరణ2 = |ఫైలుపేరు3 = |శీర్షిక3 = |వివరణ3 = }}
- ఫైలుపేరు (ఉండితీరవలెను) – the pagename of the media file, without the File: (formerly Image:) prefix
- శీర్షిక (ఉండితీరవలెను) – the శీర్షిక of the audio file, to be displayed
- వివరణ – a వివరణ of the audio file
- Example
{{వినుము |ఫైలుపేరు = Accordion chords-01.ogg |శీర్షిక = Accordion chords |వివరణ = Chords being played on an accordion |type = music |ఫైలుపేరు2 = Moonlight.ogg |శీర్షిక2 = ''Moonlight Sonata'' |వివరణ2 = [[Beethoven]]'s "Sonata in C-sharp minor" |ఫైలుపేరు3 = Au_clair_de_la_lune_mode_do.mid |శీర్షిక3 = Au Clair de la Lune |వివరణ3 = The traditional French children's song |play3 = no }} |
|
Style parameters
[మార్చు]The template also takes a number of style parameters to control its appearance:
- type – can be used to alter the image displayed at the left depending on the type of audio content being embedded. Acceptable values are sound, speech and music (default)
- header – can be used to add a header to the box.
- help – if set
|help=no
, suppresses the help text that normally appears at the bottom of the box. Only do this if there are other audio files on the page which do have the help link; it must be provided on at least the first file on the article. - pos – by default the box floats to the right side of the screen. Setting this to left will cause the box to instead float on the left-hand side.
- image – define a different image. Eg
|image=[[File:Example.jps|20px]]
. You can set|image=none
to disable the image entirely. - style – can be used to pass specific style instructions to the box. Setting this to float:none will anchor the box when this is convenient. Setting this to float:none; clear:none will enable the anchored box to co-exist gracefully beside another floating box.
- play# – some media files cannot be displayed inline; if this is the case set
|play=no
to prevent the broken inline link from displaying. - plain – if set
|plain=yes
, removes most of the ornamentation (table border, image, and help links) to give a minimalist version. This also removes the left/right float and positioning, to allow the box to be manually positioned as desired using the|style=
(e.g.|style=float:right
) parameter and surrounding markup.
- Example using the parameters
|type=sound
and|header=text
|
{{వినుము |ఫైలుపేరు = Phrase de Neil Armstrong.oga |శీర్షిక = "One small step for a man..." |వివరణ = First words spoken on the [[moon]]. |type = speech |pos = left |header = Recordings of this phrase: }} |
- Example using the parameters
|plain=yes
and|style=float:left
|
{{వినుము |ఫైలుపేరు = Accordion chords-01.ogg |శీర్షిక = Accordion chords |plain = yes |style = float:left }} |
See also
[మార్చు]- {{Audio}}, a variant of this template meant more for inline sounds like pronunciations.
- {{Multi-listen start}}, {{Multi-listen item}}, and {{Multi-listen end}}, templates used to list multiple audio files in the same box