Template:Expansion/doc:修订间差异

(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> '''Expansion''' should be used to indicate which expansion of Europa Universalis 4 must be enabled to use the described content. == Usage == This infobox may be added by copy-pasting the template as shown below at the beginning of a section. <div st…”)
 
无编辑摘要
 
第47行: 第47行:
* votp
* votp
* dow
* cots
| ''Value_Name'' must be enabled
| ''Value_Name'' must be enabled
|-
|-
第82行: 第84行:
<pre>
<pre>
<-- Top of the page/section ->
<-- Top of the page/section ->
{{Expansion|lev|snd}}
{{Expansion|votp|cots}}
<-- Content ->
<-- Content ->
</pre>
</pre>
<-- Top of the page/section ->
<-- Top of the page/section ->
{{Expansion|lev|snd}}
{{Expansion|votp|cots}}
<-- Content -->
<-- Content -->

2024年1月13日 (六) 22:21的最新版本

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

Expansion should be used to indicate which expansion of Europa Universalis 4 must be enabled to use the described content.

Usage

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

{{Expansion|X}}

Substitute the value for X.

Parameters

Parameter Explanation Default Status
1 To specify which expansion must be enabled empty required
2 To specify a second expansion which can be enabled instead of the first empty optional
small as of {{Ambox}} left optional

Values

The above parameters can have the following values:

Parameter Values Explanation
1, 2
  • votp
  • dow
  • cots
Value_Name must be enabled
small left for sections (default)
not left for articles

Examples

Page notification

<-- Top of the page -->
{{Expansion|votp|small=no}}
<-- Content -->

<-- Top of the page -->

<-- Content -->

Section notification

<-- Top of the section -->
{{Expansion|votp}}
<-- Content -->

<-- Top of the section -->

<-- Content -->