Template:Audio: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "<noinclude> Usage: <nowiki>{{Audio|mp3=http://url.to/mp3}}</nowiki> </noinclude> <includeonly> {{#Widget:Audio|mp3={{{mp3}}}|ogg={{{ogg}}} }} </includeonly>")
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Usage:
Examples:


   <nowiki>{{Audio|mp3=http://url.to/mp3}}</nowiki>
   <nowiki>{{Audio|mp3=http://url.to/mp3}}</nowiki>
  <nowiki>{{Audio|ogg=http://url.to/ogg|mp3=http://url.to/mp3|style=width: 100%;}}</nowiki>


</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#Widget:Audio|mp3={{{mp3}}}|ogg={{{ogg}}} }}
{{#Widget:Audio|mp3={{{mp3|}}}|ogg={{{ogg|}}}|style={{{style|}}} }}
</includeonly>
</includeonly>

Latest revision as of 11:49, 28 November 2017

Examples:

  {{Audio|mp3=http://url.to/mp3}}
  {{Audio|ogg=http://url.to/ogg|mp3=http://url.to/mp3|style=width: 100%;}}