Template:SystemInfobox: Difference between revisions

m Added economy type
Infobox updated using the portable infobox migration tool
Line 1: Line 1:
<onlyinclude>{{#infoboxbuilder:
<infobox theme="portInfobox">
| 0:Theme = eInfobox | 0:CustomModule = Module:SystemInfobox
<title><default>{{PAGENAME}}</default></title>
| 1:Type = Title | 1:Label = NULL
<image source="image"><default>Placeholder.png</default></image>
| 1:Value = {{PAGENAME}}
<data source="controller"><label>Controlling Faction</label><default>---</default></data>
| 2:Type = MainImage | 2:Label = NULL | 2:ValueMethod = MainImage
<data source="government"><label>Government</label><default>---</default></data>
| 2:Value = {{{image|Placeholder.png}}}
<data source="allegiance"><label>Allegiance</label><format>{{#switch: {{{allegiance}}}
| 3:Type = Line | 3:Label = Controlling Faction
| Alliance = [[File:Alliance_vector.svg|27px|link=]]
| 3:Value = {{{controller|---}}}
| Empire = [[File:Empire_vector.svg|27px|link=]]
| 4:Type = Line | 4:Label = Government
| Federation = [[File:Federation_vector.svg|27px|link=]]
| 4:Value = {{{government|---}}}
}} [[{{{allegiance}}}]]</format></data>
| 5:Type = Line | 5:Label = Allegiance | 5:ValueMethod = Allegiance
<data source="population"><label>Population</label><default>---</default></data>
| 5:Value = {{{allegiance|}}}
<data source="security"><label>Security</label></data>
| 6:Type = Line | 6:Label = Population
<data source="economy"><label>Economy type</label></data>
| 6:Value = {{{population|---}}}
<group>
| 7:Type = Line | 7:Label = Security
    <header>Powerplay</header>
| 7:Value = {{{security|}}}
    <data source="power"><label>Power</label><format>{{#switch: {{{power}}}
| 8:Type = Line | 8:Label = Economy type
| Archon Delaine = [[File:Archon_Delaine_vector.svg|27px|link=]]
| 8:Value = {{{economy|}}}
| Aisling Duval = [[File:Aisling Duval_vector.svg|27px|link=]]
 
| Arissa Lavigny-Duval = [[File:A Lavigny Duval_vector.svg|27px|link=]]
| 9:Type = Header | 9:Label = NULL | 9:Value = Powerplay
| Denton Patreus = [[File:Denton Patreus_vector.svg|27px|link=]]
| 10:Type = Line | 10:Label = Power | 10:ValueMethod = Power
| Edmund Mahon = [[File:Edmund_Mahon_vector.svg|27px|link=]]
| 10:Value = {{{power|}}}
| Felicia Winters = [[File:Felicia Winters_vector.svg|27px|link=]]
| 11:Type = Line | 11:Label = Type | 11:ValueMethod = Quantify | 11:Unit = system
| Li Yong-Rui = [[File:Li Yong Rui_vector.svg|27px|link=]]
| 11:Value = {{{powertype|}}}
| Simguru Pranav Antal
}}<includeonly>
| Pranav Antal = [[File:Pranav Antal_vector.svg|27px|link=]]
| Zachary Hudson = [[File:Zachary Hudson_vector.svg|27px|link=]]
| Zemina Torval = [[File:Zemina Torval_vector.svg|27px|link=]]
}} [[{{{power}}}]]</format></data>
    <data source="powertype"><label>Type</label><format>{{{powertype}}} system</format></data>
</group>
</infobox><includeonly>
{{#if: {{NAMESPACE}} ||[[Category:Star systems]]}}
{{#if: {{NAMESPACE}} ||[[Category:Star systems]]}}
</includeonly></onlyinclude>
</includeonly><noinclude>
<noinclude>
<pre style="width: 300px">
<pre style="width: 300px">
{{SystemInfobox
{{SystemInfobox