该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第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. | ||
| | | | ||
|- | |- | ||
第286行: | 第286行: | ||
|- | |- | ||
|#W | |#W | ||
| | |Text is displayed as a warning | ||
|<pre>#W Only your younger children lacks [guardians|E]#!</pre> | |<pre>#W Only your younger children lacks [guardians|E]#!</pre> | ||
|- | |- | ||
|#T | |#T | ||
| | |Text is displayed as a title | ||
|<pre>#T Randomize Dynasty Name#!</pre> | |<pre>#T Randomize Dynasty Name#!</pre> | ||
|- | |- | ||
|#E | |#E | ||
| | |Text is displayed as a game concept | ||
|<pre>#E Randomize#!</pre> | |<pre>#E Randomize#!</pre> | ||
|- | |- | ||
第310行: | 第310行: | ||
|- | |- | ||
|#U | |#U | ||
| | |Transform text to uppercase | ||
|<pre>[TITLE.GetName|U]</pre> | |<pre>[TITLE.GetName|U]</pre> | ||
|- | |- | ||
|#L | |#L | ||
| | |Transform text to lowercase | ||
|<pre>[TITLE.GetName|L]</pre> | |<pre>[TITLE.GetName|L]</pre> | ||
|- | |- | ||
|#EMP | |#EMP | ||
| | |Text is emphasized | ||
|<pre>#EMP Emphasis here #!</pre> | |<pre>#EMP Emphasis here #!</pre> | ||
|- | |- | ||
第326行: | 第326行: | ||
|- | |- | ||
|#bold | |#bold | ||
| | |Text is displayed in bold | ||
|<pre>You have #bold NOT #! done this</pre> | |<pre>You have #bold NOT #! done this</pre> | ||
|- | |- | ||
|#italic | |#italic | ||
| | |Text is displayed in italics | ||
|<pre>You #weak will #! do this</pre> | |<pre>You #weak will #! do this</pre> | ||
|- | |- | ||
|} | |} | ||
== | == Linking == | ||
Localization strings can link to game concepts as follows: | |||
<pre> | <pre> | ||
第346行: | 第346行: | ||
</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行: | 第357行: | ||
</pre> | </pre> | ||
Note that the value is '''always''' rounded down. | |||
== 参考资料 == | == 参考资料 == |