Template:Location infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "margin:0 0 1em 1em; padding:2px; " to "")
m (Text replacement - "{{!}}-}}" to "}} |-")
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; max-width:260px; border-radius:0 0 .7em .7em; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=cornflowerblue|#default=cornflowerblue}}}}};"
{| class="infobox" style="width:260px; max-width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=cornflowerblue|#default=cornflowerblue}}}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! class="infoboxcell" style="background:{{{imageBG|{{#switch:{{{variant|}}}|Cov=mediumpurple|Human=lightblue|#default=lightblue}}}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|{{#switch:{{{variant|}}}|Cov=mediumpurple|Human=lightblue|#default=lightblue}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{planet|}}}|
{{#if:{{{planet|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{planet-title|Planet}}}''':
{{{planet-title|Planet}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{planet|}}}
{{{planet}}}
{{!}}-}}
}}
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{location-title|Location}}}''':
{{{location-title|Location}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{location|}}}
{{{location}}}
{{!}}-}}
}}
|-
{{#if:{{{factions|}}}|
{{#if:{{{factions|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{factions-title|Enemy Factions}}}''':
{{{factions-title|Enemy factions}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{factions|}}}
{{{factions}}}
{{!}}-}}
}}
|-
{{#if:{{{hostile races|}}}|
{{#if:{{{hostile races|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{hostile races-title|Hostile Races}}}''':
{{{hostile races-title|Hostile races}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hostile races|}}}
{{{hostile races}}}
{{!}}-}}
}}
|-
{{#if:{{{connecting areas|}}}|
{{#if:{{{connecting areas|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{connecting areas-title|Connecting Areas}}}''':
{{{connecting areas-title|Connecting areas}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{connecting areas|}}}
{{{connecting areas}}}
{{!}}-}}
}}
|-
{{#if:{{{area type|}}}|
{{#if:{{{area type|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{area type-title|Area Type}}}''':
{{{area type-title|Area type}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{area type|}}}
{{{area type}}}
{{!}}-}}
}}
|-
{{#if:{{{public events|}}}|
{{#if:{{{public events|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{public events-title|Public Events}}}''':
{{{public events-title|Public Events}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{public events|}}}
{{{public events}}}
{{!}}-}}
}}
|-
{{#if:{{{patrol beacons|}}}|
{{#if:{{{patrol beacons|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{patrol beacons-title|Patrol Beacons}}}''':
{{{patrol beacons-title|Patrol beacons}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{patrol beacons|}}}
{{{patrol beacons}}}
{{!}}-}}
}}
|-
{{#if:{{{accessibility|}}}|
{{#if:{{{accessibility|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{accessibility-title|Accessibility}}}''':
{{{accessibility-title|Accessibility}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{accessibility|}}}
{{{accessibility}}}
{{!}}-}}
}}
|-
{{#if:{{{landing zones|}}}|
{{#if:{{{landing zones|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{landing zones-title|Landing Zones}}}''':
{{{landing zones-title|Landing zones}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{landing zones|}}}
{{{landing zones}}}
{{!}}-}}
}}
|-
{{#if:{{{capacity|}}}|
{{#if:{{{capacity|}}}|
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{capacity-title|Player Capacity}}}''':
{{{capacity-title|Player capacity}}}:
{{!}} class="infoboxcell" 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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{capacity|}}}
{{{capacity}}}
{{!}}-}}
}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:9px; line-height:10px;" | 
|-
| class="infoboxfooter" colspan="2" |  
|}<noinclude>
|}<noinclude>
{{clear}}
{{clear}}
Line 80: Line 90:


For activity locations within a Destination on planets and moons:
For activity locations within a Destination on planets and moons:
<pre>
<pre>
{{Location infobox
{{Location infobox
Line 92: Line 103:


For activity locations within a Destination on ships, asteroids, or other non-planet objects:
For activity locations within a Destination on ships, asteroids, or other non-planet objects:
<pre>
<pre>
{{Location infobox
{{Location infobox
Line 104: Line 116:


For Destinations:
For Destinations:
<pre>
<pre>
{{Location infobox
{{Location infobox
Line 114: Line 127:


For Social spaces:
For Social spaces:
<pre>
<pre>
{{Location infobox
{{Location infobox

Latest revision as of 10:16, October 18, 2022

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         = 
}}