Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FlashEmbed: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
<templatestyles src="Template:FlashEmbed/styles.css" />
<templatestyles src="Template:FlashEmbed/styles.css" />


<htmltag tagname="div" class="flash-embed-container">
<htmltag tagname="script"  
  <htmltag tagname="object"  
    src="/index.php?title=MediaWiki:RuffleLoader.js&amp;action=raw&amp;ctype=text/javascript">
      type="application/x-shockwave-flash"  
</htmltag>
      data="{{{url}}}"  
 
      width="{{{width|600}}}"  
<htmltag tagname="object"  
      height="{{{height|400}}}"  
    type="application/x-shockwave-flash"  
      style="display:block; margin-left:auto; margin-right:auto;">
    data="{{{url}}}"  
    <htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" />
    width="{{{width|600}}}"  
    <htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" />
    height="{{{height|400}}}"  
  </htmltag>
    style="display:block; margin-left:auto; margin-right:auto;">
  <htmltag tagname="param" name="movie" value="{{{url}}}" selfclose="true" />
  <htmltag tagname="param" name="allowScriptAccess" value="never" selfclose="true" />
</htmltag>
</htmltag>


</includeonly>
</includeonly>
<noinclude>
Usage:
<pre>{{FlashEmbed|url=https://example.com/yourgame.swf|width=640|height=480}}</pre>
edit JS - https://www.gamebrew.org/wiki/MediaWiki:RuffleLoader.js
edit css - https://www.gamebrew.org/wiki/Template:FlashEmbed/styles.css
</noinclude>

Latest revision as of 15:14, 18 May 2025


Usage:

{{FlashEmbed|url=https://example.com/yourgame.swf|width=640|height=480}}

edit JS - https://www.gamebrew.org/wiki/MediaWiki:RuffleLoader.js edit css - https://www.gamebrew.org/wiki/Template:FlashEmbed/styles.css

Advertising: