「Template:灵术竞技评级」修訂間的差異
出自小鱼君和他的朋友们
小 ([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
第1行: | 第1行: | ||
<includeonly><div class="echarts" style="width: 100%; height: 400px; overflow: hidden; {{{style}}}">{{#tag:pre| | <includeonly><div class="echarts" style="width: 100%; height: 400px; overflow: hidden; {{{style}}}">{{#tag:pre| | ||
{ | { | ||
− | + | "title": { | |
− | + | "text": "灵术竞技评级 - {{{等级}}}", | |
− | + | "subtext": "类型 - {{{类型}}}\n组别 - {{{组别}}}" | |
+ | }, | ||
+ | "tooltip": {}, | ||
+ | "radar": { | ||
+ | "name": { | ||
+ | "textStyle": { | ||
+ | "color": "#fff", | ||
+ | "backgroundColor": "#999", | ||
+ | "borderRadius": 3, | ||
+ | "padding": [ | ||
+ | 3, | ||
+ | 5 | ||
+ | ] | ||
+ | } | ||
}, | }, | ||
− | " | + | "indicator": [ |
− | " | + | { |
− | " | + | "name": " 体能", |
− | + | "max": 100 | |
− | + | }, | |
− | " | + | { |
− | + | "name": " 魔力", | |
− | + | "max": 100 | |
− | " | + | }, |
− | " | + | { |
− | + | "name": " 力量", | |
− | " | + | "max": 100 |
− | " | + | }, |
− | + | { | |
− | + | "name": " 灵巧", | |
− | " | + | "max": 100 |
− | "max": 100, | + | }, |
− | + | { | |
− | + | "name": " 智力", | |
− | + | "max": 100 | |
− | + | }, | |
− | + | { | |
− | " | + | "name": " 精神", |
− | " | + | "max": 100 |
− | + | }, | |
− | + | { | |
− | + | "name": " 信念", | |
− | + | "max": 100 | |
− | + | } | |
− | + | ] | |
− | + | }, | |
− | + | "series": [ | |
− | " | + | { |
− | + | "name": " 能力评分(百分制)", | |
− | + | "type": "radar", | |
+ | "areaStyle": { | ||
+ | "normal": {} | ||
+ | }, | ||
+ | "data": [ | ||
{ | { | ||
− | + | "value": [ | |
− | + | {{#if: {{{体能|}}} | {{{体能}}} | 0 }}, | |
− | + | {{#if: {{{魔力|}}} | {{{魔力}}} | 0 }}, | |
− | + | {{#if: {{{力量|}}} | {{{力量}}} | 0 }}, | |
− | + | {{#if: {{{灵巧|}}} | {{{灵巧}}} | 0 }}, | |
− | + | {{#if: {{{智力|}}} | {{{智力}}} | 0 }}, | |
− | + | {{#if: {{{精神|}}} | {{{精神}}} | 0 }}, | |
− | + | {{#if: {{{信念|}}} | {{{信念}}} | 0 }} | |
− | + | ] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | ] | + | ] |
+ | } | ||
+ | ] | ||
} | } | ||
}}</div> | }}</div> |