更改

跳转至: 导航搜索

模板:Map

添加1,383字节2018年7月16日 (一) 23:43
update style
__NOTOC__
{{Mapbox|position={{{position}}}|language={{{language}}} |name={{{name}}}|screenshot={{{screenshot}}}|screenshotDesc={{{screenshotDesc}}} |originalName={{{originalName}}}|author={{{author}}}|section={{{section}}} |datedateYear={{{datedateYear}}}|sectiondateMonth={{{dateMonth}}}|dateDay={{{sectiondateDay}}} |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}}} | en=Summary| zh= 概述 | 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}}} | en=Download| zh= 下载 | 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}}} | en=Videos| zh= 视频 | 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}}} | en=Comments| zh=评论 | 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}}} | en=Screenshots gallery| zh=截图画廊 | 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=
 
|dateYear=
|dateMonth=
|dateDay=
 
|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,132
个编辑

导航菜单