Template:Location infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(Expanded)
(Removing the Vendor section, instead, you should be putting it in the summary and their wares on the pages.)
Tags: Manual revert Mobile edit
 
(96 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}}}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|{{#switch:{{{variant}}}|Human=cornflowerblue|cornflowerblue}}}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" 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}}}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} [[File:{{{image|}}}|256px]]
{{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}}
{{!}} 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;" {{!}}
'''{{{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;" {{!}}
{{{planet|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{factions|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{connecting areas|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{area type|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{public events|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{patrol beacons|}}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:9px; line-height:10px;" |&nbsp;
|}<noinclude>
{{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>
{{Location infobox
|name=
|image=
|planet=
|factions=
|connecting areas=
|area type=
|public events=
|patrol beacons=
}}
</pre>
 
For activity locations within a destination on ships, asteroids, or other non-planet objects:
 
<pre>
{{Location infobox
|name=
|image=
|location=
|factions=
|connecting areas=
|area type=
|public events=
|patrol beacons=
}}
</pre>
 
For destinations:
 
<pre>
<pre>
{{Location infobox
{{Location infobox
|image           =  
|name=
|planet          =  
|image=
|factions        =  
|location=
|connecting areas =  
|hostile races=
|area type        =  
|accessibility=
|public events    =  
|landing zones=
|patrol beacons  =  
}}
}}</pre>
</pre>
 
For social spaces:
 
<pre>
{{Location infobox
|name=
|image=
|location=
|accessibility=
|capacity=
}}
</pre>


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

Latest revision as of 10:57, October 30, 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
|name=
|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
|name=
|image=
|location=
|factions=
|connecting areas=
|area type=
|public events=
|patrol beacons=
}}

For destinations:

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

For social spaces:

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