Template:Location infobox: Difference between revisions

From Destinypedia, the Destiny wiki

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        =  

Revision as of 15:24, August 29, 2017

Location infobox
 

Usage instructions

Paste the following code into the top of an article, filling all known fields. This template is intended for usage on activity location articles (e.g. The Steppes), Destination location articles (e.g. Cosmodrome), and Social space articles (e.g. Tower).

For activity locations within a Destination on planets and moons:

{{Location infobox
|image            = 
|planet           = 
|factions         = 
|connecting areas = 
|area type        = 
|public events    = 
|patrol beacons   = 
}}

For activity locations within a Destination on ships, asteroids, or other non-planet objects:

{{Location infobox
|image            = 
|location         = 
|factions         = 
|connecting areas = 
|area type        = 
|public events    = 
|patrol beacons   = 
}}

For Destinations:

{{Location infobox
|image            = 
|location         = 
|hostile races    = 
|accessibility    = 
|landing zones    = 
}}

For Social spaces:

{{Location infobox
|image            = 
|location         = 
|accessibility    = 
|capacity         = 
}}