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

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
2个标签移动版编辑移动网页编辑
第5行: 第5行:
  
 
|above={{{name}}}
 
|above={{{name}}}
|image=[[File:{{{screenshot}}}|200px]]
+
|image=[[File:{{{screenshot}}}|{{{width}}}px]]
 
|caption={{{screenshotDesc}}}
 
|caption={{{screenshotDesc}}}
 
}}
 
}}
第15行: 第15行:
  
 
<pre>
 
<pre>
{{Mapbox
+
{{ImageBox
 
|position=
 
|position=
 
|language=
 
|language=
第21行: 第21行:
 
|name=
 
|name=
 
|screenshot=
 
|screenshot=
 +
|width=
 
|screenshotDesc=
 
|screenshotDesc=
 +
}}
 
</pre>
 
</pre>
  
第32行: 第34行:
 
=== 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年6月21日 (五) 18:05的版本

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


Grammer

{{ImageBox
|position=
|language=

|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.