跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
帮助
百科公告
编辑帮助
测试沙盒
快速入门
格式规范
分类索引
电影
小说
游戏
项目
语言
语言链接位于页面顶部,标题的另一侧。
DragonWiki翼爪维基
搜索
搜索
中文(中国大陆)
登录
个人工具
登录
愿飞龙常入你梦乡!
欢迎来到DragonWiki翼爪维基 - 关于龙的百科全书!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
DragonWiki翼爪维基委员会企鹅群:930677471
我们正在招募百科编辑者,有兴趣的编辑者可以进群了解
查看“微件:SVG”的源代码
微件
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
←
微件:SVG
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您没有权限编辑
微件
命名空间内的页面。
您可以查看和复制此页面的源代码。
<noinclude>__NOTOC__ 此小部件允许在页面上嵌入矢量图形图像。 Written by [[User:DSquirrelGM|DSquirrelGM]]. =Usage= Refer to the SVG specification for the use of these attributes: width, height, viewBox, preserveAspectRatio, x, y, version {| |- | ''width'' || || horizontal image size || || 100% |- | ''height'' || || vertical image size || || 100% |- | ''version'' || || specification version || || 1.1 |- | ''x'' || || horizontal origin (ignored on top level element) || || 0 |- | ''y'' || || vertical origin (ignored on top level element) || || 0 |- | ''preserveAspectRatio'' || || Aspect ratio adjustment || || xMidYMid meet |- | ''viewBox'' || || viewport extents || || 0 0 100% 100% |- | ''content'' || || SVG markup to be embedded |- | ''url'' || || (set a value to use url() scheme instead of img tag) |} </noinclude><includeonly><!--{if (empty($url))}--><!--{'<img src="data:image/svg+xml,'|cat:(('<svg xmlns="http://www.w3.org/2000/svg" version="'|cat:($version|strip_tags|regex_replace:"/\x22/":""|default:'1.1')|cat:'" viewBox="'|cat:($viewBox|strip_tags|regex_replace:"/\x22/":""|default:'0 0 100% 100%')|cat:'" preserveAspectRatio="'|cat:($preserveAspectRatio|strip_tags|regex_replace:"/\x22+/":""|default:'xMidYMid meet')|cat:'" x="'|cat:($x|strip_tags|regex_replace:"/\x22+/":""|default:'0')|cat:'" y="'|cat:($y|strip_tags|regex_replace:"/\x22+/":""|default:'0')|cat:'" width="'|cat:($width|strip_tags|regex_replace:"/\x22+/":""|default:'100%')|cat:'" height="'|cat:($height|strip_tags|regex_replace:'/\x22/':""|default:'100%')|cat:'"'|cat:'>'|cat:($content|regex_replace:"/<SCRIPT/i":"<text"|regex_replace:"/<\/SCRIPT/i":"</text"|regex_replace:"/<SVG/i":"<g"|regex_replace:"/<\/SVG/i":"</g"|replace:'load=':'='|default:'')|cat:'</svg>')|escape:'url')|cat:'" />'}--><!--{else}--><!--{'url(data:image/svg+xml,'|cat:(('<svg xmlns="http://www.w3.org/2000/svg" '|cat:' version="'|cat:($version|strip_tags|regex_replace:"/\x22+/":""|default:'1.1')|cat:'" viewBox="'|cat:($viewBox|strip_tags|regex_replace:"/\x22+/":""|default:'0 0 100% 100%')|cat:'" preserveAspectRatio="'|cat:($preserveAspectRatio|strip_tags|regex_replace:"/\x22+/":""|default:'xMidYMid meet')|cat:'" x="'|cat:($x|strip_tags|regex_replace:"/\x22+/":""|default:'0')|cat:'" y="'|cat:($y|strip_tags|regex_replace:"/\x22+/":""|default:'0')|cat:'" width="'|cat:($width|strip_tags|regex_replace:"/\x22+/":""|default:'100%')|cat:'" height="'|cat:($height|strip_tags|regex_replace:"/\x22+/":""|default:'100%')|cat:'"'|cat:'>'|cat:($content|regex_replace:"/<SCRIPT/i":"<text"|regex_replace:"/<\/SCRIPT/i":"</text"|regex_replace:"/<SVG/i":"<g"|replace:"/<\/SVG/i":"</g"|replace:'load=':'='|default:'')|cat:'</svg>')|escape:'url')|cat:')'}--><!--{/if}--> </includeonly>
返回
微件:SVG
。
开关有限宽度模式