Template:Location infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(Removing the Vendor section, instead, you should be putting it in the summary and their wares on the pages.)
Tags: Manual revert Mobile edit
 
(88 intermediate revisions by 6 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:{{{location|}}}|
{{!}} 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;" {{!}}
'''{{{location-title|Location}}}''':
{{!}} 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;" {{!}}
{{{location|}}}
{{!}}-}}
{{#if:{{{ Enemy 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;" {{!}}
'''{{{Enemy 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;" {{!}}
{{{Enemy 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|}}}|
{{!}} 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;" {{!}}
'''{{{hostile races-title|Hostile Races}}}''':
{{!}} 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;" {{!}}
{{{hostile races|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#if:{{{accessibility|}}}|
{{!}} 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;" {{!}}
'''{{{accessibility-title|Accessibility}}}''':
{{!}} 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;" {{!}}
{{{accessibility|}}}
{{!}}-}}
{{#if:{{{landing zones|}}}|
{{!}} 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;" {{!}}
'''{{{landing zones-title|Landing Zones}}}''':
{{!}} 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;" {{!}}
{{{landing zones|}}}
{{!}}-}}
{{#if:{{{capacity|}}}|
{{!}} 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;" {{!}}
'''{{{capacity-title|Player Capacity}}}''':
{{!}} 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;" {{!}}
{{{capacity|}}}
{{!}}-}}
| 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. 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            =  
|name=
|planet          =  
|image=
|enemy factions  =  
|planet=
|ally 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           =  
|name=
|location         =  
|image=
|factions         =  
|location=
|connecting areas =  
|factions=
|area type       =  
|connecting areas=
|public events   =  
|area type=
|patrol beacons   =  
|public events=
}}</pre>
|patrol beacons=
}}
</pre>
 
For destinations:


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


For Social spaces:
<pre>
<pre>
{{Location infobox
{{Location infobox
|image           =  
|name=
|location         =  
|image=
|accessibility   =  
|location=
|capacity         =  
|accessibility=
}}</pre>
|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=
}}