Welcome to IOPWiki, Commander.
We are searching for new editors to keep track of Girls' Frontline 2 content, as well as veteran players to complete existing Girls' Frontline and Project Neural Cloud articles.
You can contribute without an account. Learn how to contribute and join our Discord server.

Template:ContentBG: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
Pianoforte (talk | contribs)
Created page with "{{#if:{{{url|}}}|{{#vardefine:URL |{{#if:{{#switch: {{Str_rightc|{{{url}}}|5}} |file: |File: = true }} |{{Str_crop|{{{url}}}|5}} |{..."
 
Pianoforte (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if:{{{url|}}}|{{#vardefine:URL
{{#Widget:SideBarPic}}<img src="{{#ifexist:file:{{{url}}}|{{filepath:{{{url}}}|}}|{{{url}}}|}}" id="sidebar-character" class="nomobile" style="width:{{{width|auto}}};{{#if:{{{bottom|}}}|margin-bottom:{{{bottom}}};}}{{#if:{{{left|}}}|margin-left:{{{left}}};}}" /><noinclude>设立这个模板的目的是为了不让移动版用户在访问替换了侧边栏底图的页面时底图影响阅读。
  |{{#if:{{#switch: {{Str_rightc|{{{url}}}|5}}
          |file:
          |File:
          = true }}
    |{{Str_crop|{{{url}}}|5}}
    |{{#ifeq: {{Str_rightc|{{{url}}}|3}}
      |文件:
      | {{Str_crop|{{{url}}}|3}}
      | {{{url}}}
      }}
  }}
}}{{#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}}};}}" />{{#ifeq:{{NAMESPACE}}||[[分类:侧边栏有彩蛋的条目]]|}}<noinclude>设立这个模板的目的是为了不让移动版用户在访问替换了侧边栏底图的页面时底图影响阅读。
== 使用方式 ==
== 使用方式 ==
直接把以下内容复制入用户页中就可使用
直接把以下内容复制入用户页中就可使用

Latest revision as of 04:42, 26 August 2016

<img src="{{{url}}}" id="sidebar-character" class="nomobile" style="width:auto;" />设立这个模板的目的是为了不让移动版用户在访问替换了侧边栏底图的页面时底图影响阅读。

使用方式[edit]

直接把以下内容复制入用户页中就可使用

{{替换侧边栏底图
|url=
}}

说明:

{{替换侧边栏底图
|url=替换的Logo地址
|bottom=图片与底部边框的距离。(选填,默认为 0px,单位可选px或%)
|left=图片与左侧边框的距离。(选填,默认为 -3px,单位可选px或%)
|width=图片宽度(选填,默认auto,单位可选px或%)
}}

Template:color

Template:color

分类:影响页面内容的模板