打开主菜单

Ballance Wiki β

更改

模板:Mapbox/zh

添加2,766字节2018年7月13日 (五) 15:50
update style
|caption={{{screenshotDesc}}}
|header1={{#switch: {{{language}}} | eng=Basic infomation | zho=基本信息 | Basic infomation}}|label2={{#switch: {{{language}}} | eng=Original name | zho=源语言名 | Original name}}
|data2={{{originalName}}}
|label3={{#switch: {{{language}}} | eng=Author| zho=作者 | Author}}
|data3={{{author}}}
|label4={{#switch: {{{language}}} | eng=Release date | zho=发布时间 | Release date}}|data4={{#time: {{{dateFormat}}} | {{{date}}} | {{{language}}}}}|label5={{#switch: {{{language}}} | eng=Section count| zho=小节数 | Section count}}
|data5={{{section}}}
|header6={{#switch: {{{language}}} | eng=Expanded information| zho=拓展信息 | Expanded information}}|label7={{#switch: {{{language}}} | eng=Authorization type| zho=授权类型 | Authorization type}}|data7= {{#switch: {{{language}}} | eng= {{#switch: {{{type}}} | free=Free to use | Unknow}} | zho= {{#switch: {{{type}}} | free=免费使用 | 未知}} }}  |label8={{#switch: {{{language}}} | eng=Suitable for | zho=适用于 | Suitable for}}
|data8={{{suit}}}
|label9={{#switch: {{{language}}} | eng=Included in Map Package| zho=包含在地图包中 | Included in Map Package}}|data9= {{#ifeq: {{{mapPackage}}}| true|{{#switch: {{{language}}} | eng=Yes | zho= 是 | Yes}}|{{#switch: {{{language}}} | eng=No | zho= 否 | No}}}} |label10={{#switch: {{{language}}} | eng=Records supported by | zho=支持此地图的纪录认证者 | Records supported by}}|data10= {{#if: {{{record}}}|{{{record}}}|{{#switch: {{{language}}} | eng=None | zho= 无 | None}}}}
}}
</div>
 
<noinclude>
== Notice ==
 
<div style="color:red">
You should learn some necessary document before changing this template.
 
See https://www.mediawiki.org/w/index.php?title=Help:Extension:ParserFunctions to know #time and parameter <nowiki>{{{language}}}</nowiki>'s format.
 
Go to https://iso639-3.sil.org/code_tables/639/data to get ISO 639-3 code.
</div>
 
 
== Grammer ==
 
<nowiki>
{{Mapbox
|position=
|language=
 
|name=
|screenshot=
|screenshotDesc=
 
|originalName=
|author=
|section=
 
|dateFormat=
|date=
 
|type=
|suit=
|mapPackage=
|record=
}}
</nowiki>
 
== Important parameters' description ==
 
=== position ===
 
Support '''left''' or '''right'''. Determine the position of infobox.
 
=== language ===
 
Please use ISO 639-3 code.
 
* eng=English
* zho=Chinese
 
=== screenshot ===
 
You only need to input file name. Because we want to each pictures have the same size.
 
=== dataFormet && date ===
 
date id release data. dataFormet and date 's example can be seen at https://www.mediawiki.org/w/index.php?title=Help:Extension:ParserFunctions
 
=== type ===
 
type support '''free''' currently.
 
=== suit ===
 
Use quoto to devide each items. Don't use any specific language's words.
 
Correct: Ballance, Ballance Remix
 
Incorrect: Ballance and Ballance Remix
 
=== mapPackage ===
 
Inputting '''true''' or '''false''' is ok.
 
=== record ===
 
Follow suit's rule.
 
Additionally, If none of record certifiers support this map, keep it is blank.
 
== Help ==
 
If you still have problems about using this template, you can see some example in [[Mapping|Mapping page]].
 
You also can contact yyc12345 in our Discord server.
 
</noinclude>
1,132
个编辑