Template:Vex infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
m (Text replacement - "==Usage==" to "==Usage instructions==")
 
(82 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#cc0000}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;  color:{{{color1|inherit}}};"
{| 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|white}}}; text-align:center; font-size:120%;" colspan="2" | '''{{{name}}}'''
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|orange}}}; text-align:center; border-bottom:1px solid {{{lineBG|#cc0000}}};" colspan="2" {{!}} {{{image|}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}" {{!}} {{{image}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section1-title|Statistics}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#80533C}}}" {{!}} {{{section1-title|Statistics}}}
{{!}}-
}}
|-
{{#if:{{{species|}}}|
{{#if:{{{species|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{species-title|Species}}}''':
{{{species-title|Species}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{species|}}}
{{{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|}}}|
{{#if:{{{collectives|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{collectives-title|Collectives}}}''':
{{{collectives-title|Collectives}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{collectives|}}}
{{{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|}}}|
{{#if:{{{functions|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{functions-title|Functions}}}''':
{{{functions-title|Functions}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{functions|}}}
{{{functions}}}
{{!}}-}}
}}
|-
{{#if:{{{mission|}}}|
{{#if:{{{mission|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{mission-title|Mission}}}''':
{{{mission-title|Mission}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{mission|}}}
{{{mission}}}
{{!}}-}}
}}
|-
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{height-title|Height}}}''':
{{{height-title|Height}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{height|}}}
{{{height}}}
{{!}}-}}
}}
|-
{{#if:{{{weight|}}}|
{{#if:{{{weight|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{weight-title|Weight}}}''':
{{{weight-title|Weight}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{weight|}}}
{{{weight|}}}
}}
}}
{{!}}-
|-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section2-title|Combat information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#80533C}}}" {{!}} {{{section2-title|Combat information}}}
{{!}}-
}}
{{#if:{{{weapon|}}}|
|-
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{#if:{{{weapon(s)|}}}|
'''{{{weapon-title|Weapon(s)}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{weapon-title|Weapon(s)}}}:
{{{weapon|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}}-}}
{{{weapon(s)}}}
{{#if:{{{ability|}}}|
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
|-
'''{{{ability-title|Abilities}}}''':
{{#if:{{{abilities|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#06C}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{ability|}}}
{{{abilities-title|Abilities}}}:
{{!}}-}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
{{{abilities}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage instructions==
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.


Line 72: Line 94:
|name=
|name=
|species=
|species=
|type=
|collectives=
|collectives=
|rank=
|functions=
|functions=
|mission=
|mission=
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|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</noinclude>

Latest revision as of 10:51, June 1, 2024

Vex infobox
Statistics
Combat information
 

Usage instructions

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=