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

来自Ballance Wiki
跳转至: 导航搜索
(update style)
第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}}}
 +
 
 +
|dateFormat={{{dateFormat}}}
 +
|date={{{date}}}
 +
 
 +
|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}}} | eng=Summary | zho= 概述 | 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行: 第34行:
  
 
<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}}} | eng=Download| zho= 下载 | 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行: 第43行:
  
 
<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}}} | eng=Videos| zho= 视频 | 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行: 第52行:
  
 
<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}}} | eng=Comments| zho=评论 | 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行: 第61行:
  
 
<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}}} | eng=Screenshots gallery| zho=截图画廊 | 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行: 第70行:
  
 
</div>
 
</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>

2018年7月13日 (五) 15:56的版本


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

|dateFormat=
|date=

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