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 | {| 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}}} | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! class=" | {{!}} 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=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section1-title|Specifications}}} | ||
}} | |||
{{#if:{{{ | |- | ||
{{!}} class=" | {{#if:{{{name|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{{name-title|Name}}}: | ||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{name}}} | |||
{{#if:{{{ | }} | ||
{{!}} class=" | |- | ||
{{#if:{{{type|}}}| | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | ||
{{{ | {{{type-title|Type}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{#if:{{{ | {{{type}}} | ||
{{!}} class=" | }} | ||
|- | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{#if:{{{rarity|}}}| | ||
{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | ||
{{{rarity-title|Rarity}}}: | |||
{{#if:{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{!}} class=" | {{{rarity}}} | ||
}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | |- | ||
{{{ | {{#if:{{{class|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | |||
{{#if:{{{ | {{{class-title|Class}}}: | ||
{{!}} class=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{class}}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | }} | ||
{{{ | |- | ||
{{#if:{{{minimum level|}}}| | |||
{{#if:{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | ||
{{!}} class=" | {{{minimum level-title|Minimum level}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{{minimum level}}} | ||
{{{ | }} | ||
|- | |||
{{#if:{{{ | {{#if:{{{defense rating|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | ||
{{{defense rating-title|Defense rating}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{ | {{{defense rating}}} | ||
}} | |||
{{#if:{{{ | |- | ||
{{!}} class=" | {{#if:{{{light|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{{light-title|Light}}}: | ||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{light}}} | |||
{{#if:{{{ | }} | ||
{{!}} class=" | |- | ||
{{#if:{{{intellect|}}}| | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | ||
{{{ | {{{intellect-title|Intellect}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{#if:{{{ | {{{intellect}}} | ||
{{!}} class=" | }} | ||
|- | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{#if:{{{discipline|}}}| | ||
{{{ | {{!}} 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=" | {{{discipline}}} | ||
}} | |||
{{#if:{{{ | |- | ||
{{!}} class=" | {{#if:{{{strength|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{{strength-title|Strength}}}: | ||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{strength}}} | |||
{{#if:{{{ | }} | ||
{{!}} class=" | |- | ||
{{#if:{{{hideb|}}}|| | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section2-title|Availability}}} | ||
{{{ | }} | ||
|- | |||
{{#if:{{{ | {{#if:{{{loot drop|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | ||
{{{loot drop-title|Loot drop?}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{ | {{{loot drop}}} | ||
}} | |||
{{#if:{{{ | |- | ||
{{!}} class=" | {{#if:{{{sources|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border- | {{{sources-title|Sources}}}: | ||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{sources}}} | |||
| colspan=2 | }} | ||
|- | |||
{{#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" | | |||
|}<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= | ||
| | |type= | ||
| | |rarity= | ||
| | |class= | ||
| | |minimum level= | ||
| | |defense rating= | ||
| | |light= | ||
| | |intellect= | ||
| | |discipline= | ||
| | |strength= | ||
| | |loot drop= | ||
| | |sources= | ||
| | |vendor= | ||
| | |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=