welcome: please sign in

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

location: 帮助-宏 / EmbedObject

EmbedObject

这个宏可以在维基网页内嵌入对象。对象大小可以调整。而其他关键词参数取决于应用对象的类型。

如果附件还没有上传,则显示上传附件的提示信息。

语法

<<EmbedObject(attachment[,width=width][,height=heigt])>>

支持的 mime 类型

参数

attachment: image name of attachment

关键词参数

width: 内嵌图片的宽度,默认为 100% 
height: 内嵌图片的高度,默认为 100%
    application/x-shockwave-flash:
        play: 默认为 true
        loop: 默认为 true
        quality: 默认为 high (medium,low)

示例

<<EmbedObject>>
<<EmbedObject(example.swf)>>
<<EmbedObject(example.swf,width=637,height=392)>>
<<EmbedObject(SlideShow/example.swf,width=637,height=392)>>
<<EmbedObject(SlideShow/example.swf,width=637,height=392,play=false)>>
<<EmbedObject(SlideShow/example.swf,width=637,height=392,play=false,loop=false)>>
<<EmbedObject(SlideShow/example.swf,width=637,height=392,play=false,quality=low)>>