Template:Armor infobox: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary |
m (Cleaning up the infobox to match Weapons.) |
||
Line 1: | Line 1: | ||
{| class="infobox | {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; background:{{{BG|#223060}}}; 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|#000}}};" | ||
{{!}}- | |||
! | ! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
{{!}}- | |||
| | {{#if:{{{image|}}}| | ||
|- style="{{#if:{{{ | ! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}} | ||
! style=" | }} | ||
| {{{Type}}} | {{!}}- | ||
|- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Specifications}}}}} | |||
| {{{Rarity}}} | {{!}}- | ||
{{#if:{{{Name|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
| {{{Class}}} | '''{{{Name-title|Name}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Name|}}} | |||
| {{{Minimum Level}}} | {{!}}-}} | ||
{{#if:{{{Type|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
| {{{Defense Rating}}} | '''{{{Type-title|Type}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Type|}}} | |||
| {{{Light}}} | {{!}}-}} | ||
|- style="{{#if:{{{Loot Drop|}}} | | | {{#if:{{{Rarity|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
| {{{Loot Drop}}} | '''{{{Rarity-title|Rarity}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Rarity|}}} | |||
| {{{ | {{!}}-}} | ||
|- style="{{# | {{#if:{{{Class|}}}| | ||
! | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
| {{{ | '''{{{Class-title|Class}}}''': | ||
|}<noinclude> | {{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{Class|}}} | |||
{{!}}-}} | |||
{{#if:{{{Minimum Level|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{Minimum Level-title|Minimum Level}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Minimum Level|}}} | |||
{{!}}-}} | |||
{{#if:{{{Defense Rating|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{Defense Rating-title|Defense Rating}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Defense Rating|}}} | |||
{{!}}-}} | |||
{{#if:{{{Light|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{Light-title|Light}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Light|}}} | |||
{{!}}-}} | |||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Availability}}}}} | |||
{{!}}- | |||
{{#if:{{{Loot Drop|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{Loot Drop-title|Loot Drop?(Y/N)}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Loot Drop|}}} | |||
{{!}}-}} | |||
{{#if:{{{Vendor|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{Vendor-title|Vendor}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{ammo|}}} | |||
{{!}}-}} | |||
{{#if:{{{Price|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{Price-title|Price}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{Price|}}} | |||
{{!}}-}} | |||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | | |||
|}<noinclude>{{clear}} | |||
== Usage == | |||
==Usage== | |||
Copy and paste the following into the article and fill in the fields. | |||
<pre> | <pre> | ||
{{Armor infobox | {{Armor infobox | ||
|image= | |||
|Name= | |||
|Type= | |||
|Rarity= | |||
|Class= | |||
|Minimum Level= | |||
|Defense Rating= | |||
|Light= | |||
|Loot Drop= | |||
|Vendor= | |||
|Price= | |||
}} | |||
</pre> | |||
==Custom parameters== | |||
The following allows you to alter the title of the sub-sections: | |||
<pre> | |||
|imageBG= | |||
|nameBG= | |||
|sectionBG= | |||
|fieldBG= | |||
|titleBG= | |||
|color1= | |||
|color2= | |||
|section1-title= | |||
|section2-title= | |||
</pre> | |||
==Display parameters== | |||
The following allows you to hide the section header | |||
*hidea (hides Specs section header) | |||
*hideb (hides Availability section header) | |||
<pre> | |||
|hidea= | |||
|hideb= | |||
| | |||
| | |||
</pre> | |||
[[Category:Infobox templates|{{PAGENAME}}]] | [[Category:Infobox templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 08:52, April 29, 2015
Armor infobox | |
---|---|
Specifications | |
Availability | |
Usage
Copy and paste the following into the article and fill in the fields.
{{Armor infobox |image= |Name= |Type= |Rarity= |Class= |Minimum Level= |Defense Rating= |Light= |Loot Drop= |Vendor= |Price= }}
Custom parameters
The following allows you to alter the title of the sub-sections:
|imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |color1= |color2= |section1-title= |section2-title=
Display parameters
The following allows you to hide the section header
- hidea (hides Specs section header)
- hideb (hides Availability section header)
|hidea= |hideb=