Template:SVersion event:修订间差异

无编辑摘要
(撤销Pokewiz讨论)的版本24078)
标签撤销
第1行: 第1行:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]
{{#Switch: {{lc: {{{1|{{{version}}} }}} }}
   <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  | time
'''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.
  | timeless
 
  | compile
== Usage ==
  | compilation
This infobox may be added by copy-pasting the template as shown below at the beginning of a section.
  | 3.3 =
 
  | #Default = {{ambox|type=notice
<div style="width:320px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;">
|small=left
<pre>
|image=[[File:Ambox outdated info.png|22px|link=]]
{{SVersion|X}}
|text=<div style="font-size:85%;">请帮助核对或更新这个 {{#Switch: {{{2|{{{scope|}}} }}}
</pre>
  | section = 段落
</div>
  | infobox = 信息框
Substitute the value for X.
  | table = 表格
 
  | image = 图像
== Parameters ==
  | link = 链接
{| class="wikitable"
  | #Default = 段落
! Parameter
}}。它最近核对为 {{{1| 未知}}} [[Project: 版本管理| 版本]]。</div>
! Explanation
}}{{#ifeq: {{{2|{{{scope|}}}}}} | infobox |
! Default
----
! Status
}}
|-
<includeonly>{{#if: {{{nocat|}}}{{NAMESPACE}}| |{{#Switch: {{{2|{{{scope|}}} }}}
| '''1'''
  | section = [[Category: 可能过时的段落]]
| To specify for which major patch a section was written or updated
  | infobox = [[Category:可能过时的信息框]]
| an unknown version
  | table = [[Category: 可能过时的表格]]
| '''required'''
  | image = [[Category:可能过时的图像]]
|-
  | link = [[Category:可能过时的链接]]
| '''2'''
  | #Default = [[Category: 可能过时的段落]]
| To specify the scope
}}
| section
}}</includeonly>
| '''optional'''
}}<noinclude>
|}
{{Template doc}}
 
<!-- Add metadata to the /doc subpage, not here - thanks! -->
== Values ==
[[Category:版本模板]]
The above parameters can have the following values:
</noinclude>
 
{| class="wikitable"
! Parameter
! style="width:150px;" | Values
! Explanation
|-
| rowspan="2" | '''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.
|}
 
{| class="wikitable"
! Parameter
! style="width:150px;" | Values
! Explanation
|-
| rowspan="4" | '''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 [[User:SolSys|SolSys]].
 
== Examples ==
{|
|- valign="top"
| width="50%" | The following:
<pre>
=== 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.
</pre>
will display:
===  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.
| width="50%" | The following:
<pre>
=== 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.
</pre>
will display:
=== 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.
|}

2022年3月22日 (二) 18:49的版本

[查看] [编辑]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.