Template:Location infobox: Difference between revisions
From Destinypedia, the Destiny wiki
(Adding "enemy" to the parameter broke the template on numerous pages, and there are currently no ally factions in gameplay.) |
No edit summary |
||
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| | {| 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|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=cornflowerblue|#default=cornflowerblue}}}}};" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |
Revision as of 15:01, September 14, 2017
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 = }}