“模板:ImageBox”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
2个标签移动版编辑移动网页编辑
 
(未显示同一用户的2个中间版本)
第5行: 第5行:
  
 
|above={{{name}}}
 
|above={{{name}}}
|image=[[File:{{{screenshot}}}|200px]]
+
|image=[[File:{{{screenshot}}}|{{{width}}}px]]
 
|caption={{{screenshotDesc}}}
 
|caption={{{screenshotDesc}}}
 
}}
 
}}
</div>
+
</div><noinclude>
 
 
<noinclude>
 
  
 
== Grammer ==
 
== Grammer ==
  
 
<pre>
 
<pre>
{{Mapbox
+
{{ImageBox
 
|position=
 
|position=
|language=
 
  
 
|name=
 
|name=
 
|screenshot=
 
|screenshot=
 +
|width=
 
|screenshotDesc=
 
|screenshotDesc=
 +
}}
 
</pre>
 
</pre>
  
第32行: 第31行:
 
=== screenshot ===
 
=== screenshot ===
  
You only need to input file name, since we defined each pictures to have the same size.
+
You need to input file name and preferred width (pixels).
  
 
== Help ==
 
== Help ==

2019年8月14日 (三) 17:16的最新版本

{{{name}}}
[[File:{{{screenshot}}}|{{{width}}}px]]
{{{screenshotDesc}}}

Grammer

{{ImageBox
|position=

|name=
|screenshot=
|width=
|screenshotDesc=
}}

Important parameters' description

position

Support left or right. Determine the position of infobox.

screenshot

You need to input file name and preferred width (pixels).

Help

If you still have problems about using this template, you can see some example in Mapping page.