(创建页面,内容为“{{#Switch: "{{{1|{{{version}}} }}}" | "Time" | "Timeless" | "1.9" = | #Default = {{ambox|type=notice |small=left |image=File:Ambox outdated info.png|22…”) |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
{{#Switch: "{{{1|{{{version}}} }}}" | {{#Switch: "{{{1|{{{version}}}}}}" | ||
| "Time" | | "Time" | ||
| "Timeless" | | "Timeless" | ||
| 第6行: | 第6行: | ||
|small=left | |small=left | ||
|image=[[File:Ambox outdated info.png|22px|link=]] | |image=[[File:Ambox outdated info.png|22px|link=]] | ||
|text=<div style="font-size:85%;"> | |text=<div style="font-size:85%;">{{#Switch: {{{2|{{{scope|}}}}}} | ||
| | | table = 这张表格 | ||
| infobox = | | infobox = 这条信息 | ||
| | | image = 这幅图片 | ||
| | | link = 这篇链接 | ||
| | | section | ||
| #Default = | | #Default = 这部分内容 | ||
}} | }} 可能已不适合当前[[Project: 版本| 版本]] ,最后更新于{{{1|{{{version|未知版本}}}}}} 。</div> | ||
}}{{#ifeq: {{{2|{{{scope|}}}}}} | infobox | | }}{{#ifeq: {{{2|{{{scope|}}}}}} | infobox | | ||
---- | ---- | ||
}} | }} | ||
<includeonly>{{#if: {{{nocat|}}}| |{{#Switch: {{{2|{{{scope|}}} }}} | <includeonly>{{#if: {{{nocat|}}}| |{{#Switch: {{{2|{{{scope|}}}}}} | ||
| | | table = [[Category: 过时表格]] | ||
| infobox = [[Category: | | infobox = [[Category: 过时信息]] | ||
| | | image = [[Category: 过时图片]] | ||
| | | link = [[Category: 过时链接]] | ||
| | | section | ||
| #Default = [[Category: | | #Default = [[Category: 过时内容]] | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||
| 第29行: | 第29行: | ||
{{Template doc}} | {{Template doc}} | ||
<!-- Add metadata to the /doc subpage, not here - thanks! --> | <!-- Add metadata to the /doc subpage, not here - thanks! --> | ||
[[ | [[ 分类: 版本模板]] | ||
</noinclude> | </noinclude> | ||
2020年8月15日 (六) 17:18的版本
|
|
这部分内容可能已不适合当前版本,最后更新于未知版本。 |
SVersion should be used to indicate for which major version of Hearts of Iron 4 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) |
| Time or Timeless | For timeless articles. |
| 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 Meneth.
Examples
The following:
=== Important centers of trade ===
{{SVersion|Timeless}}
Important centers of trade provide:
* {{green|+20}} Trade power
* {{green|+2}} Naval force limit (not for inland centers)
will display: Important centers of tradeImportant centers of trade provide:
|
The following:
=== Important centers of trade ===
{{SVersion|1.6}}
Important centers of trade provide:
* {{green|+10}} Trade power
* {{green|+1}} Naval force limit
will display: Important centers of trade
Important centers of trade provide:
|