Skyrim Wiki
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" | <div class="header-bg" style="background-color:#0F0F0F; font-weight: bold; text-align: center; font-size: 120%">{{{name|{{BASEPAGENAME}}}}}</div>
+
! colspan="2" class="infoboxname" | {{{name|{{BASEPAGENAME}}}}}
|- style="{{#if: {{{image|}}}| | display: none;}}"
+
|-style="{{#if: {{{image|}}}| text-align: center; | display: none;}}"
| colspan="2" style="text-align: center;" | {{#if: {{{image|}}} | [[File:{{{image}}}|350x200px]] }}
+
| 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" style="text-align: center;" |
+
| 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" style="text-align: center;" |
+
| 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}}}==[[File:{{{imageC}}}|{{#if: {{{size|}}}|{{{size}}}|350x200px}}]]}} }} }} }}
+
{{{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;}}"
 
 
{{#if: {{{type|}}} | {{!}} <div>Type</div> {{!!}} {{{type}}} {{#if: {{{type2|}}}| <br>{{{type2|}}} }} }}
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Type
 
  +
|-
| {{{type|}}} {{#if: {{{type2|}}}| <br>{{{type2|}}} }}
 
|- style="{{#if: {{{skilltree|}}}| | display: none;}}"
+
{{#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
 
  +
|-
| {{{slot|}}}
 
|- style="{{#if: {{{damage|}}}| | display: none;}}"
+
{{#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&nbsp;Value</div> {{!!}} {{{value}}} }}
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | [[Armor rating|Armor]]
 
  +
|-
| {{{armor|}}}
 
|- style="{{#if:{{{weight|}}}| | display: none;}}"
+
{{#if: {{{level|}}} | {{!}} <div>Level</div> {{!!}} {{{level}}} }}
  +
|-
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Weight
 
  +
{{#if: {{{set|}}} | {{!}} <div>Set&nbsp;name</div> {{!!}} {{{set}}} }}
| {{{weight|}}}
 
  +
|-
|- style="{{#if:{{{value|}}}| | display: none;}}"
 
  +
{{#if: {{{previous|}}} | {{!}} <div>Previous&nbsp;volume</div> {{!!}} [[{{{previous}}}]] }}
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Base&nbsp;Value
 
  +
|-
| {{{value|}}}
 
|- style="{{#if:{{{level|}}}| | display: none;}}"
+
{{#if: {{{next|}}} | {{!}} <div>Next&nbsp;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&nbsp;Ingredient</div> {{!!}} {{{upgrade}}} }}
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Set&nbsp;name
 
| {{{set|}}}
 
|- style="{{#if:{{{previous|}}}| | display: none;}}"
 
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Previous&nbsp;volume
 
| [[{{{previous|}}}]]
 
|- style="{{#if:{{{next|}}}| | display: none;}}"
 
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" | Next&nbsp;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&nbsp;Ingredient
 
| {{{upgrade|}}}
 
 
<includeonly>
 
<includeonly>
 
{{#if: {{{id|}}}|
 
{{#if: {{{id|}}}|
Line 64: Line 51:
 
|#default =
 
|#default =
 
{{!}}-
 
{{!}}-
 
{{!}} <div>[[ID]]</div> {{!!}} {{{id|}}} }}
! style="width: 1%; text-align: right; background: #282828; padding-right: 2px" {{!}} [[ID]]
 
{{!}} {{{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 -->}}
|}
 
 
<!-- determine category based on item_type -->
 
 
<!-- Exact match required -->
<!--
 
 
<includeonly>
-->{{#if: {{{descr|}}}|'''Description:''' {{{descr|Quoted text.}}} }}<br><!--
 
 
--><!-- determine category based on item_type -->
 
<!-- Exact match required --><includeonly>
 
 
{{#if: {{{type|}}}|
 
{{#if: {{{type|}}}|
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
Line 106: Line 89:
 
|#default = [[Category:{{{type}}}]]
 
|#default = [[Category:{{{type}}}]]
 
}}
 
}}
 
}}{{#if: {{{type2|}}}|
}}
 
{{#if: {{{type2|}}}|
 
 
{{#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|}}}|
}}
 
{{#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>
}}
 
</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
{{{extra}}}

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 = 
}}