Template:Infobox generic item: Difference between revisions
Tidying up |
m Fixed caption line |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| bodystyle = background-color: var(--background-color-neutral-subtle); border: 2px outset var(--background-color-disabled-subtle); border-radius: 5px; color: var(--base-color); | | bodystyle = background-color: var(--background-color-neutral-subtle); border: 2px outset var(--background-color-disabled-subtle); border-radius: 5px; color: var(--base-color); display: table; | ||
| name = | | name = Infobox generic item | ||
| above = {{{title|}}} | | above = {{{title|}}} | ||
| abovestyle = background-color: var(--background-color-notice-subtle); color: var(--color-emphasized); | | abovestyle = background-color: var(--background-color-notice-subtle); color: var(--color-emphasized); | ||
| image = {{#if: {{{image|}}} | [[File:{{{image|}}}|link={{{imagelink|}}}]] |}} | | image = {{#if: {{{switcher|}}} | {{{image|}}} | {{#if: {{{image|}}} | [[File:{{{image|}}}|link={{{imagelink|}}}]] |}}}} | ||
| imagestyle = padding: 10px; | | imagestyle = padding: 10px; | ||
| autoheaders = y | | autoheaders = y | ||
| caption1 = ''{{{caption|}}}'' | | caption1 = {{#if: {{{caption|}}} | ''{{{caption|}}}'' |}} | ||
| captionstyle = color: var(--color-subtle); {{{captionstyle|}}} | | captionstyle = color: var(--color-subtle); {{{captionstyle|}}} | ||
Line 24: | Line 24: | ||
| label7 = Consumable | | label7 = Consumable | ||
| data7 = {{ucfirst:{{{consumable|}}}}} | | data7 = {{ucfirst:{{{consumable|}}}}} | ||
| label8 = Stackable | |||
| data8 = {{ucfirst:{{{stackable|}}}}} | |||
| label9 = Durability | |||
| data9 = {{ucfirst:{{{durability|}}}}} | |||
| header30 = Info | | header30 = Info |