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

来自Ballance Wiki
跳转至: 导航搜索
(update style)
 
(未显示同一用户的6个中间版本)
第3行: 第3行:
 
__NOTOC__
 
__NOTOC__
  
{{Infobox
+
{{Mapbox
|headerstyle= background:#ccf;
+
|position={{{position}}}
|labelstyle= background:#ddf;
+
|language={{{language}}}
|bodystyle=float:{{{position}}}
 
  
|above={{{name}}}
+
|name={{{name}}}
|image=[[File:{{{screenshot}}}|thumb|200px]]
+
|screenshot={{{screenshot}}}
|caption={{{screenshotDesc}}}
+
|screenshotDesc={{{screenshotDesc}}}
  
|header1=Basic infomation
+
|originalName={{{originalName}}}
|label2=Original name
+
|author={{{author}}}
|data2={{{originalName}}}
+
|section={{{section}}}
|label3=Author
 
|data3={{{author}}}
 
|label4=Release date
 
|data4={{{data}}}
 
|label5=Section count
 
|data5={{{section}}}
 
  
|header6=Expanded information
+
|dateYear={{{dateYear}}}
|label7=Authorization type
+
|dateMonth={{{dateMonth}}}
|data7={{{type}}}
+
|dateDay={{{dateDay}}}
|label8=Suitable for
 
|data8={{{suit}}}
 
|label9=Included in Map Package
 
|data9{{{mapPackage}}}
 
|label10=Records supported by
 
|data10={{{record}}}
 
  
 +
|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;">
第42行: 第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;">
第49行: 第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;">
第56行: 第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;">
第63行: 第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;">
<gallery mode="packed-hover">
+
{{{gallery}}}
{{{galleryContent}}}
 
</gallery>
 
 
</div>
 
</div>
  
 
</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>