Template:Location infobox: Difference between revisions

Adding "enemy" to the parameter broke the template on numerous pages, and there are currently no ally factions in gameplay.
No edit summary
(Adding "enemy" to the parameter broke the template on numerous pages, and there are currently no ally factions in gameplay.)
Line 19: Line 19:
{{{location|}}}
{{{location|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{ enemy factions|}}}|
{{#if:{{{factions|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}}
'''{{{enemy factions-title|Enemy Factions}}}''':
'''{{{factions-title|Enemy Factions}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}}
{{{enemy factions|}}}
{{{factions|}}}
{{!}}-}}
{{#if:{{{ ally factions|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; padding-right:2px; line-height:14px; width:70px;" {{!}}
'''{{{ally factions-title|Ally Factions}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}}
{{{ally factions|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hostile races|}}}|
{{#if:{{{hostile races|}}}|
Line 90: Line 84:
|image            =  
|image            =  
|planet          =  
|planet          =  
|enemy factions   =
|factions         =  
|ally factions    =
|connecting areas =  
|connecting areas =  
|area type        =  
|area type        =