Template:Vex infobox: Difference between revisions
From Destinypedia, the Destiny wiki
(eureka!!! "I know how to make templates." "A little.") |
No edit summary Tag: Mobile edit |
||
(74 intermediate revisions by 5 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:{{{image|}}}| | ||
! style="background:{{{imageBG|# | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}" {{!}} {{{image}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hidea|}}}| | {{#if:{{{hidea|}}}|| | ||
! class="infoboxsubheading" colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#80533C}}}" {{!}} {{{section1-title|Statistics}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{ | {{#if:{{{Species|}}}| | ||
! class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{ | {{{Species-title|Species}}}: | ||
{{#if:{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{!}} style=" | {{{Species}}} | ||
}} | |||
{{!}} style=" | |- | ||
{{{ | {{#if:{{{Type|}}}| | ||
{{!}}-}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{#if:{{{ | {{{Type-title|Type}}}: | ||
{{!}} style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{Type}}} | |||
{{!}} style=" | }} | ||
{{{ | |- | ||
{{!}}-}} | {{#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|}}}|| | |||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#80533C}}}" {{!}} {{{section2-title|Combat information}}} | |||
}} | |||
|- | |||
{{#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" | | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== | ||
Line 71: | Line 93: | ||
|image= | |image= | ||
|name= | |name= | ||
| | |Species= | ||
| | |Type= | ||
| | |Collectives= | ||
| | |Rank= | ||
| | |Functions= | ||
| | |Mission= | ||
| | |Height= | ||
| | |Weight= | ||
|Weapon(s)= | |||
|Abilities= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 84: | 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= | ||
Line 107: | Line 132: | ||
</pre> | </pre> | ||
[[Category:Infobox templates | [[Category:Infobox templates]]</noinclude> | ||
</noinclude> |
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=