Template:SVersion:修订间差异

无编辑摘要
(1.6)
 
(未显示3个用户的11个中间版本)
第1行: 第1行:
{{#Switch: {{lc: {{{1|{{{version}}} }}} }}
{{#Switch: "{{{1|{{{version}}}}}}"
   | time
  | "Timeless"
   | timeless
   | "Timeless"
  | 长期有效
   | "time"
   | compile
   | "timeless"
  | compilation
   | " 长期有效"
  | 1.0.3
   | "1.6" =
  | 1.0 =
   | #Default = {{Ambox_2020|type=warning
   | #Default = {{ambox|type=notice
|fa=clock-o
|small=left
|text1={{#Switch: {{{2|{{{scope|}}}}}}
|image=[[File:Ambox outdated info.png|22px|link=]]
   | table =  表格
|text=<div style="font-size:85%;">{{#Switch: {{{2|{{{scope|}}}}}}
   | infobox =  信息
   | table =  这张 表格
   | image =  图片
   | infobox =  这条 信息
   | link =  链接
   | image =  这幅 图片
   | link =  这篇 链接
   | section
   | section
   | #Default =  这部分 内容
   | #Default =  内容
}}可能已 不适合当前[[Project:版本|版本]],最后更新于{{{1|{{{version|未知版本}}}}}} 。</div>
}}可能已 落后[[Project:版本|版本]],最后更新于{{{1|{{{version|未知版本}}}}}}
}}{{#ifeq: {{{2|{{{scope|}}}}}} | infobox |
}}{{#ifeq: {{{2|{{{scope|}}}}}} | infobox |
----
----

2022年6月9日 (四) 22:53的最新版本

[阅读] [编辑]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