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

来自Ballance Wiki
跳转至: 导航搜索
(update style)
 
(未显示同一用户的2个中间版本)
第3行: 第3行:
 
__NOTOC__
 
__NOTOC__
  
{{Mapbox|position={{{position}}}|name={{{name}}}|screenshot={{{screenshot}}}|screenshotDesc={{{screenshotDesc}}}|originalName={{{originalName}}}
+
{{Mapbox
|author={{{author}}}|date={{{date}}}|section={{{section}}}|type={{{type}}}|suit={{{suit}}}|mapPackage={{{mapPackage}}}|record={{{record}}}
+
|position={{{position}}}
 +
|language={{{language}}}
 +
 
 +
|name={{{name}}}
 +
|screenshot={{{screenshot}}}
 +
|screenshotDesc={{{screenshotDesc}}}
 +
 
 +
|originalName={{{originalName}}}
 +
|author={{{author}}}
 +
|section={{{section}}}
 +
 
 +
|dateYear={{{dateYear}}}
 +
|dateMonth={{{dateMonth}}}
 +
|dateDay={{{dateDay}}}
 +
 
 +
|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;">
 
<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>Summary</span>
+
<span>
 +
{{#switch: {{{language}}} | en=Summary | zh= 概述 | Summary}}
 +
</span>
 
</h2>
 
</h2>
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
第15行: 第35行:
  
 
<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;">
 
<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>Download</span>
+
<span>
 +
{{#switch: {{{language}}} | en=Download| zh= 下载 | Download}}
 +
</span>
 
</h2>
 
</h2>
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
第22行: 第44行:
  
 
<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;">
 
<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>Videos</span>
+
<span>
 +
{{#switch: {{{language}}} | en=Videos| zh= 视频 | Videos}}
 +
</span>
 
</h2>
 
</h2>
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
第29行: 第53行:
  
 
<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;">
 
<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>Comments</span>
+
<span>
 +
{{#switch: {{{language}}} | en=Comments| zh=评论 | Comments}}
 +
</span>
 
</h2>
 
</h2>
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
第36行: 第62行:
  
 
<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;">
 
<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>Screenshots gallery</span>
+
<span>
 +
{{#switch: {{{language}}} | en=Screenshots gallery| zh=截图画廊 | Screenshots gallery}}
 +
</span>
 
</h2>
 
</h2>
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
 
<div style="margin:0.5em;padding:0.2em 0.4em;">
第43行: 第71行:
  
 
</div>
 
</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>

2018年7月16日 (一) 23:43的最新版本


{{{name}}}
[[File:{{{screenshot}}}|200px]]
{{{screenshotDesc}}}
Basic infomation
Original name {{{originalName}}}
Author {{{author}}}
Release date {{{date}}}
Section count {{{section}}}
Expanded information
Authorization type {{{type}}}
Suitable for {{{suit}}}
Included in Map Package {{{mapPackage}}}
Records supported by {{{record}}}

Summary

{{{summary}}}

Download

{{{download}}}

Videos

{{{videos}}}

Comments

{{{comments}}}

Screenshots gallery

{{{gallery}}}



Grammer

{{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=
}}

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 <gallery> to create a gallery.

Suck as:

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