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

(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”)
 
无编辑摘要
第12行: 第12行:
;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.
: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.
;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.


== Usage ==
== Usage ==
第21行: 第24行:
;Example:
;Example:
:<code><nowiki>{{building tax|poor|3}}</nowiki></code> will generate {{Building tax|poor|3}}.
:<code><nowiki>{{building tax|poor|3}}</nowiki></code> will generate {{Building tax|poor|3}}.
;With roundingnote
:<code><nowiki>{{building tax|excellent|6|roundingnote=yes}}</nowiki></code> results in {{building tax|excellent|6|roundingnote=yes}}


== List of building tax bonuses ==
== List of building tax bonuses ==
第86行: 第92行:
* [[Template:Building speed]]
* [[Template:Building speed]]
* [[Template:Construction time]]
* [[Template:Construction time]]
== References ==
<references />

2020年11月16日 (一) 12:14的版本

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

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.

Parameters

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
  • normal
  • good
  • excellent
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.
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.

Usage

Syntax
{{building tax|poor|3}}

Insert the relevant identifier in the above syntax.

Example
{{building tax|poor|3}} will generate 赋税: +0.55/月.
With roundingnote
{{building tax|excellent|6|roundingnote=yes}} results in 赋税: +2.95/月

List of building tax bonuses

Tier Poor Normal Good Excellent
1 赋税: +0.25/月 赋税: +0.35/月 赋税: +0.5/月 赋税: +0.7/月
2 赋税: +0.4/月 赋税: +0.55/月 赋税: +0.8/月 赋税: +1.15/月
3 赋税: +0.55/月 赋税: +0.75/月 赋税: +1.1/月 赋税: +1.6/月
4 赋税: +0.7/月 赋税: +0.95/月 赋税: +1.4/月 赋税: +2.05/月
5 赋税: +0.85/月 赋税: +1.15/月 赋税: +1.7/月 赋税: +2.5/月
6 赋税: +1/月 赋税: +1.35/月 赋税: +2/月 赋税: +2.95/月
7 赋税: +1.15/月 赋税: +1.55/月 赋税: +2.3/月 赋税: +3.4/月
8 赋税: +1.3/月 赋税: +1.75/月 赋税: +2.6/月 赋税: +3.85/月

See also

References