Template:SVersion:修订间差异

(merge from offical wiki)
 
(3.4)
 
(未显示2个用户的5个中间版本)
第4行: 第4行:
   | compile
   | compile
   | compilation
   | compilation
   | 3.3 =
   | 3.4 =
   | #Default = {{ambox|type=notice
   | #Default = {{Ambox_2020|type=warning
|small=left
|fa=clock-o
|image=[[File:Ambox outdated info.png|22px|link=]]
|text1= 请帮助核对或更新这个{{#Switch: {{{2|{{{scope|}}} }}}
|text=<div style="font-size:85%;">Please help with verifying or updating this {{#Switch: {{{2|{{{scope|}}} }}}
   | section = 段落
   | section = section
   | infobox = 信息框
   | infobox = infobox
   | table = 表格
   | table = table
   | image = 图像
   | image = image
   | link = 链接
   | link = linked article
   | #Default = 段落
   | #Default = section
}} ,最近核对为{{{1| 未知}}}[[Project:版本管理|版本]]。
}}. It was last verified for [[Project:Versioning|version]] {{{1|unknown}}}.</div>
}}{{#ifeq: {{{2|{{{scope|}}}}}} | infobox |
}}{{#ifeq: {{{2|{{{scope|}}}}}} | infobox |
----
----
}}
}}
<includeonly>{{#if: {{{nocat|}}}{{NAMESPACE}}| |{{#Switch: {{{2|{{{scope|}}} }}}
<includeonly>{{#if: {{{nocat|}}}{{NAMESPACE}}| |{{#Switch: {{{2|{{{scope|}}} }}}
   | section = [[Category:Articles with potentially outdated sections]]
   | section = [[Category: 可能过时的段落]]
   | infobox = [[Category:Articles with potentially outdated infoboxes]]
   | infobox = [[Category: 可能过时的信息框]]
   | table = [[Category:Articles with potentially outdated tables]]
   | table = [[Category: 可能过时的表格]]
   | image = [[Category:Articles with potentially outdated images]]
   | image = [[Category: 可能过时的图像]]
   | link = [[Category:Articles with potentially outdated links]]
   | link = [[Category: 可能过时的链接]]
   | #Default = [[Category:Articles with potentially outdated sections]]
   | #Default = [[Category: 可能过时的段落]]
}}
}}
}}</includeonly>
}}</includeonly>
第31行: 第30行:
{{Template doc}}
{{Template doc}}
<!-- Add metadata to the /doc subpage, not here - thanks! -->
<!-- Add metadata to the /doc subpage, not here - thanks! -->
[[Category:Versioning templates]]
[[Category: 版本模板]]
</noinclude>
</noinclude>

2022年5月14日 (六) 15:22的最新版本

[查看] [编辑]Template-info.png 模板文档

SVersion should be used to indicate for which major version of Stellaris a section was written or updated. The template adds a disclaimer only if the specified version does not match with the most recent of the game.

Usage[编辑源代码]

This infobox may be added by copy-pasting the template as shown below at the beginning of a section.

{{SVersion|X}}

Substitute the value for X.

Parameters[编辑源代码]

Parameter Explanation Default Status
1 To specify for which major patch a section was written or updated an unknown version required
2 To specify the scope section optional

Values[编辑源代码]

The above parameters can have the following values:

Parameter Values Explanation
1 Major patch number The major patch for which this section has been written (for example 1.2 or 1.6)
Pre-release If this section has been written before the release.
Time or Timeless For timeless sections.
Parameter Values Explanation
2 section This is the default setting.
table
infobox The width is limited to 475 px.
image To be used in captions.

Updating this template[编辑源代码]

Message SolSys.

Examples[编辑源代码]

The following:
=== Important centers of trade ===
{{SVersion|Timeless}}
There are 15 government types in [[Stellaris]] which divide into autocracies, oligarchies, and democracies. Each of the three groups contain five types.

will display:

Important centers of trade[编辑源代码]

There are 15 government types in Stellaris which divide into autocracies, oligarchies, and democracies. Each of the three groups contain five types.

The following:
=== Important centers of trade ===
{{SVersion|Pre-release}}
There are 15 government types in [[Stellaris]] which divide into autocracies, oligarchies, and democracies. Each of the three groups contain five types.

will display:

Important centers of trade[编辑源代码]

There are 15 government types in Stellaris which divide into autocracies, oligarchies, and democracies. Each of the three groups contain five types.