Template:Building tax/doc:修订间差异

无编辑摘要
无编辑摘要
 
(未显示2个用户的11个中间版本)
第1行: 第1行:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 此模板用于在CK3维基中规范化生成建筑的赋税增益,从而更容易在游戏更新时编辑它们的格式和数值<ref>基础数值与每级的增长数值见{{Cite file|Crusader Kings III\game\common\script_values\00_building_values.txt}}中的Tax Values部分</ref>。
 此模板用于在CK3维基中规范化生成建筑的赋税增益,从而更容易在游戏更新时编辑它们的格式和数值<ref>基础数值与每级的增长数值见{{Cite file|Crusader Kings III\game\common\script_values\00_building_values.txt}}中的Tax Values部分</ref>。
== 参数 ==
== 参数 ==
;1
;1
:第一个参数是 赋税 分类 。没有默认值,总是必须输入。目前支持以下数值:
:第一个参数是 数值 等级或者具体数值 。没有默认值,总是必须输入。 数值的等级 目前支持以下数值:
:* poor
:* poor
:* normal
:* normal
:* good
:* good
:* excellent
:* excellent
:* copper mine
:* silver mine
:* special mine
:* extra poor
:* super poor


;2
;2
:第二个参数是建筑的等级 。没有默认值,总是必须输入 。目前,仅支持1至8的数值。
: 如果第一个参数为数值的等级,则 第二个参数是建筑的等级。目前,仅支持1至8的数值。
 
: 如果第一个 参数为 具体 数值, 无此
;roundingnote
: 可选 参数 ,当设置 “yes”,在参考资料处会表明——在游戏内提示条中的 数值 是向下取整的(比如一级果园会+0.35每月赋税 但在游戏中提示为+0.3每月赋税),同时会提示 见{{Cite file|script_values}}中的文件


== 用法 ==
== 用法 ==
;语法:
;语法:
:<code><nowiki>{{building tax|poor|3}}</nowiki></code>
:<code><nowiki>{{Building tax|cheap|4}}</nowiki></code>或者<code><nowiki>{{Building tax|400}}</nowiki></code> 


 替换上面的语法中的相应修正参数。
 替换上面的语法中的相应修正参数。


;举例:
;举例:
:<code><nowiki>{{building tax|poor|3}}</nowiki></code> 
:<code><nowiki>{{Building tax|poor|3}}</nowiki></code> 


 将生成
 将生成
第29行: 第32行:
{{Building tax|poor|3}}.
{{Building tax|poor|3}}.


; 使用 roundingnote 参数
; 举例:
:<code><nowiki>{{building tax|excellent|6|roundingnote=yes}}</nowiki></code> 
:<code><nowiki>{{Building tax|400}}</nowiki></code> 


 将生成
 将生成


{{building tax|excellent|6|roundingnote=yes}}
{{Building tax|400}}


== 建筑赋税增益列表 ==
== 建筑赋税增益列表 ==
第44行: 第47行:
! good
! good
! excellent
! excellent
! copper mine
! silver mine
! special mine
! extra poor
! super poor
|-
|-
| 1
| 1
第50行: 第58行:
| {{Building tax|good|1}}
| {{Building tax|good|1}}
| {{Building tax|excellent|1}}
| {{Building tax|excellent|1}}
| {{Building tax|copper mine|1}}
| {{Building tax|silver mine|1}}
| {{Building tax|special mine|1}}
| {{Building tax|extra poor|1}}
| {{Building tax|super poor|1}}
|-
|-
| 2
| 2
第56行: 第69行:
| {{Building tax|good|2}}
| {{Building tax|good|2}}
| {{Building tax|excellent|2}}
| {{Building tax|excellent|2}}
| {{Building tax|copper mine|2}}
| {{Building tax|silver mine|2}}
| {{Building tax|special mine|2}}
| {{Building tax|extra poor|2}}
| {{Building tax|super poor|2}}
|-
|-
| 3
| 3
第62行: 第80行:
| {{Building tax|good|3}}
| {{Building tax|good|3}}
| {{Building tax|excellent|3}}
| {{Building tax|excellent|3}}
| {{Building tax|copper mine|3}}
| {{Building tax|silver mine|3}}
| {{Building tax|special mine|3}}
| {{Building tax|extra poor|3}}
| {{Building tax|super poor|3}}
|-
|-
| 4
| 4
第68行: 第91行:
| {{Building tax|good|4}}
| {{Building tax|good|4}}
| {{Building tax|excellent|4}}
| {{Building tax|excellent|4}}
| {{Building tax|copper mine|4}}
| {{Building tax|silver mine|4}}
| {{Building tax|special mine|4}}
| {{Building tax|extra poor|4}}
| {{Building tax|super poor|4}}
|-
|-
| 5
| 5
第74行: 第102行:
| {{Building tax|good|5}}
| {{Building tax|good|5}}
| {{Building tax|excellent|5}}
| {{Building tax|excellent|5}}
| {{Building tax|copper mine|5}}
| {{Building tax|silver mine|5}}
| {{Building tax|special mine|5}}
| {{Building tax|extra poor|5}}
| {{Building tax|super poor|5}}
|-
|-
| 6
| 6
第80行: 第113行:
| {{Building tax|good|6}}
| {{Building tax|good|6}}
| {{Building tax|excellent|6}}
| {{Building tax|excellent|6}}
| {{Building tax|copper mine|6}}
| {{Building tax|silver mine|6}}
| {{Building tax|special mine|6}}
| {{Building tax|extra poor|6}}
| {{Building tax|super poor|6}}
|-
|-
| 7
| 7
第86行: 第124行:
| {{Building tax|good|7}}
| {{Building tax|good|7}}
| {{Building tax|excellent|7}}
| {{Building tax|excellent|7}}
| {{Building tax|copper mine|7}}
| {{Building tax|silver mine|7}}
| {{Building tax|special mine|7}}
| {{Building tax|extra poor|7}}
| {{Building tax|super poor|7}}
|-
|-
| 8
| 8
第92行: 第135行:
| {{Building tax|good|8}}
| {{Building tax|good|8}}
| {{Building tax|excellent|8}}
| {{Building tax|excellent|8}}
| {{Building tax|copper mine|8}}
| {{Building tax|silver mine|8}}
| {{Building tax|special mine|8}}
| {{Building tax|extra poor|8}}
| {{Building tax|super poor|8}}
|}
|}


