Template:Armor infobox: Difference between revisions

m (Text replacement - "font-size: *90%; padding: *0 0 0 2px; line-height: *14px; " to "")
mNo edit summary
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#000000}}}; color:{{{color1|#000}}};"
{| class="infobox" style="width:260px; background:{{{BG|#000}}}; color:{{{color1|#000}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFD700}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFD700}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! class="infoboxcell" style="background:{{{imageBG|#000000}}}; text-align:center; border-bottom:1px solid {{{lineBG|#FFD700}}}; padding: 0;" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#000}}}; border-bottom:1px solid {{{lineBG|#000}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFD700}}}; text-align:center; background:{{{sectionBG|#000000}}}" {{!}} {{{section1-title|Specifications}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section1-title|Specifications}}}
{{!}}-
}}
{{#if:{{{Name|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{#if:{{{name|}}}|
'''{{{Name-title|Name}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{name-title|Name}}}:
{{{Name|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{!}}-}}
{{{name}}}
{{#if:{{{Type|}}}|
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
|-
'''{{{Type-title|Type}}}''':
{{#if:{{{type|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{{Type|}}}
{{{type-title|Type}}}:
{{!}}-}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{#if:{{{Rarity|}}}|
{{{type}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
}}
'''{{{Rarity-title|Rarity}}}''':
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{#if:{{{rarity|}}}|
{{{Rarity|}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}}-}}
{{{rarity-title|Rarity}}}:
{{#if:{{{Class|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{{rarity}}}
'''{{{Class-title|Class}}}''':
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
|-
{{{Class|}}}
{{#if:{{{class|}}}|
{{!}}-}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{#if:{{{Minimum Level|}}}|
{{{class-title|Class}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
'''{{{Minimum Level-title|Minimum level}}}''':
{{{class}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
}}
{{{Minimum Level|}}}
|-
{{!}}-}}
{{#if:{{{minimum level|}}}|
{{#if:{{{Defense Rating|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{{minimum level-title|Minimum level}}}:
'''{{{Defense Rating-title|Defense rating}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{minimum level}}}
{{{Defense Rating|}}}
}}
{{!}}-}}
|-
{{#if:{{{Light|}}}|
{{#if:{{{defense rating|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
'''{{{Light-title|Light}}}''':
{{{defense rating-title|Defense rating}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{{Light|}}}
{{{defense rating}}}
{{!}}-}}
}}
{{#if:{{{Intellect|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{#if:{{{light|}}}|
'''{{{Intellect-title|Intellect}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{light-title|Light}}}:
{{{Intellect|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{!}}-}}
{{{light}}}
{{#if:{{{Discipline|}}}|
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
|-
'''{{{Discipline-title|Disicpline}}}''':
{{#if:{{{intellect|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{{Discipline|}}}
{{{intellect-title|Intellect}}}:
{{!}}-}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{#if:{{{Strength|}}}|
{{{intellect}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
}}
'''{{{Strength-title|Strength}}}''':
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{#if:{{{discipline|}}}|
{{{Strength|}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}}-}}
{{{discipline-title|Disicpline}}}:
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFD700}}}; text-align:center; background:{{{sectionBG|#000000}}}" {{!}} {{{section2-title|Availability}}}}}
{{{discipline}}}
{{!}}-
}}
{{#if:{{{Loot Drop|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{#if:{{{strength|}}}|
'''{{{Loot Drop-title|Loot drop?}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{strength-title|Strength}}}:
{{{Loot Drop|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{!}}-}}
{{{strength}}}
{{#if:{{{Sources|}}}|
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
|-
'''{{{Sources-title|Sources}}}''':
{{#if:{{{hideb|}}}||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section2-title|Availability}}}
{{{Sources|}}}
}}
{{!}}-}}
|-
{{#if:{{{Vendor|}}}|
{{#if:{{{loot drop|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
'''{{{Vendor-title|Vendor}}}''':
{{{loot drop-title|Loot drop?}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{{Vendor|}}}
{{{loot drop}}}
{{!}}-}}
}}
{{#if:{{{Price|}}}|
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; width:100px;" {{!}}
{{#if:{{{sources|}}}|
'''{{{Price-title|Price}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-bottom:1px solid {{{lineBG|#000000}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{sources-title|Sources}}}:
{{{Price|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{!}}-}}
{{{sources}}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" |&nbsp;
}}
|-
{{#if:{{{vendor|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{{vendor-title|Vendor}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{{vendor}}}
}}
|-
{{#if:{{{price|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{{price-title|Price}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}}
{{{price}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}


==Usage==
==Usage==
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.
<pre>  
 
<pre>
{{Armor infobox
{{Armor infobox
|image=
|image=
|Name=
|name=
|Type=  
|type=  
|Rarity=  
|rarity=  
|Class=
|class=
|Minimum Level=
|minimum level=
|Defense Rating=  
|defense rating=  
|Light=
|light=
|Intellect=
|intellect=
|Discipline=
|discipline=
|Strength=  
|strength=  
|Loot Drop=
|loot drop=
|Sources=  
|sources=  
|Vendor=
|vendor=
|Price=
|price=
}}
}}
</pre>
</pre>
Line 125: Line 140:
==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>
|imageBG=
|imageBG=
Line 145: Line 161:
|hidea=
|hidea=
|hideb=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 16:50, May 25, 2024

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=
|intellect=
|discipline=
|strength= 
|loot drop=
|sources= 
|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=