维多利亚3
ParaWikis
502 Bad Gateway
502 Bad Gateway
openresty
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
×
欢迎访问维多利亚3百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“Module:State trait/List/doc”的源代码
←
Module:State trait/List/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly>[[Module:State trait/List/doc|Edit documentation]] </includeonly> This module is a list of state traits for use with [[Module:State trait]]. To add a new entry to this list, copy the template below and fill in the information. Note that single or double quotes must be used as in the template <pre> p['<name>'] = { icon = '<icon>', effect = { '<color>_<amount>_<text>' } } </pre> Or <pre> p['<name>'] = { icon = '<icon>', effect = { { '<color>', '<amount>', '<text>' } } } </pre> {| class="wikitable" ! Template element !! Description/Use |- | <name> || The English localized state trait name |- | <icon> || The icon image file. See [[:Category:State trait icons]] for available list on the wiki; note that the wiki images are all prefixed with "state trait", which must be left off here |- | effect <color> || Color effect for the <amount>: use "green", "red", or "inherit" for good, bad, or neutral effects respectively |- | effect <amount> || Size of the modifier, include + − and % as well as the number |- | effect <text> || Localized modifier effect text. Images can be included by including wikitext such as <code><nowiki>[[File:State status construction.png|link=Construction|24px]]</nowiki></code>. |} Effect is a comma separated table; each effect must be listed as its own table value separately. The underscores must separate each effect element and underscores cannot be used within any of the effect elements. The effect can alternatively be listed as a sub-table, which then allows underscores to be used in elements if needed. Traits with the same icon and effects as another trait can copy from it by assigning the old trait to the new trait with <code>p['New Trait'] = p['Old Trait']</code> <noinclude>[[Category:Module documentation]]</noinclude><includeonly>[[Category:Data modules]]</includeonly>
返回
Module:State trait/List/doc
。
×
登录
密码
记住登录
加入维多利亚3百科
忘记密码?
其他方式登录