该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
{{version|1. | {{version|1.2}} | ||
{{Expand}} | {{Expand}} | ||
本地化文件位于localization文件夹中。 | 本地化文件位于localization文件夹中。 | ||
第258行: | 第258行: | ||
== 特殊字符 == | == 特殊字符 == | ||
Some sets of characters perform special functions. | |||
{| class="wikitable" | {| class="wikitable" | ||
! | !Command | ||
! | !Description | ||
! | !Example | ||
|- | |- | ||
|\n | |\n | ||
| | |Line break. Works only in certain cases. | ||
| | | | ||
|- | |- | ||
|#P | |#P | ||
|Formats text "positive" | |Formats text "positive" | ||
|<pre>#P A very good thing has happened#! | |<pre>#P A very good thing has happened#!</pre> | ||
|- | |- | ||
|#N | |#N | ||
|Formats text "negative" | |Formats text "negative" | ||
|<pre>#N A rather bad thing has happened#! | |<pre>#N A rather bad thing has happened#!</pre> | ||
|- | |- | ||
|#help | |#help | ||
第286行: | 第286行: | ||
|- | |- | ||
|#W | |#W | ||
| | |Text is displayed as a warning | ||
|<pre># | |<pre>#X Only your younger children lacks [guardians|E]#!</pre> | ||
|- | |- | ||
|} | |} | ||
== | == 连 接 起来 == | ||
Localization strings can link to game concepts as follows: | |||
<pre> | <pre> | ||
第346行: | 第302行: | ||
</pre> | </pre> | ||
== Rounding numbers == | |||
If a numeric value has a decimal portion, it can be rounded by using the desired number of decimal places, such as: | |||
<pre> | <pre> | ||
第375行: | 第313行: | ||
</pre> | </pre> | ||
Note that the value is '''always''' rounded down. | |||
== 参考资料 == | == 参考资料 == |