
1416006136
discussion page.To add a new message, click on "Add Topic/Reply" button below, and set the "Subject".
To add a Reply, do the same as above, but leave the "Subject" blank.

{{Message}}
.Contents
Update a Template
翻译建议
Translating articles
首先感谢阁下的贡献。本人认为文章翻译的一个做法有待商榷,具体来说是在文章开头标记某人某日翻译。维基乃由社区共同维护,每位用户都可以贡献,服务器自会留存历史记录。本人担忧这一标记会阻碍其他用户进一步更新或改进。
Not related, but I suggest both brush and solid should be translated to 固体.
另外,本人认为「brush」和「solid」都应翻译为「固体」。Test
About the edit for "Left 4 Dead 2/Script Functions/en".
<code>
" 改成 "{{Code}}
"。 这应该花了不少的时间,但是我认为编辑之后的颜色反差干扰了读者的专心能力,所以我只留了我觉得是不错的部分,希望可理解。以下是我在什么情况下留了"{{Code}}
":
- "Launch options".
- I/O 输入与输出。
- 描述里的函数。
- 如果排列不被逗号分开又在一条线里, 变量们的名字如果与写脚本有关联。
- 任何可运行的代码或命令。
以上的不是该跟的规则,只是我编辑的总结,未来我也可能会纠正自己的编辑。如果您对我的编辑有任何的问题,请随时提问。
Function | Signature | Description |
---|---|---|
__KeyValueFromInt __KeyValueFromFloat __KeyValueFromString __KeyValueFromVector
|
Sets an entity keyvalue from a specific data type. Returns true if successfully set, false if it the key does not exist.
This simply changes the value without executing any other code that may be needed for the entity to fully process the keyvalue, such as code for updating the entity's internal network state. This can create unexpected side effects on already-spawned entities such as visual changes being delayed for clients. ![]() |
所以,在 Signature 中使用 {{CodeBlock}} 能够更好地区分代码。
I think that's a good idea.
I think all the codes on the page were used the tag <code>
, which made it difficult to distinguish with the text and the code, so I planned to replace the tag <code>
to the template {{Code}}. Certainly, it took some time, but I replaced them by using Regular Expression, so the workload was much less. There was no space between the code and the text in the previous revision. Therefore, I added spaces for them. This not only is useful for non-English readers to copy them to the translator to translate, but also looks good.
Various function names (in column Function) can indeed look more pleasing without using {{Code}} templates.
However, I think the column Signature can use {{CodeBlock}}. For example:
Function | Signature | Description |
---|---|---|
__KeyValueFromInt __KeyValueFromFloat __KeyValueFromString __KeyValueFromVector
|
Sets an entity keyvalue from a specific data type. Returns true if successfully set, false if it the key does not exist.
This simply changes the value without executing any other code that may be needed for the entity to fully process the keyvalue, such as code for updating the entity's internal network state. This can create unexpected side effects on already-spawned entities such as visual changes being delayed for clients. ![]() |
So using {{CodeBlock}} could distinguish the code better.
TF2 console command page broken?
Thank you!
Ibfotsble template seems busred
Edit: nevermind, I fixed it. I thought it was gonna be a harder issue to figure out but then I stumbled across the issue and fixed it.
#default
to 1
simply, so some of the #default
that shouldn't be replaced were replaced. Maybe I should add more matching criteria next time.