Template:ItemCard: Difference between revisions

From Soul's Remnant Wiki
Jump to navigation Jump to search
m (added css)
mNo edit summary
Line 1: Line 1:
<templatestyles src="Template:ItemCard/styles.css" />
{| class="wikitable" style="margin: 0 auto; width: 100%; border-collapse: collapse;" |
 
|style="width: 20%; padding: 30px; text-align: center; vertical-align: middle;"|
{| class="wikitable" style="margin: 0 auto; width:100%"
| style="width:20%; padding:30px; text-align: center; vertical-align: middle;" |
[[File:{{{icon|Skill_Image.png}}}|150px]]
[[File:{{{icon|Skill_Image.png}}}|150px]]
| style="width:40%;padding-left:20px;" |
|style="width: 40%; padding-left: 20px;"|
'''Name''': {{{name|Unknown}}}<br><br>
'''Name''': {{{name|Unknown}}}
<br><br>
'''Type''': {{{type|Unknown}}}
'''Type''': {{{type|Unknown}}}
<br>
<p>
{{{#if:{{{effect|}}}<span>'''Effect''':</span>|}}}


<!-- Optional Effect -->
{{{#if:{{{str|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #e28080; padding: 3px; white-space: nowrap;">+{{{str}}} STR</span>|}}}
{{#if:{{{effect|}}}|<span>'''Effect''':</span> {{{effect}}}<br><br>}}


<!-- Stat Tags -->
{{{#if:{{{dex|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #cecd80; padding: 3px; white-space: nowrap;">+{{{dex}}} DEX</span>|}}}
{{#if:{{{str|}}}|<span class="stat stat-str">+{{{str}}} STR</span>}}
 
{{#if:{{{dex|}}}|<span class="stat stat-dex">+{{{dex}}} DEX</span>}}
{{{#if:{{{int|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #80d9e2; padding: 3px; white-space: nowrap;">+{{{int}}} INT</span>|}}}
{{#if:{{{int|}}}|<span class="stat stat-int">+{{{int}}} INT</span>}}
{{{#if:{{{spr|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #959fdb; padding: 3px; white-space: nowrap;">+{{{spr}}} SPR</span>|}}}
{{#if:{{{spr|}}}|<span class="stat stat-spr">+{{{spr}}} SPR</span>}}
{{{#if:{{{con|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #db95d1; padding: 3px; white-space: nowrap;">+{{{con}}} CON</span>|}}}
{{#if:{{{con|}}}|<span class="stat stat-con">+{{{con}}} CON</span>}}
{{{#if:{{{luk|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #c895db; padding: 3px; white-space: nowrap;">+{{{luk}}} LUK</span>|}}}
{{#if:{{{luk|}}}|<span class="stat stat-luk">+{{{luk}}} LUK</span>}}
{{{#if:{{{def|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #97a1a3; padding: 3px; color: white; white-space: nowrap;">+{{{def}}} DEF</span>|}}}
{{#if:{{{def|}}}|<span class="stat stat-def">+{{{def}}} DEF</span>}}
{{{#if:{{{spd|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #555555; padding: 3px; color: white; white-space: nowrap;">+{{{spd}}} SPD</span>|}}}
{{#if:{{{spd|}}}|<span class="stat stat-spd">+{{{spd}}} SPD</span>}}
{{{#if:{{{jmp|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #555555; padding: 3px; color: white; white-space: nowrap;">+{{{jmp}}} JMP</span>|}}}
{{#if:{{{jmp|}}}|<span class="stat stat-jmp">+{{{jmp}}} JMP</span>}}
{{{#if:{{{heal_hp|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #ff5e5e; padding: 3px; white-space: nowrap;">Heals {{{heal_hp}}} HP</span>|}}}
{{#if:{{{heal_hp|}}}|<span class="stat stat-heal">Heals {{{heal_hp}}} HP</span>}}
{{{#if:{{{heal_mp|}}}<span style="border: 3px solid #222222; border-radius: 10px; background: #3399ff; padding: 3px; color: white; white-space: nowrap;">Recovers {{{heal_mp}}} MP</span>|}}}
{{#if:{{{heal_mp|}}}|<span class="stat stat-mana">Recovers {{{heal_mp}}} MP</span>}}


<!-- Other Attributes -->
<p>
<p>
{{#if:{{{duration|}}}|'''Duration''': {{{duration}}}<br>}}
{{{#if:{{{duration|}}}'''Duration''': {{{duration}}}<br>|}}}
{{#if:{{{slots|}}}|'''Upgrade Slots''': {{{slots}}}<br>}}
{{{#if:{{{slots|}}}'''Upgrade Slots''': {{{slots}}}<br>|}}}
{{#if:{{{rarity|}}}|'''Rarity''': {{{rarity}}}<br>}}
{{{#if:{{{rarity|}}}'''Rarity''': {{{rarity}}}<br>|}}}
{{#if:{{{crafting|}}}|'''Crafting''': {{{crafting}}}<br>}}
{{{#if:{{{crafting|}}}'''Crafting''': {{{crafting}}}<br>|}}}
{{#if:{{{requirement|}}}|'''Requirement''': {{{requirement}}}<br>}}
{{{#if:{{{requirement|}}}'''Requirement''': {{{requirement}}}<br>|}}}
{{#if:{{{success_rate|}}}|'''100% Success Rate''': {{{success_rate}}}<br>}}
{{{#if:{{{success_rate|}}}'''100% Success Rate''': {{{success_rate}}}<br>|}}}
<br>
<br>
'''Description:'''<br>
'''Description:'''<br>
<b><i>"{{{description|}}}"</i></b><br>
<b><i>"{{{description|}}}"</i></b><br>


| style="width:100%;padding-left:20px;" |
|style="width: 100%; padding-left: 20px;"|
<!-- Drop & Note Section -->
{{{#if:{{{obtain|}}}'''How to Obtain'''<br>{{{obtain}}}<br>|}}}
{{#if:{{{obtain|}}}|'''How to Obtain'''<br>{{{obtain}}}<br>}}
{{{#if:{{{item_dropped_by|}}}'''Item dropped by:'''<br>{{{item_dropped_by}}}<br>|}}}
{{#if:{{{item_dropped_by|}}}|'''Item dropped by:'''<br>{{{item_dropped_by}}}<br>}}
{{{#if:{{{recipe_dropped_by|}}}'''Recipe dropped by:'''<br>{{{recipe_dropped_by}}}<br>|}}}
{{#if:{{{recipe_dropped_by|}}}|'''Recipe dropped by:'''<br>{{{recipe_dropped_by}}}<br>}}
{{{#if:{{{note|}}}'''Note:'''<br>{{{note}}}<br>|}}}
{{#if:{{{note|}}}|'''Note:'''<br>{{{note}}}<br>}}
 
|}
|}
<!-- Mandatory Base Category -->
[[Category:Items]]
<!-- Optional Categories Field -->
{{#if:{{{categories|}}}|{{{categories}}}}}

Revision as of 13:10, 4 May 2025

Name: Unknown

Type: Unknown


Description:
""