Template:Location
| {{{BG1}}}|000000}}|background: #{{#if:|{{{BG1}}}|000000}}|background:#000000}}; " | Location | |||
|---|---|---|---|
background: #{{{imageBG}}}|{{#if:{{#if:|{{{BG1}}}|5F9EA0}}|background: #{{#if:|{{{BG1}}}|5F9EA0}}|background: #5F9EA0}}}}" |
{{#if:||-||-
|
{{{BG2}}}|5F9EA0 url("/images/3/31/Infobox_subheading_background.png")}}" | LOCATIONAL INFORMATION}}
{{#if:|
| ||
| background: #{{{3}}}|}}" | Locale | background: #{{{3}}}|}}; " | | ||
|- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Planet | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Star system | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Galaxy | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:||-||- ! class="infoboxsubheading" colspan="2" style="background: #{{#if:|{{{BG2}}}|5F9EA0 url("/images/3/31/Infobox_subheading_background.png")}}" | SOCIETAL INFORMATION}}
{{#if:|
|- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Controlled by | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} |}
{{#if:{{#if:|{{{BG1}}}|94C7D1}}||}}
Usage
Copy and paste the following code into your article, then put the relevant details after the "=" signs. Any fields left blank will not be displayed.
{{Location
|name=
|image=
|hidel=
|locale=
|planet=
|system=
|galaxy=
|hides=
|control=
}}
Display parameters
To hide the section headers add one of the following fields and set any value:
- hidel – hides locational information
- hides – hides societal information