动乱程度模块
component组件
此页面为站点内部使用的组件页面。
该页面的功能可在其它页面中被使用或引用,从而发挥特定功能。
component组件
此页面为站点内部使用的组件页面。该页面的功能可在其它页面中被使用或引用,从而发挥特定功能。

国家动乱程度组件由Mirror handsMirror hands制作,服务于国家档案。

使用以下代码:
[[include :nationareabox:component:unrest-component
|number=
|alias=
|rating=
|color=
|one=
|two=
|three=
]]
number:编号
alias:国家名
rating:动乱程度
color:矩形颜色
one,two,three:国家现有信息(不可多于5字)

需要注意的是,所以变量都需要填入,不填入的后果就是:

Included page "component:unrest-component" does not exist (create it now)

其中的“1”不用管,在填入color变量后就会与背景融为一体。

普遍而言,除alias与saying外的变量都服务于rating变量,数字越小说明国家越和平。故此,color变量需要填入你认为符合rating变量数字的颜色,可以是16进制和6进制或其他支持的代码。rating变量一般都会填入数字或字母,其他字符亦可填入。

除非另有声明,本站的创作内容均在 Creative Commons Attribution-ShareAlike 3.0 License 下发布。