• Domov
  • Naključno
  • Bližnje
  • Prijava
  • Nastavitve
Donate Now If Wikipedia is useful to you, please give today.
  • O Wikipediji
  • Zavrnitve odgovornosti
Wikipedija

Predloga:Poslušaj

  • Jezik
  • Opazuj
  • Uredi stran
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]
Lua logoUporablja Lua:
  • Module:Listen

Vsebina

  • 1 Namen
  • 2 Simple usage
    • 2.1 Multiple files
  • 3 Style parameters
  • 4 Examples
  • 5 Microformat
  • 6 TemplateData
  • 7 See also

Namen

uredi

{{poslušaj}} doda povezavo na zvočno datoteko zunaj preostalega besedila.


{{Poslušaj}} allows audio and video files to be embedded in articles. It should be used for audio files that are set off from the text, like music clips or sound recordings.

Simple usage

uredi
{{Poslušaj
| filename    = 
| title       = 
| description = 
| pos         = 
}}
  • filename (Required): the pagename of the media file, without the File: (formerly Image:) prefix
  • title (Required): the title of the audio file, to be displayed. Do not use quote marks around song titles. Do not use wikilinks in the title – they will not work.
  • description: a description of the audio file
  • pos = left or right

Multiple files

uredi

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.

{{Poslušaj
| filename     = 
| title        = 
| alt          = 
| description  = 
| filename2    = 
| title2       = 
| alt2         = 
| description2 = 
| filename3    = 
| title3       = 
| alt3         = 
| description3 = 
}}
  • filename (Required): the pagename of the media file, without the File: (formerly Image:) prefix
  • title (Required): the title of the audio file, to be displayed. Do not use quote marks around song titles.
  • alt: alt text for the image displayed for the file, for visually impaired readers; see Wikipedia:Alternative text for images. This is needed for file formats such as Ogg's .ogv format that include video as well as sound. The alt text should describe just the initial static image, not the entire video or its sound.
  • description: a description of the audio file

Style parameters

