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

无编辑摘要
无编辑摘要
 
(未显示2个用户的12个中间版本)
第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 -->
This template can be used to standardise building tax increases for buildings in the CK3 wiki, thus making it easier to edit their formatting and values in the event of game updates.
此模板用于在CK3维基中规范化生成建筑的赋税增益,从而更容易在游戏更新时编辑它们的格式和数值<ref>基础数值与每级的增长数值见{{Cite file|Crusader Kings III\game\common\script_values\00_building_values.txt}}中的Tax Values部分</ref>。
== Parameters ==
== 参数 ==
;1
;1
:The first parameter is the building tax category. It has no default value, and is always required. The following values are currently supported:
: 第一个参数是数值的等级或者具体数值。没有默认值,总是必须输入。数值的等级目前支持以下数值:
:* poor
:* poor
:* normal
:* normal
:* good
:* good
:* excellent
:* excellent
:* copper mine
:* silver mine
:* special mine
:* extra poor
:* super poor


;2
;2
:The second parameter is the tier of the building. It has no default value, and is always required. Currently, only values between and including 1 to 8 are supported.
: 如果第一个参数为数值的等级,则第二个参数是建筑的等级。目前,仅支持1至8的数值。
:如果第一个参数为具体数值,无此参数。


;roundingnote
== 用法 ==
:This optional parameter, when set to "yes", generates a reference explaining that tooltips in game round down, pointing towards the scripted values game file.
; 语法:
:<code><nowiki>{{Building tax|cheap|4}}</nowiki></code>或者<code><nowiki>{{Building tax|400}}</nowiki></code>


== Usage ==
替换上面的语法中的相应修正参数。
;Syntax:
:<code><nowiki>{{building tax|poor|3}}</nowiki></code>


Insert the relevant identifier in the above syntax.
;举例:
:<code><nowiki>{{Building tax|poor|3}}</nowiki></code>


;Example:
将生成
:<code><nowiki>{{building tax|poor|3}}</nowiki></code> will generate {{Building tax|poor|3}}.


;With roundingnote
{{Building tax|poor|3}}.
:<code><nowiki>{{building tax|excellent|6|roundingnote=yes}}</nowiki></code> results in {{building tax|excellent|6|roundingnote=yes}}


== List of building tax bonuses ==
;举例:
:<code><nowiki>{{Building tax|400}}</nowiki></code>
 
将生成
 
{{Building tax|400}}
 
== 建筑赋税增益列表 ==


{|class="wikitable"
{|class="wikitable"
! Tier
! 等级
! Poor
! poor
! Normal
! normal
! Good
! good
! Excellent
! excellent
! copper mine
! silver mine
! special mine
! extra poor
! super poor
|-
|-
| 1
| 1
第42行: 第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
第48行: 第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
第54行: 第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
第60行: 第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
第66行: 第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
第72行: 第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
第78行: 第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
第84行: 第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}}
|}
|}


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


== References ==
== 参考资料 ==
<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部分