Template:Test
| {{{BG1}}}|000000}}|background: #{{#if:|{{{BG1}}}|000000}}|background:#000000}}; " | Test | |||
|---|---|---|---|
background: #{{{imageBG}}}|{{#if:{{#if:|{{{BG1}}}|5F9EA0}}|background: #{{#if:|{{{BG1}}}|5F9EA0}}|background: #5F9EA0}}}}" |
{{#if:||-||-
|
{{{BG2}}}|5F9EA0 url("/images/3/31/Infobox_subheading_background.png")}}" | BIOGRAPHICAL INFORMATION}}
{{#if:|
| ||
| background: #{{{3}}}|}}" | Race | background: #{{{3}}}|}}; " | | ||
|- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Home planet | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Gender | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Born | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Died | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:||-||- ! class="infoboxsubheading" colspan="2" style="background: #{{#if:|{{{BG2}}}|5F9EA0 url("/images/3/31/Infobox_subheading_background.png")}}" | SOCIAL INFORMATION}}
{{#if:|
|- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Rank | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Title | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Occupation | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Allegiances | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:||-||- ! class="infoboxsubheading" colspan="2" style="background: #{{#if:|{{{BG2}}}|5F9EA0 url("/images/3/31/Infobox_subheading_background.png")}}" | OUT OF UNIVERSE INFORMATION}}
{{#if:|
|- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Appearances | class="infoboxcell" style="{{#if:|background: #{{{3}}}|}}; " |
|- |}} {{#if:| |- | class="infoboxlabel" style="{{#if:|background: #{{{3}}}|}}" | Portrayed 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.
{{Test
|name=
|image=
|hideb=
|race=
|home planet=
|gender=
|born=
|died=
|hides=
|rank=
|title=
|occupation=
|allegiances=
|hideo=
|appearances=
|portrayer=
}}
Display parameters
To hide the section headers add one of the following fields and set any value:
- hideb – hides biographical information
- hides – hides social information
- hideo – hides out of universe information