Template:Location infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
(Removing the Vendor section, instead, you should be putting it in the summary and their wares on the pages.)
Tags: Manual revert Mobile edit
 
(99 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| 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;" {{!}}
==Usage instructions==
'''{{{planet-title|Planet}}}''':
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]]).
{{!}} 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|}}}
For activity locations within a destination on planets and moons:
{{!}}-}}
 
{{#if:{{{owner|}}}|
{{!}} 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;" {{!}}
'''{{{owner-title|Owner}}}:'''
{{!}} 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;" {{!}}
{{{owner|}}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:9px; line-height:10px;" |&nbsp;
|}<noinclude>
{{clear}}
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
<pre>
<pre>
{{Location infobox
{{Location infobox
|name=
|image=
|image=
|planet=
|planet=
|owner=
|factions=
}}</pre>
|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>
{{Location infobox
|name=
|image=
|location=
|hostile races=
|accessibility=
|landing zones=
}}
</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=
}}