“模板:Mapbox/zh”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
(update style)
第16行: 第16行:
 
|data3={{{author}}}
 
|data3={{{author}}}
 
|label4={{#switch: {{{language}}} | en=Release date | zh=发布时间 | Release date}}
 
|label4={{#switch: {{{language}}} | en=Release date | zh=发布时间 | Release date}}
|data4={{#time: {{{dateFormat}}} | {{{date}}} | {{{language}}} }}
+
|data4={{DateConverter|language={{{language}}}|year={{{dateYear}}}|month={{{dateMonth}}}|day={{{dateDay}}}}}
 
|label5={{#switch: {{{language}}} | en=Section count | zh=小节数 | Section count}}
 
|label5={{#switch: {{{language}}} | en=Section count | zh=小节数 | Section count}}
 
|data5={{{section}}}
 
|data5={{{section}}}
第62行: 第62行:
 
<div style="color:red">
 
<div style="color:red">
 
You should learn some necessary document before changing this template.
 
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.
 
Go to https://iso639-3.sil.org/code_tables/639/data to get ISO 639-3 code.
第84行: 第82行:
 
|section=
 
|section=
  
|dateFormat=
+
|dateYear=
|date=
+
|dateMonth=
 +
|dateDay=
  
 
|type=
 
|type=
第111行: 第110行:
 
You only need to input file name. Because we want to each pictures have the same size.
 
You only need to input file name. Because we want to each pictures have the same size.
  
=== dataFormet && date ===
+
=== dataXXX ===
  
date id release data. dataFormet and date 's example can be seen at https://www.mediawiki.org/w/index.php?title=Help:Extension:ParserFunctions
+
date id release data. Year is always necessary. You can use '''Year''', '''Year + Month''' or '''Year + Month + Day'''.
  
 
=== type ===
 
=== type ===

2018年7月16日 (一) 23:37的版本


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


Notice

You should learn some necessary document before changing this template.

Go to https://iso639-3.sil.org/code_tables/639/data to get ISO 639-3 code.


Grammer

{{Mapbox
|position=
|language=

|name=
|screenshot=
|screenshotDesc=

|originalName=
|author=
|section=

|dateYear=
|dateMonth=
|dateDay=

|type=
|suit=
|mapPackage=
|record=
}}

Important parameters' description

position

Support left or right. Determine the position of infobox.

language

Please use ISO 639-3 code.

  • en=english
  • zh=Chinese

screenshot

You only need to input file name. Because we want to each pictures have the same size.

dataXXX

date id release data. Year is always necessary. You can use Year, Year + Month or Year + Month + Day.

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

You also can contact yyc12345 in our Discord server.