Template:Version/doc:修订间差异

(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”)
 
无编辑摘要
第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 -->
'''''Version''''' can be used to indicate if information in an article applies to specific versions of the game.
'''''Version''''' 应该被用于表明,文章中的信息是否适用于游戏的特定版本。


== Usage ==
== 用法 ==
This infobox may be added by copy-pasting the template as shown below into an article.
这个信息框可以通过复制、粘贴模板来添加进文章,如下面所示。


<div style="width:320px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
<div style="width:320px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
第11行: 第11行:
</pre>
</pre>
</div>
</div>
Substitute the value for X.
替换数值X。


== Parameters ==
== 参数 ==
The template has currently been set up to handle the following versions:
The template has currently been set up to handle the following versions:


{| class="wikitable"
{| class="wikitable"
!style="width:160px; text-align:left;"| Parameter
!style="width:160px; text-align:left;"| 参数
!style="text-align:left;"| Explanation
!style="text-align:left;"| 说明
|- 
|- 
| '''''Patch'''''
| ''''' 补丁版本号'''''
| Which major patch has it been updated for
| 它是为了哪个主要补丁更新的
|}
|}


== Values ==
== 数值 ==
The above parameters can have the following values:
以上参数能有下列数值:


{| class="wikitable"
{| class="wikitable"
!style="width:160px; text-align:left;"| Parameter
!style="width:160px; text-align:left;"| 参数
!style="text-align:left;"| Explanation
!style="text-align:left;"| 说明
|- 
|- 
| '''''(patch)'''''
| '''''<补丁版本号>'''''
| The major patch for which this article has been written (for example 1.2 or 1.6)
| 这个文章是为了哪个主要补丁撰写(例如 1.2 或者 1.6
|-
|-
| '''''Timeless'''''
| '''''Timeless'''''
| For timeless articles.
| 用于长期有效的文章。
|}
|}


The default value is '''''Unknown''''' if no other values have been set for a given version/parameter.
缺省值是 ''''' 未知版本''''' ,如果没有其它数值被给定版本/ 参数设置


== Effects ==
== 效果 ==
* Puts the including page into [[:Category:Timeless]] for articles that don't have time sensitive content or puts it into [[:Category:Potentially outdated]] if it is not up to date.
* 对于没有时间敏感内容的文章,把包含的页面放入 [[:Category: 长期有效]] ,或者,如果页面没有更新就放入 [[:Category: 可能过时的文章]]


== 更新模板 ==
== 更新模板 ==
 联系[[Pokewiz]]。
 联系[[Pokewiz]]。

2019年9月5日 (四) 20:46的版本

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

Version 应该被用于表明,文章中的信息是否适用于游戏的特定版本。

用法

这个信息框可以通过复制、粘贴模板来添加进文章,如下面所示。

{{Version|X}}

替换数值X。

参数

The template has currently been set up to handle the following versions:

参数 说明
补丁版本号 它是为了哪个主要补丁更新的

数值

以上参数能有下列数值:

参数 说明
<补丁版本号> 这个文章是为了哪个主要补丁撰写(例如 1.2 或者 1.6)
Timeless 用于长期有效的文章。

缺省值是 未知版本,如果没有其它数值被给定版本/参数设置

效果

更新模板

联系Pokewiz