Template:Vex infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Tag: Mobile edit
 
(77 intermediate revisions by 5 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|#FFF}}}; 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|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{species-title|Species}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{species|}}}
{{!}}-}}
{{#if:{{{collectives|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{collectives-title|Collectives}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{collectives|}}}
{{!}}-}}
{{#if:{{{functions|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{functions-title|Functions}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{functions|}}}
{{!}}-}}
{{#if:{{{mission|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{mission-title|Mission}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{mission|}}}
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{height-title|Height}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{weight|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{weight-title|Weight}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{weight|}}}
}}
}}
{{!}}-
|-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{Species|}}}|
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section2-title|Combat information}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}}-
{{{Species-title|Species}}}:
{{#if:{{{weapon|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{Species}}}
'''{{{weapon-title|Weapon(s)}}}''':
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
|-
{{{weapon|}}}
{{#if:{{{Type|}}}|
{{!}}-}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{#if:{{{ability|}}}|
{{{Type-title|Type}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; 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}}}" {{!}}
'''{{{ability-title|Abilities}}}''':
{{{Type}}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#06C}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
}}
{{{ability|}}}
|-
{{!}}-}}
{{#if:{{{Collectives|}}}|
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
{{!}} 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=
|Species=
|collectives=
|Type=
|functions=
|Collectives=
|mission=
|Rank=
|height=
|Functions=
|weight=
|Mission=
|weapon(s)=
|Height=
|abilities=
|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|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</noinclude>