Template:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 9: | Line 9: | ||
border-radius: 10px; /* rounded corners */ | border-radius: 10px; /* rounded corners */ | ||
margin: 0 auto; /* center horizontally */ | margin: 0 auto; /* center horizontally */ | ||
padding: 5px; /* padding for inner content */ | |||
{{#if:image | [[File:{{{image}}}| | display: flex; /* enable flexbox */ | ||
justify-content: center; /* center horizontally */ | |||
align-items: center;"> <!-- center vertically --> | |||
{{#if:image | [[File:{{{image}}}|frameless|100px]]}} <!-- Fixed size for the image --> | |||
</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
[[File:{{{image}}}|frameless|100px]]
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}}}