Jump to content

Template:SystemInfobox: Difference between revisions

From Elite Dangerous Wiki
m Rename Star systems
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{| class="eInfobox eWikiColor" style="width: 360px;"
<infobox theme="portInfobox">
|-
<title><default>{{PAGENAME}}</default></title>
! colspan=2 style="text-align: center; font-size: 1.2em;" | {{PAGENAME}}
<image source="image"><default>Placeholder.png</default></image>
|-
<group>
! style="width: 120px;" | Controlling Faction
    <header>Summary</header>
| {{#if:{{{controller|}}}|{{{controller|}}}|---}}
    <data source="controller"><label>Controlling Faction</label></data>
|-
    <data source="government"><label>Government</label></data>
! style="width: 120px;" | Government
    <data source="allegiance"><label>Allegiance</label><format>{{#switch: {{{allegiance}}}
| {{#if:{{{government|}}}|{{{government|}}}|---}}
| Alliance = [[File:Alliance_vector.svg|27px|link=]] [[Alliance]]
|-
| Empire = [[File:Empire_vector.svg|27px|link=]] [[Empire]]
! style="width: 120px;" | Allegiance
| Federation = [[File:Federation_vector.svg|27px|link=]] [[Federation]]
| {{#if:{{{allegiance|}}}|{{{allegiance|}}}|---}}
| Independent = [[File:Independent icon small.png|27px|link=]] [[Independent]]
|-
| Pilots Federation = [[File:Pilots Federation allegiance icon.png|27px|link=]] [[Pilots Federation]]
! style="width: 120px;" | Population
| None = None
| {{#if:{{{population|}}}|{{{population|}}}|---}}
| #default = [[{{{allegiance}}}]]
|-
}}</format></data>
! style="width: 120px;" | Security
    <data source="population"><label>Population</label></data>
| {{#if:{{{security|}}}|{{{security|}}}|---}}
    <data source="security"><label>Security</label></data>
|}<includeonly>
    <data source="economy"><label>Economy</label></data>
</group>
<group>
    <header>Powerplay</header>
    <data source="power"><label>Power</label><format>{{#switch: {{{power}}}
| Archon Delaine = [[File:Archon_Delaine_vector.svg|27px|link=]]
| Aisling Duval = [[File:Aisling Duval_vector.svg|27px|link=]]
| Arissa Lavigny-Duval = [[File:A Lavigny Duval_vector.svg|27px|link=]]
| Denton Patreus = [[File:Denton Patreus_vector.svg|27px|link=]]
| Edmund Mahon = [[File:Edmund_Mahon_vector.svg|27px|link=]]
| Felicia Winters = [[File:Felicia Winters_vector.svg|27px|link=]]
| Li Yong-Rui = [[File:Li Yong Rui_vector.svg|27px|link=]]
| Pranav Antal = [[File:Pranav Antal_vector.svg|27px|link=]]
| Yuri Grom = [[File:GromLogo.png|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>
<group>
    <header>Engineering</header>
    <data source="engineer"><label>Engineer</label><format>[[{{{engineer}}}]]</format></data>
    <data source="engshop"><label>Workshop</label></data>
    <data source="engloc"><label>Location</label></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
| image      =
| controller =  
| controller =  
| government =  
| government =  
Line 28: Line 53:
| population =  
| population =  
| security  =  
| security  =  
| economy    =
| power      =
| powertype  =
| engineer  =
| engshop    =
| engloc    =
}}
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 01:02, 5 August 2020

{{SystemInfobox
| image      = 
| controller = 
| government = 
| allegiance = 
| population = 
| security   = 
| economy    = 
| power      = 
| powertype  = 
| engineer   = 
| engshop    = 
| engloc     = 
}}