Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Incubator escapee wiki:Extended image syntax
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Video files== To display a video as uploaded with a caption use <code><nowiki>[[File:First flights in aviation history.ogg|frame|none|Caption text]]</nowiki></code>. [[File:First flights in aviation history.ogg|frame|none|Caption text]] === Initial still image=== "<code>|thumbtime='''Time'''</code>". Use the frame from the video at the given time as the initial still image. '''Time''' is either a number of seconds, or hours, minutes and seconds separated by colons. Without a thumbtime parameter, a frame from the midpoint of the video is used by default. For instance, using the same video file as previously: {| |- |valign="top"|[[File:First flights in aviation history.ogg|thumb|thumbtime=21|Man in suit tie and hat at 21 seconds. Time syntax using seconds only: "21".]] |- |valign="top"|[[File:First flights in aviation history.ogg|thumb|thumbtime=0:23|Monoplane seen at 23 seconds. Time syntax using minutes and seconds: "0:23".]] |- |valign="top"|[[File:First flights in aviation history.ogg|thumb|thumbtime=0:0:33|Landed biplane seen at 33 seconds. Time syntax using hours, minutes and seconds: "0:0:33".]] |} ===Temporal media fragments=== [[File:Weeding.ogv|thumb|upright=1.3|start=5|end=7|Starts at 5 seconds and ends playback at 7 seconds]] This syntax allows you to play a segment of the video stream or set a start time. Hover over the player to see start time listed as 5s, press play and notice it stops playback at 7 seconds. : <code><nowiki>[[File:Weeding.ogv|thumb|upright=1.3|start=5|end=7|Starts at 5 seconds and ends playback at 7 seconds]]</nowiki></code> '''Note:''' This is not yet supported by Safari and Internet Explorer. ===Displaying small videos larger=== To display a video larger than its uploaded size use "'''<code>|thumb</code>'''" and "'''<code>|''number''px</code>'''". This may be useful if the original video is very small but shows some important but small detail, but note that upscaling may create unexpected scaling artifacts. For example, the code <code><nowiki>[[File:cal16x16check_vdnocnoafr1len2.avi.q10.ogv|inline|left]] [[File:cal16x16check_vdnocnoafr1len2.avi.q10.ogv|right|thumb|128px]]</nowiki></code> : displays the 16 pixels wide video at its original size on the left and eight times wider at the right (the squares should be all black or all white and the edges should be sharp — any blurriness or off-white colour is likely due to the browser or the Wikimedia server rendering): {|align="center" width="80%" |[[File:cal16x16check_vdnocnoafr1len2.avi.q10.ogv|inline|left]] [[File:cal16x16check_vdnocnoafr1len2.avi.q10.ogv|right|thumb|128px]] |} ===Thumbtime in a gallery=== The ''thumbtime'' parameter can also be used inside a gallery (either with [[Help:Gallery tag|<gallery> tags]] or the {{tl|Gallery}} template): <gallery> File:First flights in aviation history.ogg|thumbtime=21|Man in suit tie and hat at 21 seconds. File:First flights in aviation history.ogg|thumbtime=0:23|Monoplane seen at 23 seconds. </gallery> Here is the wikicode that created it: <pre><gallery> File:First flights in aviation history.ogg|thumbtime=21|Man in suit tie and hat at 21 seconds. File:First flights in aviation history.ogg|thumbtime=0:23|Monoplane seen at 23 seconds. </gallery></pre>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)