Template:Armor infobox: Difference between revisions
From Destinypedia, the Destiny wiki
(Created page with "{| class="infobox bordered" align="right" style="width: 25em; background: black; font-size: 95%; color: white" |- ! class="header" colspan="2" | {{{Name}}} |- | class="image"...") |
m (Text replacement - "; width:100px"" to """) |
||
(88 intermediate revisions by 7 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}}}} | |||
|- | |- | ||
! class=" | {{#if:{{{image|}}}| | ||
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#000}}}; border-bottom:1px solid {{{lineBG|#000}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | |||
}} | |||
|- | |- | ||
| class=" | {{#if:{{{hidea|}}}|| | ||
|- style="{{# | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section1-title|Specifications}}} | ||
! style=" | }} | ||
| {{{ | |- | ||
|- style="{{# | {{#if:{{{name|}}}| | ||
! | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
| {{{ | {{{name-title|Name}}}: | ||
|- style="{{#if:{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{name}}} | |||
| {{{ | }} | ||
|- style="{{#if:{{{ | |- | ||
! | {{#if:{{{type|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
|- style="{{# | {{{type-title|Type}}}: | ||
! | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{type}}} | |||
|- style="{{# | }} | ||
! | |- | ||
{{#if:{{{rarity|}}}| | |||
|- style="{{#if:{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{rarity-title|Rarity}}}: | |||
| {{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
|- style="{{# | {{{rarity}}} | ||
}} | |||
| {{{ | |- | ||
|- style="{{#if:{{{ | {{#if:{{{class|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
| {{{ | {{{class-title|Class}}}: | ||
|}<noinclude> | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | ||
{{{class}}} | |||
}} | |||
|- | |||
{{#if:{{{minimum level|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{minimum level-title|Minimum level}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{minimum level}}} | |||
}} | |||
|- | |||
{{#if:{{{defense rating|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{defense rating-title|Defense rating}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{defense rating}}} | |||
}} | |||
|- | |||
{{#if:{{{light|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{light-title|Light}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{light}}} | |||
}} | |||
|- | |||
{{#if:{{{intellect|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{intellect-title|Intellect}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{intellect}}} | |||
}} | |||
|- | |||
{{#if:{{{discipline|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{discipline-title|Disicpline}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{discipline}}} | |||
}} | |||
|- | |||
{{#if:{{{strength|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{strength-title|Strength}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{strength}}} | |||
}} | |||
|- | |||
{{#if:{{{hideb|}}}|| | |||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section2-title|Availability}}} | |||
}} | |||
|- | |||
{{#if:{{{loot drop|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{loot drop-title|Loot drop?}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{loot drop}}} | |||
}} | |||
|- | |||
{{#if:{{{sources|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{sources-title|Sources}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{sources}}} | |||
}} | |||
|- | |||
{{#if:{{{vendor|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{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}}}" {{!}} | |||
{{{price-title|Price}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}" {{!}} | |||
{{{price}}} | |||
}} | |||
|- | |||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude>{{clear}} | |||
==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= | |||
|intellect= | |||
|discipline= | |||
|strength= | |||
|loot drop= | |||
|sources= | |||
|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 | [[Category:Infobox templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 10:17, May 27, 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=