打开主菜单

Ballance Wiki β

更改

模板:Mapbox/zh

添加1,683字节2020年12月4日 (五) 19:55
无编辑摘要
<div style="float:{{{position}}};margin:0px 10px 0px 10px">
{{Infobox
|headerstyle= background:#ccf;
|labelstyle= background:#ddf;
|above={{{name|{{PAGENAME}}}}}|image=[[File:{{{screenshot}}}|220px]]
|caption={{{screenshotDesc}}}
|header1=Basic infomation基本信息|label2=Original name源语言名|data2={{{originalName|{{PAGENAME}}}}}|label3=Author作者
|data3={{{author}}}
|label4=Release date发布时间|data4={{#if: {{{date|}}}|{{{date}}}|{{{year}}}年{{{month}}}月{{{day}}}日{{Resize|({{年月差异|{{{year|2004}}}|{{{month|4}}}|{{{day|2}}}}}前)}}}}|label5=Section count小节数
|data5={{{section}}}
|header6=Expanded information拓展信息|label7=Authorization type授权类型|data7={{#if: {{{type|}}}|{{#switch: {{{type|}}}|CBF=[[Ballance吧通用授权]]|{{{type}}}}}|[[Ballance吧通用授权]]}}|label8=Suitable for适用于|data8={{{suit|[[Ballance/zh|Ballance]]}}}|label9=Included in Map Package包含在[[地图包]]中
|data9={{{mapPackage}}}
|label10=Records supported by纪录认证支持于|data10={{{record|[[Ballance吧]]}}}}}<includeonly>[[Category:独立自制地图]]</includeonly><noinclude>
== 语法 == 斜体的均可以不填,见下文解释。 {{Mapbox/zh ''| position ='' ''| name ='' | screenshot = | screenshotDesc = ''| originalName ='' | author = | section = ''| date ='' ''(| year = | month = | day =)'' ''| type ='' ''| suit ='' | mapPackage = ''| record ='' }} == 重要参数解释 == === type === 授权类型。填写 <code>CBF</code> 可以自动生成[[Ballance吧通用授权]]。若不填则'''默认为CBF'''。(CBF = [[Chinese Ballance Forum]],中国Ballance论坛,即指[[Ballance吧]]) === position === 支持 '''left''' or '''right'''. 决定这个Box的浮动位置,不写此参数时'''默认'''right。 === screenshot === 截图。你只需要输入文件名即可,模板会自动强制大小为 220 px。 === suit === 使用英文逗号分隔各个项,不要使用特定语言中的任何字符,例如中文逗号或者“且”,“和”之类的文本 正确示例: Ballance, Ballance Remix错误示例: Ballance and Ballance Remix / Ballance 和 Ballance Remix 不写时'''默认'''为 Ballance。 === record === 与suit格式一样。 此外,如果没有内容,请手动填写无。 不写'''默认'''为CBF,即Ballance吧。 === date === 可以填写date(直接写年月日),但可以拆分成year/month/day。此时会被自动计算生成日期差异。</divnoinclude>
3,424
个编辑