Template:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Manual revert |
||
(14 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
display: flex; /* enable flexbox */ | display: flex; /* enable flexbox */ | ||
justify-content: center; /* center horizontally */ | justify-content: center; /* center horizontally */ | ||
align-items: center | align-items: center;"> <!-- center vertically --> | ||
{{#if:image | [[File:{{{image}}}|frameless|100px]]}} <!-- Fixed size for the image --> | {{#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 --> | ||
</div> | </div> | ||
<div style="background-color: transparent;"> <!-- Transparent background for text --> | <div style="background-color: transparent; padding: 5px;"> <!-- Transparent background for text --> | ||
{{#if:caption | '''Caption''': {{{caption}}}<br />}} | <div style="color: #007bff;"> <!-- Fancy color for text --> | ||
{{#if:caption | '''Caption''': {{{caption}}}<br />}} | |||
{{#if:type | '''Type''': {{{type}}}<br />}} | |||
{{#if:rarity | '''Rarity''': {{{rarity}}}<br />}} | |||
{{#if:mining_power | '''Mining Power''': {{{mining_power}}}<br />}} | |||
{{#if:cost | '''Cost''': {{{cost}}}<br />}} | |||
{{#if:obtainable_from | '''Obtainable From''': {{{obtainable_from}}}<br />}} | |||
{{#if:effects | '''Effects''': {{{effects}}}<br />}} | |||
{{#if:durability | '''Durability''': {{{durability}}}<br />}} | |||
{{#if:weight | '''Weight''': {{{weight}}}<br />}} | |||
{{#if:value | '''Value''': {{{value}}}<br />}} | |||
{{#if:uses | '''Uses''': {{{uses}}}<br />}} | |||
{{#if:description | '''Description''': {{{description}}}<br />}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 14:04, 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}}}