Template:SVersion:修订间差异

(1.1)
(试验一下)
第18行: 第18行:
}}
}}
<includeonly>{{#if: {{{nocat|}}}| |{{#Switch: {{{2|{{{scope|}}}}}}
<includeonly>{{#if: {{{nocat|}}}| |{{#Switch: {{{2|{{{scope|}}}}}}
   | table = [[Category:过时表格]]
   | table = [[Category: 过时表格]] [[Category:{{{1|{{{version}}}}}}| 过时表格]]
   | infobox = [[Category:过时信息]]
   | infobox = [[Category: 过时信息]] [[Category:{{{1|{{{version}}}}}}| 过时信息]]
   | image = [[Category:过时图片]]
   | image = [[Category: 过时图片]] [[Category:{{{1|{{{version}}}}}}| 过时图片]]
   | link = [[Category:过时链接]]
   | link = [[Category: 过时链接]] [[Category:{{{1|{{{version}}}}}}| 过时链接]]
   | section
   | section[[Category:过时段落]] [[Category:{{{1|{{{version}}}}}}|过时段落]]
   | #Default = [[Category:过时内容]]
   | #Default = [[Category:过时内容]]
}}
}}

2019年9月5日 (四) 19:47的版本

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

SVersion 应该被用于表明,一个段落为了《英白拉多:罗马》的哪个主要版本撰写或者更新。该模板添加一个免责声明,只有如果 参数明确规定的版本 匹配游戏的最新版。

用法

这个信息框可以通过复制、粘贴模板来添加,如下面所示的段落开头模板。

{{SVersion|X}}

替换数值X。

参数

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

数值

以上参数能有下列数值:

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

更新模板

联系pokewiz

举例

输入:
=== Government rank ===
{{SVersion|Timeless}}
Local Power:
* {{icon|diplomatic relations}} {{green|+2}} Diplomatic Relations

会显示:

Government rank

Local Power:

  • Diplomatic relations.png +2 Diplomatic Relations
输入:
=== Government rank ===
{{SVersion|1.0}}
Local Power:
* {{icon|diplomatic relations}} {{green|+2}} Diplomatic Relations

会显示:

Important centers of trade

Local Power:

  • Diplomatic relations.png +2 Diplomatic Relations