Template:Vex infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "! class="infoboxcell"" to "! ") |
No edit summary Tag: Mobile edit |
||
(38 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| class="infobox" style="width:260px; background:{{{BG|#80533C}}}; color:{{{color1|#000}}}" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2| | |- | ||
{{#if:{{{image|}}}| | |||
{{#if:{{{ | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}" {{!}} {{{image}}} | ||
! | |||
}} | }} | ||
|- | |||
{{#if:{{{hidea|}}}| | {{#if:{{{hidea|}}}|| | ||
! colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#80533C}}}" {{!}} {{{section1-title|Statistics}}} | ||
}} | |||
|- | |||
{{#if:{{{Species|}}}| | {{#if:{{{Species|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Species-title|Species}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Species | {{{Species}}} | ||
}} | |||
|- | |||
{{#if:{{{Type|}}}| | {{#if:{{{Type|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Type-title|Type}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Type | {{{Type}}} | ||
}} | |||
|- | |||
{{#if:{{{Collectives|}}}| | {{#if:{{{Collectives|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Collectives-title|Collectives}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Collectives | {{{Collectives}}} | ||
}} | |||
|- | |||
{{#if:{{{Rank|}}}| | {{#if:{{{Rank|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Rank-title|Rank}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Rank | {{{Rank}}} | ||
}} | |||
|- | |||
{{#if:{{{Functions|}}}| | {{#if:{{{Functions|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Functions-title|Functions}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Functions | {{{Functions}}} | ||
}} | |||
|- | |||
{{#if:{{{Mission|}}}| | {{#if:{{{Mission|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Mission-title|Mission}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Mission | {{{Mission}}} | ||
}} | |||
|- | |||
{{#if:{{{Height|}}}| | {{#if:{{{Height|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Height-title|Height}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Height | {{{Height}}} | ||
}} | |||
|- | |||
{{#if:{{{Weight|}}}| | {{#if:{{{Weight|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Weight-title|Weight}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Weight|}}} | {{{Weight|}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hideb|}}}| | {{#if:{{{hideb|}}}|| | ||
! colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#80533C}}}" {{!}} {{{section2-title|Combat information}}} | ||
}} | |||
|- | |||
{{#if:{{{Weapon(s)|}}}| | {{#if:{{{Weapon(s)|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Weapon-title|Weapon(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Weapon(s) | {{{Weapon(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{Abilities|}}}| | {{#if:{{{Abilities|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Abilities-title|Abilities}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Abilities | {{{Abilities}}} | ||
}} | |||
| colspan=2 | |- | ||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== | ||
Line 81: | Line 91: | ||
<pre> | <pre> | ||
{{Vex infobox | {{Vex infobox | ||
| | |image= | ||
|name= | |name= | ||
|Species= | |Species= | ||
Line 98: | Line 108: | ||
==Custom parameters== | ==Custom parameters== | ||
The following allows you to alter the title of the sub-sections: | The following allows you to alter the title of the sub-sections: | ||
<pre> | <pre> | ||
|BG= | |BG= |
Revision as of 14:18, December 3, 2023
Vex infobox | |
---|---|
Statistics | |
Combat information | |
Usage
Copy and paste the following into the article and fill in the fields.
{{Vex infobox |image= |name= |Species= |Type= |Collectives= |Rank= |Functions= |Mission= |Height= |Weight= |Weapon(s)= |Abilities= }}
Custom parameters
The following allows you to alter the title of the sub-sections:
|BG= |imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |color1= |color2= |section1-title= |section2-title=
Display parameters
The following allows you to hide the section header
- hidea (hides Bio section header)
- hideb (hides Politic/Military section header)
|hidea= |hideb=