Game widow (talk | contribs) No edit summary |
m (pages using the desc infobox parameter) |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {| class="infoboxtable" |
||
− | {| style="border: 1px solid #676767; ; font-size: 90%; width: 25em; float: right; margin-bottom: 5px; margin-left: 5px;" |
||
|- |
|- |
||
− | + | ! colspan="2" class="infoboxname" | {{{name|{{BASEPAGENAME}}}}} |
|
− | |- |
+ | |-style="{{#if: {{{image|}}}| text-align: center; | display: none;}}" |
− | | colspan="2 |
+ | | colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}|350x200px]] }} |
− | |- style="{{#if: {{{imageF|}}}{{{imageM|}}}| | display: none;}}" |
+ | |- style="{{#if: {{{imageF|}}}{{{imageM|}}}| background: #000000; text-align: center; | display: none;}}" |
− | | colspan="2 |
+ | | colspan="2" | |
− | {{#if: {{{imageF|}}}|{{#if: {{{imageM|}}}|{{#tag:tabber| Female version = [[File:{{{imageF}}}|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]] |
+ | {{#if: {{{imageF|}}}|{{#if: {{{imageM|}}}|{{#tag:tabber| Female version = [[File:{{{imageF}}}|center|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]] |
{{!}}-{{!}} |
{{!}}-{{!}} |
||
− | Male version=[[File:{{{imageM}}}|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]]}} }} }} |
+ | Male version=[[File:{{{imageM}}}|center|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]]}} }} }} |
− | |- style="{{#if: {{{imageA|}}}{{{imageB|}}}{{{imageC|}}}| | display: none;}}" |
+ | |- style="{{#if: {{{imageA|}}}{{{imageB|}}}{{{imageC|}}}| text-align: center; | display: none;}}" |
− | | colspan="2 |
+ | | colspan="2" | |
− | {{#if: {{{imageA|}}}|{{#if: {{{imageB|}}}|{{#tag:tabber| {{{tabA}}} = [[File:{{{imageA}}}|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]] |
+ | {{#if: {{{imageA|}}}|{{#if: {{{imageB|}}}|{{#tag:tabber| {{{tabA}}} = [[File:{{{imageA}}}|center|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]] |
{{!}}-{{!}} |
{{!}}-{{!}} |
||
− | {{{tabB}}}=[[File:{{{imageB}}}|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]]{{#if: {{{imageC|}}}| |
+ | {{{tabB}}}=[[File:{{{imageB}}}|center|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]]{{#if: {{{imageC|}}}| |
{{!}}-{{!}} |
{{!}}-{{!}} |
||
− | {{{tabC}}} |
+ | {{{tabC}}}=[[File:{{{imageC}}}|center|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]]}} }} }} }} |
|- style="{{#if: {{{extra|}}}| | display: none;}}" |
|- style="{{#if: {{{extra|}}}| | display: none;}}" |
||
| colspan="2" style="text-align: center;" | {{{extra}}} |
| colspan="2" style="text-align: center;" | {{{extra}}} |
||
⚫ | |||
− | |- style="{{#if: {{{type|}}}| | display: none;}}" |
||
⚫ | |||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Type |
||
+ | |- |
||
⚫ | |||
− | + | {{#if: {{{skilltree|}}} | {{!}} <div>Skill Tree</div> {{!!}} {{{skilltree}}} }} |
|
+ | |- |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Skill Tree |
||
+ | {{#if: {{{slot|}}} | {{!}} <div>Slot</div> {{!!}} {{{slot}}} }} |
||
− | | [[{{{skilltree|}}}]] |
||
+ | |- |
||
− | |- style="{{#if: {{{slot|}}}| | display: none;}}" |
||
+ | {{#if: {{{damage|}}} | {{!}} <div>[[Damage]]</div> {{!!}} {{{damage}}} }} |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Slot |
||
+ | |- |
||
⚫ | |||
− | + | {{#if: {{{armor|}}} | {{!}} <div>[[Armor rating|Armor]]</div> {{!!}} {{{armor}}} }} |
|
+ | |- |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | [[Damage]] |
||
+ | {{#if: {{{weight|}}} | {{!}} <div>Weight</div> {{!!}} {{{weight}}} }} |
||
− | | {{{damage|}}} |
||
+ | |- |
||
− | |- style="{{#if: {{{armor|}}}| | display: none;}}" |
||
+ | {{#if: {{{value|}}} | {{!}} <div>Base Value</div> {{!!}} {{{value}}} }} |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | [[Armor rating|Armor]] |
||
+ | |- |
||
− | | {{{armor|}}} |
||
− | + | {{#if: {{{level|}}} | {{!}} <div>Level</div> {{!!}} {{{level}}} }} |
|
+ | |- |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Weight |
||
+ | {{#if: {{{set|}}} | {{!}} <div>Set name</div> {{!!}} {{{set}}} }} |
||
− | | {{{weight|}}} |
||
+ | |- |
||
− | |- style="{{#if:{{{value|}}}| | display: none;}}" |
||
+ | {{#if: {{{previous|}}} | {{!}} <div>Previous volume</div> {{!!}} [[{{{previous}}}]] }} |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Base Value |
||
+ | |- |
||
− | | {{{value|}}} |
||
− | + | {{#if: {{{next|}}} | {{!}} <div>Next volume</div> {{!!}} [[{{{next}}}]] }} |
|
+ | |- |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Level |
||
+ | {{#if: {{{ingredients|}}} | {{!}} <div>Ingredients</div> {{!!}} {{{ingredients}}} }} |
||
− | | {{{level|}}} |
||
+ | |- |
||
− | |- style="{{#if:{{{set|}}}| | display: none;}}" |
||
+ | {{#if: {{{upgrade|}}} | {{!}} <div>Upgrade Ingredient</div> {{!!}} {{{upgrade}}} }} |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Set name |
||
− | | {{{set|}}} |
||
− | |- style="{{#if:{{{previous|}}}| | display: none;}}" |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Previous volume |
||
− | | [[{{{previous|}}}]] |
||
− | |- style="{{#if:{{{next|}}}| | display: none;}}" |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Next volume |
||
− | | [[{{{next|}}}]] |
||
− | |- style="{{#if:{{{ingredients|}}}| | display: none;}}" |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Ingredients |
||
− | | {{{ingredients|}}} |
||
− | |- style="{{#if: {{{upgrade|}}}| | display: none;}}" |
||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Upgrade Ingredient |
||
− | | {{{upgrade|}}} |
||
<includeonly> |
<includeonly> |
||
{{#if: {{{id|}}}| |
{{#if: {{{id|}}}| |
||
Line 64: | Line 51: | ||
|#default = |
|#default = |
||
{{!}}- |
{{!}}- |
||
⚫ | |||
− | ! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" {{!}} [[ID]] |
||
⚫ | |||
| [[Category:Check ID]] |
| [[Category:Check ID]] |
||
{{!}}- style="display: none;" |
{{!}}- style="display: none;" |
||
}}</includeonly> |
}}</includeonly> |
||
+ | |}{{#if: {{{descr|}}}|{{{descr|Quoted text.}}} [[Category:Pages using the desc infobox parameter]]<!-- Remove once empty -->}} |
||
⚫ | |||
⚫ | |||
− | |||
⚫ | |||
− | <!-- |
||
⚫ | |||
− | -->{{#if: {{{descr|}}}|'''Description:''' {{{descr|Quoted text.}}} }}<br><!-- |
||
− | |||
⚫ | |||
⚫ | |||
{{#if: {{{type|}}}| |
{{#if: {{{type|}}}| |
||
{{#switch: {{{type}}} |
{{#switch: {{{type}}} |
||
Line 106: | Line 89: | ||
|#default = [[Category:{{{type}}}]] |
|#default = [[Category:{{{type}}}]] |
||
}} |
}} |
||
⚫ | |||
− | }} |
||
⚫ | |||
{{#switch: {{{type2}}} |
{{#switch: {{{type2}}} |
||
|Armor = {{#if: {{{level|}}}|[[Category:Level {{{level}}} armor]] [[Category:Armor]]|[[Category:Armor]]}} |
|Armor = {{#if: {{{level|}}}|[[Category:Level {{{level}}} armor]] [[Category:Armor]]|[[Category:Armor]]}} |
||
Line 137: | Line 119: | ||
|#default = [[Category:{{{type2}}}]] |
|#default = [[Category:{{{type2}}}]] |
||
}} |
}} |
||
⚫ | |||
− | }} |
||
− | {{#if: {{{slot|}}}| |
||
{{#switch: {{{slot}}} |
{{#switch: {{{slot}}} |
||
|Hand = [[Category:One-handed weapons]] |
|Hand = [[Category:One-handed weapons]] |
||
Line 148: | Line 129: | ||
|Head (non-armor) = [[Category:Headwear]] |
|Head (non-armor) = [[Category:Headwear]] |
||
|Chest = {{#if: {{{level|}}}|[[Category:Level {{{level}}} chest armor]] [[Category:Chest armor]]|[[Category:Chest armor]]}} |
|Chest = {{#if: {{{level|}}}|[[Category:Level {{{level}}} chest armor]] [[Category:Chest armor]]|[[Category:Chest armor]]}} |
||
+ | |Chest (non-armor) = [[Category:Clothes]] |
||
|Hands (non-armor) = [[Category:Gloves]] |
|Hands (non-armor) = [[Category:Gloves]] |
||
|Hands = {{#if: {{{level|}}}|[[Category:Level {{{level}}} gloves]] [[Category:Gloves]]|[[Category:Gloves]]}} |
|Hands = {{#if: {{{level|}}}|[[Category:Level {{{level}}} gloves]] [[Category:Gloves]]|[[Category:Gloves]]}} |
||
Line 160: | Line 142: | ||
|#default = [[Category:{{{slot}}}]] |
|#default = [[Category:{{{slot}}}]] |
||
}} |
}} |
||
+ | }}</includeonly><noinclude> |
||
− | }} |
||
⚫ | |||
{{clear}} |
{{clear}} |
||
==Usage== |
==Usage== |
||
Line 195: | Line 176: | ||
}} |
}} |
||
</pre> |
</pre> |
||
+ | |||
[[Category:Infobox templates]] |
[[Category:Infobox templates]] |
||
Revision as of 04:22, 16 May 2017
Item infobox |
---|
Usage
{{item infobox | name = | image = <!-- For male/female tabbed images --> | imageF = | imageM = <!-- For alternative version tabbed images --> | imageA = | tabA = | imageB = | tabB = <!-- Common code --> | type = | extra = | skilltree = | slot = | damage = | armor = | weight = | value = | level = | set = | ingredients = | upgrade = | previous = | next = | descr = | id = }}