Template:Location infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(Expanded)
m (Text replacement - "{{!}}-}}" to "}} |-")
 
(72 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; max-width:260px; margin:6px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}}; 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|}}}|
! style="background:{{{imageBG|{{#switch:{{{variant|}}}|Cov=mediumpurple|Human=lightblue|#default=lightblue}}}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} [[File:{{{image|}}}|256px]]
{{!}} 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|}}}|
{{!}} 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}}}:
{{!}} 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|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{location-title|Location}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{location}}}
}}
|-
{{#if:{{{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;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{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;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{factions|}}}
{{{factions}}}
{{!}}-}}
}}
|-
{{#if:{{{hostile races|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{hostile races-title|Hostile races}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hostile races}}}
}}
|-
{{#if:{{{connecting areas|}}}|
{{#if:{{{connecting areas|}}}|
{{!}} 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}}}:
{{!}} 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|}}}|
{{!}} 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}}}:
{{!}} 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|}}}|
{{!}} 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}}}:
{{!}} 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|}}}|
{{!}} 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}}}:
{{!}} 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}}}
{{!}}-}}
}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:9px; line-height:10px;" | 
|-
{{#if:{{{accessibility|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{accessibility-title|Accessibility}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{accessibility}}}
}}
|-
{{#if:{{{landing zones|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{landing zones-title|Landing zones}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{landing zones}}}
}}
|-
{{#if:{{{capacity|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
{{{capacity-title|Player capacity}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{capacity}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
|}<noinclude>
|}<noinclude>
{{clear}}
{{clear}}
==Usage instructions==
==Usage instructions==
Paste the following code into the top of an article, filling all known fields:
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:
 
<pre>
<pre>
{{Location infobox
{{Location infobox
Line 59: Line 102:
}}</pre>
}}</pre>


[[Category:Infobox templates]]
For activity locations within a Destination on ships, asteroids, or other non-planet objects:
</noinclude>
 
<pre>
{{Location infobox
|image            =
|location        =
|factions        =
|connecting areas =
|area type        =
|public events    =
|patrol beacons  =
}}</pre>
 
For Destinations:
 
<pre>
{{Location infobox
|image            =
|location        =
|hostile races    =
|accessibility    =
|landing zones    =
}}</pre>
 
For Social spaces:
 
<pre>
{{Location infobox
|image            =
|location        =
|accessibility    =
|capacity        =
}}</pre>
 
[[Category:Infobox templates]]</noinclude>

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