Template:Armor infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
m (Text replacement - "The following allows you to alter the title of the sub-sections:" to "The following parameters allow you to customize the infobox colors and section titles:")
 
(100 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox bordered" align="right" style="width: 25em; background:gray; font-size: 95%; color: white"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#000}}}}}
|-
{{Infobox|title|name={{{name|}}}|color={{{color2|#FFD700}}}|bg={{{nameBG|transparent}}}}}
! class="header" colspan="2" | {{{Name}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#000}}}|linebg={{{lineBG|#000}}}}}
|-
 
| class="image" colspan="2" | {{{Image|}}}
{{Infobox|section|title={{{section1-title|Specifications}}}|color={{{color2|#FFD700}}}|bg={{{sectionBG|#000}}}|entries=
|- style="{{#if:{{{Type|}}} | | display: none;}}"
{{Infobox|entry|title={{{name-title|Name}}}|content={{{name|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
! style="width: 1px;" | Type
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
| {{{Type}}}
{{Infobox|entry|title={{{rarity-title|Rarity}}}|content={{{rarity|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
|- style="{{#if:{{{Rarity|}}} | | display: none;}}"
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
! Rarity
{{Infobox|entry|title={{{minimum level-title|Minimum level}}}|content={{{minimum level|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
| {{{Rarity}}}
{{Infobox|entry|title={{{defense rating-title|Defense rating}}}|content={{{defense rating|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
|- style="{{#if:{{{Class|}}} | | display: none;}}"
{{Infobox|entry|title={{{light-title|Light}}}|content={{{light|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
! Class
{{Infobox|entry|title={{{intellect-title|Intellect}}}|content={{{intellect|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
| {{{Class}}}
{{Infobox|entry|title={{{discipline-title|Disicpline}}}|content={{{discipline|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
|- style="{{#if:{{{Minimum Level|}}} | | display: none;}}"
{{Infobox|entry|title={{{strength-title|Strength}}}|content={{{strength|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
! Minimum Level
}}
| {{{Minimum Level}}}
 
|- style="{{#if:{{{Defense Rating|}}} | | display: none;}}"
{{Infobox|section|title={{{section2-title|Availability}}}|color={{{color2|#FFD700}}}|bg={{{sectionBG|#000}}}|entries=
! Defense Rating
{{Infobox|entry|title={{{loot drop-title|Loot drop?}}}|content={{{loot drop|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
| {{{Defense Rating}}}
{{Infobox|entry|title={{{sources-title|Sources}}}|content={{{sources|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
|- style="{{#if:{{{Light|}}} | | display: none;}}"
{{Infobox|entry|title={{{vendor-title|Vendor}}}|content={{{vendor|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
! Light
{{Infobox|entry|title={{{price-title|Price}}}|content={{{price|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
| {{{Light}}}
}}
|- style="{{#if:{{{Loot Drop|}}} | | display: none;}}"
 
! Loot Drop
{{Infobox|end}}<noinclude>{{clear}}
| {{{Loot Drop}}}
==Usage instructions==
|- style="{{#if:{{{Vendor|}}} | | display: none;}}"
Copy and paste the following into the article and fill in the fields.
! Vendor
| {{{Vendor}}}
|- style="{{#if:{{{Price|}}} | | display: none;}}"
! Price
| {{{Price}}}
|}<noinclude>
This template is intended to be used on pages relating to the lore of various characters in the Diablo Universe.


== Usage ==
<pre>
<pre>
{{Armor infobox
{{Armor infobox
|name=
|image=
|type=
|rarity=
|class=
|minimum level=
|defense rating=
|light=
|intellect=
|discipline=
|strength=
|loot drop=
|sources=
|vendor=
|price=
}}
</pre>


|Name            =  
==Custom parameters==
|Image          =
The following parameters allow you to customize the infobox colors and section titles:
|Type            =
|Rarity          =
|Class          =
|Minimum Level  =
|Defense Rating  =  
|Light          =
|Loot Drop      =
|Vendor          =
|Price          =
|Appearances =


}}</pre>
<pre>
|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=
</pre>


[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</noinclude>

Latest revision as of 14:50, June 18, 2024

Armor infobox
 

Usage instructions

Copy and paste the following into the article and fill in the fields.

{{Armor infobox
|name=
|image=
|type=
|rarity=
|class=
|minimum level=
|defense rating=
|light=
|intellect=
|discipline=
|strength=
|loot drop=
|sources=
|vendor=
|price=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=