Jump to content

Template:SystemInfobox: Difference between revisions

From Elite Dangerous Wiki
m Rename Star systems
m Changed to infoboxbuilder
Line 1: Line 1:
<onlyinclude>{| class="eInfobox eWikiColor" style="width: 360px;"
<onlyinclude>{{#infoboxbuilder:
|-
| 0:Theme = eInfobox | 0:CustomModule = Module:SystemInfobox
! colspan=2 style="text-align: center; font-size: 1.2em;" | {{PAGENAME}}
| 1:Type = Title | 1:Label = NULL
|-
| 1:Value = {{PAGENAME}}
! style="width: 120px;" | Controlling Faction
| 2:Type = MainImage | 2:Label = NULL | 2:ValueMethod = MainImage
| {{#if:{{{controller|}}}|{{{controller|}}}|---}}
| 2:Value = {{{image|Placeholder.png}}}
|-
| 3:Type = Line | 3:Label = Controlling Faction
! style="width: 120px;" | Government
| 3:Value = {{{controller|---}}}
| {{#if:{{{government|}}}|{{{government|}}}|---}}
| 4:Type = Line | 4:Label = Government
|-
| 4:Value = {{{government|---}}}
! style="width: 120px;" | Allegiance
| 5:Type = Line | 5:Label = Allegiance | 5:ValueMethod = Allegiance
| {{#if:{{{allegiance|}}}|{{{allegiance|}}}|---}}
| 5:Value = {{{allegiance|}}}
|-
| 6:Type = Line | 6:Label = Power | 6:ValueMethod = Power
! style="width: 120px;" | Population
| 6:Value = {{{power|}}}
| {{#if:{{{population|}}}|{{{population|}}}|---}}
| 7:Type = Line | 7:Label = Population
|-
| 7:Value = {{{population|---}}}
! style="width: 120px;" | Security
| 8:Type = Line | 8:Label = Security | 8:ValueMethod = Allegiance
| {{#if:{{{security|}}}|{{{security|}}}|---}}
| 8:Value = {{{security|}}}
|}<includeonly>
}}<includeonly>
{{#if: {{NAMESPACE}} ||[[Category:Star systems]]}}
{{#if: {{NAMESPACE}} ||[[Category:Star systems]]}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>
Line 26: Line 26:
| government =  
| government =  
| allegiance =  
| allegiance =  
| power      =
| population =  
| population =  
| security  =  
| security  =  

Revision as of 23:46, 26 November 2015

{{#infoboxbuilder: | 0:Theme = eInfobox | 0:CustomModule = Module:SystemInfobox | 1:Type = Title | 1:Label = NULL | 1:Value = SystemInfobox | 2:Type = MainImage | 2:Label = NULL | 2:ValueMethod = MainImage | 2:Value = Placeholder.png | 3:Type = Line | 3:Label = Controlling Faction | 3:Value = --- | 4:Type = Line | 4:Label = Government | 4:Value = --- | 5:Type = Line | 5:Label = Allegiance | 5:ValueMethod = Allegiance | 5:Value = | 6:Type = Line | 6:Label = Power | 6:ValueMethod = Power | 6:Value = | 7:Type = Line | 7:Label = Population | 7:Value = --- | 8:Type = Line | 8:Label = Security | 8:ValueMethod = Allegiance | 8:Value = }}

{{SystemInfobox
| controller = 
| government = 
| allegiance = 
| power      = 
| population = 
| security   = 
}}