Changes

From The TTSCpedia
Jump to navigationJump to search
m
no edit summary
Line 39: Line 39:  
* '''filename''' ''(Required)'': the pagename of the media file, ''without'' the File: (formerly Image:) prefix
 
* '''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.
 
* '''title''' ''(Required)'': the title of the audio file, to be displayed.
* '''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 <code>.ogv</code> 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.
+
* '''alt''': alt text for the image displayed for the file, for visually impaired readers; see ''[[Wikipedia:Wikipedia:Alternative text for images]]''. This is needed for file formats such as [[Wikipedia:Ogg]]'s <code>.ogv</code> 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
 
* '''description''': a description of the audio file
   Line 48: Line 48:  
* '''help''': if set to {{para|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.
 
* '''help''': if set to {{para|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.
 
* '''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. E.g. {{nowrap|{{para|image|<nowiki>[[File:Example.jps|50px]]</nowiki>}}}}. You can set {{para|image|none}} to disable the image entirely.
+
* '''image''': define a different image. E.g. {{nowrap|{{para|image|<nowiki>[[Wikipedia:File:Example.jps|50px]]</nowiki>}}}}. You can set {{para|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.
 
* '''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 {{para|play|no}} to prevent the broken inline link from displaying.
 
* '''play''': some media files cannot be displayed inline; if this is the case set {{para|play|no}} to prevent the broken inline link from displaying.
Line 73: Line 73:  
'''With video'''
 
'''With video'''
 
{{Listen
 
{{Listen
| image      = [[File:Crystal Project video camera.png|50px]]
+
| image      = [[Wikipedia:File:Crystal Project video camera.png|50px]]
 
| help        = no
 
| help        = no
| filename    = Barack Obama inaugural address.ogv
+
| filename    = Wikipedia: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.
 
| 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
 
| title      = Inaugural address of Barack Obama
| description = Barack Obama's [[First inauguration of Barack Obama|first inaugural address]], January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
+
| description = Barack Obama's [[Wikipedia:First inauguration of Barack Obama|first inaugural address]], January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
 
}}
 
}}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Listen
 
{{Listen
| image      = [[File:Crystal Project video camera.png|50px]]
+
| image      = [[Wikipedia:File:Crystal Project video camera.png|50px]]
 
| help        = no
 
| help        = no
| filename    = Barack Obama inaugural address.ogv
+
| filename    = Wikipedia: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.
 
| 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
 
| title      = Inaugural address of Barack Obama
| description = Barack Obama's [[First inauguration of Barack Obama|first inaugural address]], January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
+
| description = Barack Obama's [[Wikipedia:First inauguration of Barack Obama|first inaugural address]], January 20, 2009<br />(Duration: 21 minutes, 21 seconds)
 
}}
 
}}
 
</pre>
 
</pre>
Line 200: Line 200:  
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
}}<!--(end #ifeq)--></includeonly>
 
}}<!--(end #ifeq)--></includeonly>
  −
{{Film- and television-related infobox templates}}
 

Navigation menu