Template:Location infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
m (Text replacement - "|color={{{color|" to "|color={{{color1|")
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:260px; max-width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=cornflowerblue|#default=cornflowerblue}}}}}"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|{{#switch:{{{variant}}}|Human=cornflowerblue|cornflowerblue}}}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:#fff" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|{{#switch:{{{variant}}}|Human=lightblue|lightblue}}}}}|linebg={{{lineBG|#999}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|transparent}}}|entries=
! style="background:{{{imageBG|{{#switch:{{{variant|}}}|Cov=mediumpurple|Human=lightblue|#default=lightblue}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title={{{planet-title|Planet}}}|content={{{planet|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{location-title|Location}}}|content={{{location|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{factions-title|Enemy factions}}}|content={{{factions|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{hostile races-title|Hostile races}}}|content={{{hostile races|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{connecting areas-title|Connecting areas}}}|content={{{connecting areas|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Gameplay}}}|color={{{color2|#fff}}}|bg={{{sectionBG|transparent}}}|entries=
{{Infobox|entry|title={{{area type-title|Area type}}}|content={{{area type|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{public events-title|Public Events}}}|content={{{public events|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{patrol beacons-title|Patrol beacons}}}|content={{{patrol beacons|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{accessibility-title|Accessibility}}}|content={{{accessibility|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{landing zones-title|Landing zones}}}|content={{{landing zones|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{capacity-title|Player capacity}}}|content={{{capacity|}}}|bg={{{fieldBG|#F0F8FF}}}|linebg={{{lineBG|#999}}}}}
}}
}}
{{!}}-
 
{{#if:{{{planet|}}}|
{{Infobox|end}}<noinclude>{{clear}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{planet-title|Planet}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{planet|}}}
{{!}}-}}
{{#if:{{{location|}}}|
{{!}} class="infoboxcell" 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|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{factions-title|Enemy factions}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{factions|}}}
{{!}}-}}
{{#if:{{{hostile races|}}}|
{{!}} class="infoboxcell" 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|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{connecting areas-title|Connecting areas}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{connecting areas|}}}
{{!}}-}}
{{#if:{{{area type|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{area type-title|Area type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{area type|}}}
{{!}}-}}
{{#if:{{{public events|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{public events-title|Public Events}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{public events|}}}
{{!}}-}}
{{#if:{{{patrol beacons|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px" {{!}}
'''{{{patrol beacons-title|Patrol beacons}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{patrol beacons|}}}
{{!}}-}}
{{#if:{{{accessibility|}}}|
{{!}} class="infoboxcell" 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="infoboxcell" 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="infoboxcell" 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|}}}
{{!}}-}}
| colspan="2" style="text-align:center; line-height:8px" | &nbsp;
|}<noinclude>
{{clear}}
==Usage instructions==
==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]]).
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:
For activity locations within a destination on planets and moons:
 
<pre>
<pre>
{{Location infobox
{{Location infobox
|image           =  
|image=
|planet           =  
|planet=
|factions         =  
|factions=
|connecting areas =  
|connecting areas=
|area type       =  
|area type=
|public events   =  
|public events=
|patrol beacons   =  
|patrol beacons=
}}</pre>
}}
</pre>
 
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
|image           =  
|image=
|location         =  
|location=
|factions         =  
|factions=
|connecting areas =  
|connecting areas=
|area type       =  
|area type=
|public events   =  
|public events=
|patrol beacons   =  
|patrol beacons=
}}</pre>
}}
</pre>
 
For destinations:


For Destinations:
<pre>
<pre>
{{Location infobox
{{Location infobox
|image           =  
|image=
|location         =  
|location=
|hostile races   =  
|hostile races=
|accessibility   =  
|accessibility=
|landing zones   =  
|landing zones=
}}</pre>
}}
</pre>
 
For social spaces:


For Social spaces:
<pre>
<pre>
{{Location infobox
{{Location infobox
|image           =  
|image=
|location         =  
|location=
|accessibility   =  
|accessibility=
|capacity         =  
|capacity=
}}</pre>
}}
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 21:21, June 1, 2024

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