Template:Vex infobox: Difference between revisions

m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}")
mNo edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#cc0000}}}; color:{{{color1|#000}}}" cellspacing="0"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#80533C}}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}" {{!}} {{{image|}}}
{{Infobox|section|title={{{section1-title|Statistics}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#80533C}}}|entries=
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{collectives-title|Collectives}}}|content={{{collectives|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{functions-title|Functions}}}|content={{{functions|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{mission-title|Mission}}}|content={{{mission|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#80533C}}}|entries=
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section1-title|Statistics}}}}}
{{Infobox|entry|title={{{weapon(s)-title|Weapon(s)}}}|content={{{weapon(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{!}}-
{{Infobox|entry|title={{{abilities-title|Abilities}}}|content={{{abilities|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{#if:{{{Species|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Species-title|Species}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Species}}}
{{!}}-}}
{{#if:{{{Type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Type-title|Type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Type}}}
{{!}}-}}
{{#if:{{{Collectives|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Collectives-title|Collectives}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Collectives}}}
{{!}}-}}
{{#if:{{{Rank|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Rank-title|Rank}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Rank}}}
{{!}}-}}
{{#if:{{{Functions|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Functions-title|Functions}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Functions}}}
{{!}}-}}
{{#if:{{{Mission|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Mission-title|Mission}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Mission}}}
{{!}}-}}
{{#if:{{{Height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Height}}}
{{!}}-}}
{{#if:{{{Weight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Weight-title|Weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Weight|}}}
}}
}}
{{!}}-
 
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<noinclude>{{clear}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section2-title|Combat information}}}}}
==Usage instructions==
{{!}}-
{{#if:{{{Weapon(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Weapon-title|Weapon(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Weapon(s)}}}
{{!}}-}}
{{#if:{{{Abilities|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Abilities-title|Abilities}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Abilities}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
==Usage==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.


<pre>
<pre>
{{Vex infobox
{{Vex infobox
|name=
|image=
|image=
|name=
|species=
|Species=
|type=
|Type=
|collectives=
|Collectives=
|rank=
|Rank=
|functions=
|Functions=
|mission=
|Mission=
|height=
|Height=
|weight=
|Weight=
|weapon(s)=
|Weapon(s)=
|abilities=
|Abilities=
}}
}}
</pre>
</pre>


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following parameters allow you to customize the infobox colors and section titles:


<pre>
<pre>
|BG=
|BG=
|nameBG=
|imageBG=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=
Line 109: Line 54:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 14:30, August 30, 2024

Vex infobox
 

Usage instructions

Copy and paste the following into the article and fill in the fields.

{{Vex infobox
|name=
|image=
|species=
|type=
|collectives=
|rank=
|functions=
|mission=
|height=
|weight=
|weapon(s)=
|abilities=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|BG=
|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=