uredi

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 music, speech and sound (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.
  • embed: use |embed=yes to remove border and padding when using as a module embedded in another infobox (see examples below).

Examples

uredi
Basic example
Accordion chords
Chords being played on an accordion

Imate težave s predvajanjem te datoteke? Glejte stran za pomoč.
{{Poslušaj
| filename    = Accordion chords-01.ogg
| title       = Accordion chords
| description = Chords being played on an accordion
}}


Example with video
Inaugural Address
Inaugural address of Barack Obama (21.21)
Barack Obama delivers his inaugural address on January 20, 2009.
(Duration: 21 minutes, 21 seconds)
{{Poslušaj
| header      = Inaugural Address
| filename    = Barack Obama inaugural address.ogv
| alt         = A black man in a black coat gestures and talks at a lecturn surrounded by teleprompters. Behind him, in the background, are about a dozen warmly-dressed onlookers.
| title       = Inaugural address of Barack Obama
| description = Barack Obama delivers his [[inaugural address]] on January 20, 2009.<br>(Duration: 21 minutes, 21 seconds)
| help        = no
| type        = sound
}}


Example with header
Recordings of this phrase:
"One small step for a man..."
First words spoken on the moon.

Imate težave s predvajanjem te datoteke? Glejte stran za pomoč.
{{Poslušaj
| filename    = Phrase de Neil Armstrong.oga
| title       = "One small step for a man..."
| description = First words spoken on the [[moon]].
| type        = speech
| pos         = left
| header      = Recordings of this phrase:
}}


Embed example
Dr. Accordion
Rojstvo
Smrt
Državljanstvo
PoklicAccordion player
Accordion chords
{{Infobox person
| name = Dr. Accordion
| occupation = Accordion player
| module = 
{{Poslušaj
| filename = Accordion chords-01.ogg
| title    = Accordion chords
| embed    = yes
}}
}}


Plain example
Accordion chords
{{Poslušaj
| filename = Accordion chords-01.ogg
| title    = Accordion chords
| plain    = yes
| style    = float:left
}}


Multiple files
Accordion chords
Chords being played on an accordion

Moonlight Sonata
Beethoven's "Sonata in C-sharp minor"

Au Clair de la Lune
The traditional French children's song

Imate težave s predvajanjem teh datotek? Glejte stran za pomoč.
{{Poslušaj
| filename     = Accordion chords-01.ogg
| title        = Accordion chords
| description  = Chords being played on an accordion
| type         = music
| filename2    = Moonlight.ogg
| title2       = ''Moonlight Sonata''
| description2 = [[Beethoven]]'s "Sonata in C-sharp minor"
| filename3    = Au_clair_de_la_lune_mode_do.mid
| title3       = Au Clair de la Lune
| description3 = The traditional French children's song
| play3        = no
}}


Microformat

uredi
HTML-označevanje, ki ga ustvari ta predloga, vključuje hAudio mikroformat, ki omogoča preprosto razčlenitev podatki o zvočnem posnetku računalniškim programom. To pomaga pri opravilih, kot sta katalogizacija člankov in vzdrževanje podatkovnih zbirk.
Podpredloge

Datum izdaje (»published«) bodo v mikroformat vključeni samo, če bo v nadrejenem infopolju/predlogi uporabljena predloga {{start date}} (ali če je primerno {{start date and age}}). Predloge {{start date}} ali {{start date and age}} ne uporabljajte, če gre za datum pred letom 1583.

Za določitev trajanja/dolžine posnetka uporabite predlogo {{duration}}. Če na primer posnetek traja 3 minute in 45 sekund, uporabite {{duration|m=3|s=45}} (ki se pojavi kot: 3:45). Po potrebi je lahko vključen parameter |h= za označitev števila ur.

Prosimo, ne odstranjujte pojavitev teh podpredlog.

Uporabljeni razredi

HTML-razredi tega mikroformata vključujejo:

  • haudio
  • fn
  • album
  • description
  • category
  • contributor
  • duration
  • h
  • item
  • min
  • photo
  • position
  • price
  • published
  • s
Prosimo, ne preimenujte in ne odstranite teh razredov, prav tako pa ne strnite gnezdenih elementov, ki jih ustvarijo.

TemplateData

uredi
To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Poslušaj

Allows audio and video files to be embedded in articles.

Parametri predloge[Urejanje podatkov predloge]

Za to predlogo se uporablja postavitev po meri.

ParameterOpisVrstaStanje
Headerheader

Text or other content to go above all the files in the template (but within the template boundary). Allows markup.

Vsebinaneobvezno
Music or speech icontype

Enter "music" or "speech" here to change the template icon to a speaker with music notes or a microphone.

Predlagane vrednosti
sound music speech
Privzeto
sound
Zgled
music
Vrsticaneobvezno
Custom iconimage

Custom image to replace the speaker icon in the template. Alternatively, enter "none" here to hide the icon entirely.

Zgled
[[File:Example.jpg|50px]], none
Datotekaneobvezno
Filenamefilename

The filename of the file. Filename2, filename3, etc. can be used for subsequent files.

Datotekazahtevano
Titletitle

The title to display for the file. Title2, title3, etc. can be used for subsequent files.

Nizzahtevano
Descriptiondescription

A description of the file. Description2, description3, etc. can be used for subsequent files.

Nizpredlagano
Start timestart

Timestamp at which the first file should start playing (start2, start3, etc. can be used for subsequent files)

Zgled
0:20
Vrsticaneobvezno
Hide duration?length

Enter "hide" here to hide the duration of the first file (length2, length3, etc. can be used for subsequent files).

Zgled
hide
Vrsticaneobvezno
Hide player?play

Enter "no" here to hide the file player for the first file (play2, play3, etc. can be used for subsequent files). To be used for some media files that cannot be displayed inline, to prevent a broken inline link from showing.

Zgled
no
Vrsticaneobvezno
Hide help text?help

Enter "no" here to hide the "Problems playing this file? See media help." text at the bottom of the template. Must not be done on the first instance of the template; optional on subsequent instances of the template.

Zgled
no
Vrsticaneobvezno
Positionpos

Enter "left" or "center" here to change the default position of the template from on the right.

Predlagane vrednosti
left center right
Privzeto
right
Zgled
left
Vrsticaneobvezno
Plain style?plain

Enter "yes" here to remove most of the ornamentation (border, background, icon and help text) and the float/positioning of the template to give a minimalist version, allowing the user to use the custom CSS ("style") parameter to style and position the template.

Zgled
yes
Vrsticaneobvezno
Optimise for embedding?embed

Enter any text here to remove the left, right and bottom border, the background, the icon, the help text and the padding of the template for use in an infobox.

Zgled
y
Vrsticaneobvezno
Custom CSSstyle

Custom CSS for the template

Zgled
float:none; clear:none
Vsebinaneobvezno

See also

uredi

prikaži · pogovor · uredi · zgodovina

  • {{Poslušaj}} – loči avdioposnetek od glavnega besedila
    • {{Listen image}} – loči avdioposnetek in spremljajočo sliko od glavnega besedila
  • {{Avdio}} – za znotrajvrstične zvoke, kot so izgovajave (s povezavo na pomoč)
    • {{Avdio-IPA}} – različica te predloge za uporabo z notacijo mednarodne fonetične abecede
    • {{Izgovarjava}} – bližnjica za {{small|{{Audio|soundfile.ogg|pronunciation}}}}
    • {{Audio-nohelp}} – brez povezave na pomoč
  • {{Spoken Wikipedia}} – za povezovanje govorjenih različic člankov Wikipedije
  • {{Poslušanja začetek}}, {{Poslušanja predmet}} in {{Poslušanja konec}} – uporablja se za navedbo več avdio datotek v istem polju
  • {{Audio icon}} – doda samo majhno ikono brez povezav
  • {{Avdio-znotrajvrstično}} – doda obvestilo s povezavo na Wikipedija:Pomoč za predstavnostne vsebine
Zgornja dokumentacija je vključena od Predloga:Poslušaj/dok. (uredi | zgodovina)
Urejevalci lahko eksperimentirajo v peskovnik (uredi | razl) in testniprimeri (uredi) straneh te predloge.
Prosimo dodajte kategorije v /dok podstran. Podstran tega predloga.
Pridobljeno iz »https://sl.wikipedia.org/w/index.php?title=Predloga:Poslušaj&oldid=5916285«
Zadnja sprememba: 17. februar 2023, ob 03:56

Jeziki

    • አማርኛ
    • العربية
    • الدارجة
    • مصرى
    • অসমীয়া
    • Asturianu
    • Авар
    • Azərbaycanca
    • تۆرکجه
    • Башҡортса
    • Basa Bali
    • Boarisch
    • Bikol Central
    • Беларуская
    • Беларуская (тарашкевіца)
    • Betawi
    • Български
    • भोजपुरी
    • বাংলা
    • Brezhoneg
    • Bosanski
    • Batak Mandailing
    • Català
    • Chavacano de Zamboanga
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Нохчийн
    • Cebuano
    • کوردی
    • Čeština
    • Словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ
    • Чӑвашла
    • Cymraeg
    • Dansk
    • Deutsch
    • Emiliàn e rumagnòl
    • English
    • Esperanto
    • Español
    • Eesti
    • Euskara
    • فارسی
    • Suomi
    • Føroyskt
    • Français
    • Frysk
    • 贛語
    • Galego
    • ગુજરાતી
    • Gaelg
    • Hausa
    • 客家語 / Hak-kâ-ngî
    • עברית
    • हिन्दी
    • Hornjoserbsce
    • Magyar
    • Հայերեն
    • Interlingua
    • Jaku Iban
    • Bahasa Indonesia
    • Ilokano
    • Íslenska
    • Italiano
    • 日本語
    • Jawa
    • ქართული
    • Taqbaylit
    • Қазақша
    • 한국어
    • Kurdî
    • Latina
    • ລາວ
    • Lietuvių
    • Latviešu
    • मैथिली
    • Basa Banyumasan
    • Minangkabau
    • Македонски
    • Монгол
    • ဘာသာမန်
    • मराठी
    • Bahasa Melayu
    • Malti
    • Эрзянь
    • नेपाली
    • Nederlands
    • Norsk nynorsk
    • Norsk bokmål
    • Occitan
    • ଓଡ଼ିଆ
    • Pangasinan
    • Polski
    • پښتو
    • Português
    • Runa Simi
    • Română
    • Tarandíne
    • Русский
    • Русиньскый
    • संस्कृतम्
    • Саха тыла
    • Scots
    • سنڌي
    • Srpskohrvatski / српскохрватски
    • တႆး
    • සිංහල
    • Simple English
    • Slovenčina
    • Soomaaliga
    • Shqip
    • Српски / srpski
    • Svenska
    • ꠍꠤꠟꠐꠤ
    • தமிழ்
    • Тоҷикӣ
    • ไทย
    • Tagalog
    • Türkçe
    • Татарча / tatarça
    • Українська
    • اردو
    • Oʻzbekcha / ўзбекча
    • Vèneto
    • Vepsän kel’
    • Tiếng Việt
    • 吴语
    • ייִדיש
    • ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ
    • 中文
    • 文言
    • 閩南語 / Bân-lâm-gú
    • 粵語
    • IsiZulu
    Wikipedija
    • Wikimedia Foundation
    • Powered by MediaWiki
    • Čas zadnje spremembe strani: 03:56, 17. februar 2023.
    • Vsebina je na voljo pod licenco CC BY-SA 4.0, razen če je navedeno drugače.
    • Pravilnik o zasebnosti
    • O Wikipediji
    • Zavrnitve odgovornosti
    • Kodeks ravnanja
    • Razvijalci
    • Statistika
    • O piškotkih
    • Pogoji uporabe
    • Namizno