==  另见 ==
==  其他建筑模板 ==
* [[Template:Building advantage]]
 
* [[Template:Building cost]]
[[: 分类: 建筑模板]]
* [[Template:Building levies]]
* [[Template:Building speed]]
* [[Template:Construction time]]


== 参考资料 ==
== 参考资料 ==
<references />
<references />

2023年5月31日 (三) 19:08的最新版本

这是 Template:Building tax模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

此模板用于在CK3维基中规范化生成建筑的赋税增益,从而更容易在游戏更新时编辑它们的格式和数值[1]

参数[编辑源代码]

1
第一个参数是数值的等级或者具体数值。没有默认值,总是必须输入。数值的等级目前支持以下数值:
  • poor
  • normal
  • good
  • excellent
  • copper mine
  • silver mine
  • special mine
  • extra poor
  • super poor
2
如果第一个参数为数值的等级,则第二个参数是建筑的等级。目前,仅支持1至8的数值。
如果第一个参数为具体数值,无此参数。

用法[编辑源代码]

语法:
{{Building tax|cheap|4}}或者{{Building tax|400}}

替换上面的语法中的相应修正参数。

举例:
{{Building tax|poor|3}}

将生成

赋税: +0.55/月.

举例:
{{Building tax|400}}

将生成

赋税: +400/月

建筑赋税增益列表[编辑源代码]

等级 poor normal good excellent copper mine silver mine special mine extra poor super poor
1 赋税: +0.25/月 赋税: +0.35/月 赋税: +0.5/月 赋税: +0.7/月 赋税: +2/月 赋税: +3/月 赋税: +5/月 赋税: +0.0625/月 赋税: +0.125/月
2 赋税: +0.4/月 赋税: +0.55/月 赋税: +0.8/月 赋税: +1.15/月 赋税: +3.5/月 赋税: +5/月 赋税: +8/月 赋税: +0.1/月 赋税: +0.2/月
3 赋税: +0.55/月 赋税: +0.75/月 赋税: +1.1/月 赋税: +1.6/月 赋税: +5/月 赋税: +7/月 赋税: +11/月 赋税: +0.1375/月 赋税: +0.275/月
4 赋税: +0.7/月 赋税: +0.95/月 赋税: +1.4/月 赋税: +2.05/月 赋税: +6.5/月 赋税: +9/月 赋税: +14/月 赋税: +0.175/月 赋税: +0.35/月
5 赋税: +0.85/月 赋税: +1.15/月 赋税: +1.7/月 赋税: +2.5/月 赋税: +8/月 赋税: +11/月 赋税: +17/月 赋税: +0.2125/月 赋税: +0.425/月
6 赋税: +1/月 赋税: +1.35/月 赋税: +2/月 赋税: +2.95/月 赋税: +9.5/月 赋税: +13/月 赋税: +20/月 赋税: +0.25/月 赋税: +0.5/月
7 赋税: +1.15/月 赋税: +1.55/月 赋税: +2.3/月 赋税: +3.4/月 赋税: +11/月 赋税: +15/月 赋税: +23/月 赋税: +0.2875/月 赋税: +0.575/月
8 赋税: +1.3/月 赋税: +1.75/月 赋税: +2.6/月 赋税: +3.85/月 赋税: +12.5/月 赋税: +17/月 赋税: +26/月 赋税: +0.325/月 赋税: +0.65/月

其他建筑模板[编辑源代码]

分类:建筑模板

参考资料[编辑源代码]

  1. 基础数值与每级的增长数值见Crusader Kings III\game\common\script_values\00_building_values.txt中的Tax Values部分