Template:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 6: | Line 6: | ||
margin-left: 10px; /* Add some left margin to separate it from other content */"> | margin-left: 10px; /* Add some left margin to separate it from other content */"> | ||
<div style="text-align: center;"> | <div style="text-align: center;"> | ||
<div style="width: | <div style="width: 100px; height: 100px; border: 2px solid #007bff; /* blue border */ | ||
border-radius: 10px; /* rounded corners */ | border-radius: 10px; /* rounded corners */ | ||
margin: 0 auto; /* center horizontally */ | margin: 0 auto; /* center horizontally */ | ||
overflow: hidden;"> <!-- hide overflow to contain image --> | overflow: hidden;"> <!-- hide overflow to contain image --> | ||
{{#if:image | [[File:{{{image}}}| | {{#if:image | [[File:{{{image}}}|thumb|100px|alt=Image|link=]]}} <!-- Resize the image to fit the box --> | ||
</div> | </div> | ||
{{#if:name | '''<center>{{{name}}}</center>'''}} <!-- Center-align the name --> | {{#if:name | '''<center>{{{name}}}</center>'''}} <!-- Center-align the name --> |
Revision as of 09:54, 13 April 2024
Caption: {{{caption}}}
Type: {{{type}}}
Rarity: {{{rarity}}}
Mining Power: {{{mining_power}}}
Cost: {{{cost}}}
Obtainable From: {{{obtainable_from}}}
Effects: {{{effects}}}
Durability: {{{durability}}}
Weight: {{{weight}}}
Value: {{{value}}}
Uses: {{{uses}}}
Description: {{{description}}}