Template:SVersion/doc:修订间差异

(merge from offical wiki)
 
(文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”)
 
第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 -->
'''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.
'''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.

2022年3月8日 (二) 21:06的最新版本

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

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.