Template:Infobox generic item: Difference between revisions
Created generic item infobox |
m Fixed caption line |
||
(7 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 21: | Line 21: | ||
| header5 = Properties | | header5 = Properties | ||
| label6 = Sellable | | label6 = Sellable | ||
| data6 = {{{sellable|}}} | | data6 = {{ucfirst:{{{sellable|}}}}} | ||
| label7 = Consumable | | label7 = Consumable | ||
| data7 = {{{consumable|}}} | | data7 = {{ucfirst:{{{consumable|}}}}} | ||
| label8 = | | label8 = Stackable | ||
| data8 = {{ucfirst:{{{stackable|}}}}} | |||
| label9 = Durability | |||
| data9 = {{ucfirst:{{{durability|}}}}} | |||
| header30 = Info | | header30 = Info |
Latest revision as of 00:18, 7 July 2025
{{Infobox | title = | image = | imagelink = <!-- Use if image needs a link to someplace --> | caption = | captionstyle = <!-- Use if caption looks unnaturally placed --> | usage = <!-- Main uses of the item --> | obtained = <!-- Ways to get the item --> | sellable = <!-- Whether the item can be sold at Spawn--> | consumable = <!-- Whether the item can be used up by a player so it can't be used again --> | stackable = | durability = | release_date = <!-- When the item was first seen in Alathra --> }}