模板:替换侧边栏底图:修订间差异
跳转到导航
跳转到搜索
小无编辑摘要 |
Imfrankliu(留言 | 贡献) 无编辑摘要 |
||
第31行: | 第31行: | ||
}} | }} | ||
}} | }} | ||
}}{{#Widget:SideBarPic}}}}<img src="{{#ifexist:file:{{#var:URL}}|{{filepath:{{#var:URL}}|}}|{{#var:URL}}|}}" id="sidebar-character" class="nomobile" style="width:{{{width|auto}}};{{#if:{{{bottom|}}}|margin-bottom:{{{bottom}}};}}{{#if:{{{left|}}}|margin-left:{{{left}}};}}" / | }}{{#Widget:SideBarPic}}}}<img src="{{#ifexist:file:{{#var:URL}}|{{filepath:{{#var:URL}}|}}|{{#var:URL}}|}}" id="sidebar-character" class="nomobile" style="width:{{{width|auto}}};{{#if:{{{bottom|}}}|margin-bottom:{{{bottom}}};}}{{#if:{{{left|}}}|margin-left:{{{left}}};}}" /> | ||
--> | --> | ||
<noinclude> | |||
== 使用方式 == | == 使用方式 == | ||
直接把以下内容复制入用户页中就可使用 | 直接把以下内容复制入用户页中就可使用 |
2016年6月15日 (三) 10:17的最新版本
使用方式[编辑源代码]
直接把以下内容复制入用户页中就可使用
{{替换侧边栏底图 |url= }}
说明:
{{替换侧边栏底图 |url=替换的Logo地址 |bottom=图片与底部边框的距离。(选填,默认为 0px) |left=图片与左侧边框的距离。(选填,默认为 -3px) |width=图片宽度(选填,默认auto) }}
注意:如果不填入Logo的地址,则该模板无效。