打开主菜单

Ballance Wiki β

更改

模板:Map

添加1,351字节2018年7月13日 (五) 15:56
update style
__NOTOC__
{{Mapbox|position={{{position}}}|language={{{language}}} |name={{{name}}}|screenshot={{{screenshot}}}|screenshotDesc={{{screenshotDesc}}} |originalName={{{originalName}}}|author={{{author}}}|datesection={{{section}}} |dateFormat={{{datedateFormat}}}|sectiondate={{{sectiondate}}} |type={{{type}}}|suit={{{suit}}}|mapPackage={{{mapPackage}}}|record={{{record}}}
}}
<h2 id="mp-tfa-h2" style="margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">
<span>{{#switch: {{{language}}} | eng=Summary| zho= 概述 | Summary}}</span>
</h2>
<div style="margin:0.5em;padding:0.2em 0.4em;">
<h2 id="mp-tfa-h2" style="margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">
<span>{{#switch: {{{language}}} | eng=Download| zho= 下载 | Download}}</span>
</h2>
<div style="margin:0.5em;padding:0.2em 0.4em;">
<h2 id="mp-tfa-h2" style="margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">
<span>{{#switch: {{{language}}} | eng=Videos| zho= 视频 | Videos}}</span>
</h2>
<div style="margin:0.5em;padding:0.2em 0.4em;">
<h2 id="mp-tfa-h2" style="margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">
<span>{{#switch: {{{language}}} | eng=Comments| zho=评论 | Comments}}</span>
</h2>
<div style="margin:0.5em;padding:0.2em 0.4em;">
<h2 id="mp-tfa-h2" style="margin:0.5em; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; color:#000; padding:0.2em 0.4em;">
<span>{{#switch: {{{language}}} | eng=Screenshots gallery| zho=截图画廊 | Screenshots gallery}}</span>
</h2>
<div style="margin:0.5em;padding:0.2em 0.4em;">
</div>
 
 
<noinclude>
 
== Grammer ==
 
<pre>
{{Map
<!-- Mapbox's parameters-->
|position=
|language=
 
|name=
|screenshot=
|screenshotDesc=
 
|originalName=
|author=
|section=
 
|dateFormat=
|date=
 
|type=
|suit=
|mapPackage=
|record=
 
<!-- Map's parameters-->
|summary=
|download=
|video=
|comments=
|gallery=
}}
</pre>
 
== Important parameters' description ==
 
Some parameters is Mapbox's parameter. Please check it on [[Template:Mapbox]].
 
=== download && video ===
 
Don't insert any embed video!
 
Don't use list. Because some style bug might be displayed.
 
=== comments ===
 
Use [[Template:MapComments]] is necessary.
 
=== gallery ===
 
Please use <nowiki><gallery></nowiki> to create a gallery.
 
Suck as:
 
<pre>
<gallery>
File:Example.jpg|Item 1
File:Example.jpg|a link to [[Help:Contents]]
File:Example.jpg
File:Example.jpg|alt=An example image. It has flowers
File:Example.jpg|''italic caption''
Example.jpg|on page "{{PAGENAME}}"
File:Using Firefox.pdf|page=72
</gallery>
</pre>
 
</noinclude>
1,136
个编辑