Difference between revisions of "Template:Html5media"

From Hackerspace ACKspace
Jump to: navigation, search
(create first template draft for file testing)
 
m (added width and height parameter)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if: {{filepath:{{{1}}}}} | yes | no}}
+
{{#if: {{filepath:{{{1}}}}} | <div style="display:inline-block">
 +
{{#widget:Html5media
 +
|url={{filepath:{{{1}}}}}
 +
|width={{{width|320}}}
 +
|height={{{height|193}}}
 +
}}</div> | media does not exist, please [[Media:{{{1}}}|upload it]] }}

Latest revision as of 16:19, 13 November 2017

media does not exist, please [[Media:{{{1}}}|upload it]]