|
|
(26 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {| class="infobox" style="width:260px; background:{{{BG|#223060}}}; color:{{{color1|#000}}}" cellspacing="0" | | {{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#223060}}}}} |
| ! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| | {{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}} |
| {{!}}-
| | {{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}} |
| {{#if:{{{image|}}}|
| |
| {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
| |
| {{!}}-}}
| |
| {{#if:{{{hidea|}}}|{{!}}-|{{!}}-
| |
| ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Overview}}}}}
| |
| {{!}}-}}
| |
| {{#if:{{{value|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
| |
| {{{value-title|Price}}}:
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
| |
| {{{value|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{stackable|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
| |
| {{{stackable-title|Stackable}}}:
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
| |
| {{{stackable|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{class|}}}| | |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
| |
| {{{class-title|Rarity class}}}:
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
| |
| {{{class|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{loot drop|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
| |
| {{{loot drop-title|Loot drop}}}:
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
| |
| {{{loot drop|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{hidea|}}}|{{!}}-|{{!}}-
| |
| ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Source}}}}}
| |
| {{!}}-}}
| |
| {{#if:{{{source|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
| |
| {{{source-title|Source}}}:
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
| |
| {{{source|}}}
| |
| {{!}}-}}
| |
| | class="infoboxfooter" colspan="2" |
| |
| |}<noinclude>{{clear}}
| |
|
| |
|
| ==Usage== | | {{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries= |
| | {{Infobox|entry|title={{{value-title|Price}}}|content={{{value|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}} |
| | {{Infobox|entry|title={{{stackable-title|Stackable}}}|content={{{stackable|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}} |
| | {{Infobox|entry|title={{{class-title|Rarity class}}}|content={{{class|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}} |
| | {{Infobox|entry|title={{{loot drop-title|Loot drop}}}|content={{{loot drop|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}} |
| | }} |
| | |
| | {{Infobox|section|title={{{section2-title|Source}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries= |
| | {{Infobox|entry|title={{{source-title|Source}}}|content={{{source|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}} |
| | }} |
| | |
| | {{Infobox|end}}<noinclude>{{clear}} |
| | ==Usage instructions== |
| 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> |
| {{Consumable infobox | | {{Consumable infobox |
| |image= | | |name= |
| | |image= |
| |value= | | |value= |
| |stackable= | | |stackable= |
Line 59: |
Line 31: |
|
| |
|
| ==Custom parameters== | | ==Custom parameters== |
| The following allows you to alter the title of the sub-sections: | | The following parameters allow you to customize the infobox colors and section titles: |
|
| |
|
| <pre> | | <pre> |
| | |nameBG= |
| |imageBG= | | |imageBG= |
| |nameBG=
| |
| |sectionBG= | | |sectionBG= |
| |fieldBG= | | |fieldBG= |
Line 71: |
Line 43: |
| |section1-title= | | |section1-title= |
| |section2-title= | | |section2-title= |
| </pre>
| |
|
| |
| ==Display parameters==
| |
| The following allows you to hide the section header
| |
| *hidea (hides Overview header)
| |
| *hideb (hides Source header)
| |
|
| |
| <pre>
| |
| |hidea=
| |
| |hideb=
| |
| </pre> | | </pre> |
|
| |
|
| [[Category:Infobox templates]]</noinclude> | | [[Category:Infobox templates]]</noinclude> |