Template:SVersion:修订间差异

(创建页面,内容为“{{#Switch: "{{{1|{{{version}}}}}}" | "Time" | "Timeless" | "Pre-release" = | #Default = {{ambox|type=notice |small=left |image=File:Ambox outdated info…”)
 
无编辑摘要
第1行: 第1行:
{{#Switch: "{{{1|{{{version}}}}}}"
{{#Switch: {{lc: {{{1|{{{version}}} }}} }}
   | "Time"
  | time
   | "Timeless"
  | timeless
   | "Pre-release" =
   | 长期有效
   | compile
   | compilation
  | 1.0.3
  | 1.0 =
   | #Default = {{ambox|type=notice
   | #Default = {{ambox|type=notice
|small=left
|small=left
第29行: 第33行:
{{Template doc}}
{{Template doc}}
<!-- Add metadata to the /doc subpage, not here - thanks! -->
<!-- Add metadata to the /doc subpage, not here - thanks! -->
[[分类:版本模板]]
[[分类:版本模板]][[en:{{FULLPAGENAME}}]]
</noinclude>
</noinclude>

2020年9月4日 (五) 20:09的版本

[阅读] [编辑]Template-info.png 模板文档

SVersion 应该被用于表明,一个段落为了《十字军之王3》的哪个主要版本撰写或者更新。该模板添加一个免责声明,只有如果 参数明确规定的版本 匹配游戏的最新版。

用法

主条目:版本方针 这个信息框可以通过复制、粘贴模板来添加,如下面所示的段落开头模板。

{{SVersion|X}}

替换数值X。

参数

参数 说明 缺省值 状态
1 指定段落被撰写或更新是为了哪个主要补丁 一个未知的版本 必须
2 指定范围 段落 可选

数值

以上参数能有下列数值:

参数 数值 说明
1 主要补丁版本号 这个段落是为了哪个主要补丁撰写(例如 1.2 或者 1.6)
Time Timeless 用于长期有效的文章。
参数 数值 说明
2 section 这个是缺省设置。
table
infobox 宽度被限制在 475 px。
image 被用于标题中。

更新模板

联系Pokewiz

举例

输入:
=== Important centers of trade ===
{{SVersion|Timeless}}
Important centers of trade provide:
* {{green|+20}} Trade power
* {{green|+2}} Naval force limit (not for inland centers)

会显示:

Important centers of trade

Important centers of trade provide:

  • +20 Trade power
  • +2 Naval force limit (not for inland centers)
输入:
=== Important centers of trade ===
{{SVersion|1.0}}
Important centers of trade provide:
* {{green|+10}} Trade power
* {{green|+1}} Naval force limit

会显示:

Important centers of trade

Important centers of trade provide:

  • +10 Trade power
  • +1 Naval force limit