Difference between revisions of "Template:Sidebar bottom image"
(Transport form zh.moegirl.org.cn 侧边栏底图 to replace the old version built in 28th June 2016) |
(Instruction) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#Widget:SideBarPic}}<div class="nomobile sidebar-character" data-align="{{{align|bottom}}}" style="width:{{{width|auto}}};{{#if:{{{bottom|}}}|margin-{{{align|bottom}}}:{{{bottom}}};}}{{#if:{{{left|}}}|margin-left:{{{left}}};}}{{#if:{{{transform|}}}|transform:{{{transform}}};}}"><img data-src="{{#if:{{filepath:{{#titleparts:{{PAGENAME:{{{1|{{{url|}}}}}}}}}}}}|{{filepath:{{#titleparts:{{PAGENAME:{{{1|{{{url|}}}}}}}}}}}}|{{{1|{{{url|}}}}}}}}"></div>{{ArticleCategory|Item with sidebar bottom image}}</includeonly> | + | <includeonly>{{#Widget:SideBarPic}}<div class="nomobile sidebar-character" data-align="{{{align|bottom}}}" style="width:{{{width|auto}}};{{#if:{{{bottom|}}}|margin-{{{align|bottom}}}:{{{bottom}}};}}{{#if:{{{left|}}}|margin-left:{{{left}}};}}{{#if:{{{transform|}}}|transform:{{{transform}}};}}"><img data-src="{{#if:{{filepath:{{#titleparts:{{PAGENAME:{{{1|{{{url|}}}}}}}}}}}}|{{filepath:{{#titleparts:{{PAGENAME:{{{1|{{{url|}}}}}}}}}}}}|{{{1|{{{url|}}}}}}}}"></div>{{ArticleCategory|Item with sidebar bottom image}}</includeonly><noinclude>{{doc}}</noinclude> |
− | <noinclude> | ||
− | |||
− | |||
− | </noinclude> |
Latest revision as of 18:12, 2 January 2021
This is a new version to replace the old version Template:替换侧边栏底图 which has been built in June 2016.
It is confirmed that the old version isn't useful anymore and has made bug.
You can also use Template:bottom img to replace this template, they are equivalent.
detail
{{bottom img |url =image name. (It can be an internal picture or an external picture. Unnecessary to add the prefix "File:" if it's an internal picture.) |align =Position of image. (The default value is 'bottom', you can fill 'top' or 'bottom'.) |bottom =Distance between image and the bottom or top border. (Optional, the default value is 0px, the unit can be 'px' or '%') |left =Distance between image and the left border. (Optional, the default value is -3px, the unit can be 'px' or '%') |width =Width of the image. (Optional, the default value is 'auto', the unit can be 'px' or '%') |transform =Deform the image. We don't suggest fresh men to use this function. }}