Difference between revisions of "Template:Expansion"

From Stellaris Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
|mgc = MegaCorp
 
|mgc = MegaCorp
 
|anr = Ancient Relics
 
|anr = Ancient Relics
|fed = Federations
+
|fed = Federations (DLC)|Federations
 
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Expansion]])</span>}}]] DLC {{#if: {{{2|}}}|''or'' the [[{{#Switch: {{lc:{{{2}}}}}
 
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Expansion]])</span>}}]] DLC {{#if: {{{2|}}}|''or'' the [[{{#Switch: {{lc:{{{2}}}}}
 
|lev = Leviathans
 
|lev = Leviathans
Line 22: Line 22:
 
|mgc = MegaCorp
 
|mgc = MegaCorp
 
|anr = Ancient Relics
 
|anr = Ancient Relics
|fed = Federations
+
|fed = Federations (DLC)|Federations
 
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]] DLC&nbsp;}}enabled.
 
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Expansion]])</span>}}]] DLC&nbsp;}}enabled.
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Revision as of 08:26, 25 March 2020

[view] [edit]Template-info.png Template documentation

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
  • lev
  • utp
  • snd
  • apc
  • dst
  • mgc
  • anr
Value_Name must be enabled
small left for sections (default)
not left for articles

Examples

Page notification

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

<-- Top of the page -->

<-- Content -->

Section notification

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

<-- Top of the section -->

<-- Content -->

Multiple DLCs

<-- Top of the page/section -->
{{Expansion|lev|snd}}
<-- Content -->

<-- Top of the page/section -->

<-- Content -->