Template:ItemCard: Difference between revisions
Jump to navigation
Jump to search
Lightning266 (talk | contribs) mNo edit summary |
Lightning266 (talk | contribs) mNo edit summary |
||
(33 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="margin: 0 auto; width:100%" | | {| class="wikitable" style="margin: 0 auto; width:100%" | | ||
|style="width:20%; padding:30px; text-align: center; vertical-align: middle;"| | |style="width:20%; padding:30px; text-align: center; vertical-align: middle;"| | ||
[[File:{{{icon| | [[File:{{{icon|Skill_Image.png}}}|150px]] | ||
|style="width:40%;padding-left:20px;"| | |style="width:40%;padding-left:20px;"| | ||
'''Name''': {{{name|Unknown}}} | '''Name''': {{{name|Unknown}}} | ||
Line 12: | Line 9: | ||
<br> | <br> | ||
<p> | <p> | ||
{{#if:{{{ | {{{#if:{{{|effect|}}}<span>'''Effect''':</span>|}}} | ||
{{#if:{{{str|}}} | |||
{{{#if{{{|testvalue|}}}The test value {{{testvalue}}} is present|The test value {{{testvalue}}} is not present}}} | |||
{{{#if:{{{|str|}}}<span style=" | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 19: | Line 18: | ||
padding: 3px; | padding: 3px; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{str}}} STR</span>}} | ">+{{{str}}} STR</span>|}}} | ||
{{#if:{{{dex|}}} | {{{#if:{{{dex|}}}<span style=" | ||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 27: | Line 26: | ||
padding: 3px; | padding: 3px; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{dex}}} DEX</span>}} | ">+{{{dex}}} DEX</span>|}}} | ||
{{#if:{{{int|}}} | {{{#if:{{{int|}}}<span style=" | ||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 35: | Line 34: | ||
padding: 3px; | padding: 3px; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{int}}} INT</span>}} | ">+{{{int}}} INT</span>|}}} | ||
{{{#if:{{{spr|}}}<span style=" | |||
{{#if:{{{spr|}}} | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 43: | Line 41: | ||
padding: 3px; | padding: 3px; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{spr}}} SPR</span>}} | ">+{{{spr}}} SPR</span>|}}} | ||
{{{#if:{{{con|}}}<span style=" | |||
{{#if:{{{con|}}} | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 51: | Line 48: | ||
padding: 3px; | padding: 3px; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{con}}} CON</span>}} | ">+{{{con}}} CON</span>|}}} | ||
{{{#if:{{{luk|}}}<span style=" | |||
{{#if:{{{luk|}}} | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 59: | Line 55: | ||
padding: 3px; | padding: 3px; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{luk}}} LUK</span>}} | ">+{{{luk}}} LUK</span>|}}} | ||
{{{#if:{{{def|}}}<span style=" | |||
{{#if:{{{def|}}} | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 68: | Line 63: | ||
color:white; | color:white; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{def}}} DEF</span>}} | ">+{{{def}}} DEF</span>|}}} | ||
{{{#if:{{{spd|}}}<span style=" | |||
{{#if:{{{spd|}}} | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 77: | Line 71: | ||
color:white; | color:white; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{spd}}} SPD</span>}} | ">+{{{spd}}} SPD</span>|}}} | ||
{{{#if:{{{jmp|}}}<span style=" | |||
{{#if:{{{jmp|}}} | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 86: | Line 79: | ||
color:white; | color:white; | ||
white-space: nowrap; | white-space: nowrap; | ||
">+{{{jmp}}} JMP</span>}} | ">+{{{jmp}}} JMP</span>|}}} | ||
{{{#if:{{{heal_hp|}}}<span style=" | |||
{{#if:{{{heal_hp|}}} | border: 3px round #222222; | ||
border-radius: 10px; | |||
background: #ff5e5e; | |||
padding: 3px; | |||
white-space: nowrap; | white-space: nowrap; | ||
">Heals {{{heal_hp}}} HP</span>}} | ">Heals {{{heal_hp}}} HP</span>|}}} | ||
{{{#if:{{{heal_mp|}}}<span style=" | |||
{{#if:{{{heal_mp|}}} | |||
border: 3px round #222222; | border: 3px round #222222; | ||
border-radius: 10px; | border-radius: 10px; | ||
Line 103: | Line 94: | ||
color:white; | color:white; | ||
white-space: nowrap; | white-space: nowrap; | ||
">Recovers {{{heal_mp}}} MP</span>}} | ">Recovers {{{heal_mp}}} MP</span>|}}} | ||
< | <p> | ||
{{{#if:{{{duration|}}}'''Duration''': {{{duration}}}<br>|}}} | |||
{{#if:{{{duration|}}} | {{{#if:{{{slots|}}}'''Upgrade Slots''': {{{slots}}}<br>|}}} | ||
{{#if:{{{slots|}}} | {{{#if:{{{rarity|}}}'''Rarity''': {{{rarity}}}<br>|}}} | ||
{{#if:{{{rarity|}}} | {{{#if:{{{crafting|}}}'''Crafting''': {{{crafting}}}<br>|}}} | ||
{{#if:{{{crafting|}}} | {{{#if:{{{requirement|}}}'''Requirement''': {{{requirement}}}<br>|}}} | ||
{{#if:{{{requirement|}}} | {{{#if:{{{success_rate|}}}'''100% Success Rate''': {{{success_rate}}}<br>|}}} | ||
{{#if:{{{success_rate|}}} | |||
<br> | <br> | ||
'''Description:'''<br> | '''Description:'''<br> | ||
Line 117: | Line 107: | ||
|style="width:100%;padding-left:20px;"| | |style="width:100%;padding-left:20px;"| | ||
{{#if:{{{obtain|}}} | {{{#if:{{{obtain|}}}'''How to Obtain'''<br>{{{obtain}}}<br>|}}} | ||
{{#if:{{{item_dropped_by|}}} | {{{#if:{{{item_dropped_by|}}}'''Item dropped by:'''<br>{{{item_dropped_by}}}<br>|}}} | ||
{{#if:{{{recipe_dropped_by|}}} | {{{#if:{{{recipe_dropped_by|}}}'''Recipe dropped by:'''<br>{{{recipe_dropped_by}}}<br>|}}} | ||
{{#if:{{{note|}}} | {{{#if:{{{note|}}}'''Note:'''<br>{{{note}}}<br>|}}} | ||
|} | |} | ||
Line 126: | Line 116: | ||
[[Category:Items]] | [[Category:Items]] | ||
{{{#if: {{{categories|}}} | |||
{{#if:{{{ | {{{#split: {{{categories}}} |,| | ||
{{# | {{{#each: {{!}} |[[Category:{{!}}]]}}} | ||
{{# | }}} | ||
|}}} | |||
<!-- How to use | |||
|name= Item name (e.g., Seafood Supreme) | |||
|type= Item type (e.g., Head, Accessory) | |||
|effect= Leave empty if you want to implement | |||
|str= Strength stat (e.g., 2) | |||
|dex= Dexterity stat (e.g., 2) | |||
|con= Constitution stat (e.g., 3) | |||
|int= Intelligence stat (e.g., 1) | |||
|def= Defense stat (e.g., 3) | |||
|spd= Speed stat (e.g., 2) | |||
|jmp= Jump stat (e.g., 1) | |||
|heal_hp= Health points restored (e.g., 30) | |||
|heal_mp= Mana points restored (e.g., 15) | |||
|duration= Duration of effect (e.g., 600 seconds) | |||
|slots= Number of upgrade slots (e.g., 4) | |||
|rarity= Rarity of the item (e.g., Rare) | |||
|crafting= Crafting materials (e.g., Iron Ore + Steel) | |||
|requirement= Level or requirement to use (e.g., Crafting Level 10) | |||
|success_rate= Success rate for crafting (e.g., 95%) | |||
|description= Description of the item (e.g., An ancient helmet forged from iron and steel.) | |||
|obtain= How the item can be obtained (e.g., Crafting, Fishing, Dungeon Rewards) | |||
|item_dropped_by= Enemies that drop the item (e.g., Glowsnail, Rokkik, Slime) | |||
|item_dropped_by_rate= Drop rates for the enemies (e.g., 0.17%, 0.10%, 0.05%) | |||
|recipe_dropped_by= Enemies that drop the recipe (e.g., Glowsnail, Rokkik, Slime) | |||
|recipe_dropped_by_rate= Drop rates for the recipe (e.g., 0.25%, 0.12%) | |||
|note= Any additional note or information about the item | |||
|categories= Items, Equipment, Consumables, Materials | |||
FOR COPY PASTE | |||
{{ItemCard | {{ItemCard | ||
|name= | |name= | ||
|type= | |type= | ||
|str= | |effect= | ||
|dex= | |str= | ||
|con= | |dex= | ||
|int= | |con= | ||
|def= | |int= | ||
|spd= | |def= | ||
|jmp= | |spd= | ||
|heal_hp= | |jmp= | ||
|heal_mp= | |heal_hp= | ||
|duration= | |heal_mp= | ||
|slots= | |duration= | ||
|rarity= | |slots= | ||
|crafting= | |rarity= | ||
|requirement= | |crafting= | ||
|success_rate= | |requirement= | ||
|description= | |success_rate= | ||
|description= | |||
|obtain= | |obtain= | ||
|item_dropped_by= | |item_dropped_by= | ||
|item_dropped_by_rate= | |item_dropped_by_rate= | ||
|recipe_dropped_by= | |recipe_dropped_by= | ||
|recipe_dropped_by_rate= | |recipe_dropped_by_rate= | ||
|note= | |note= | ||
|categories= | |||
}} | }} | ||
-> | List of categories | ||
[[Category:Items]] | |||
[[Category:Block]] | |||
[[Category:Consumable]] | |||
[[Category:Material]] | |||
[[Category:Equipment]] | |||
[[Category:Hat]] | |||
[[Category:Body]] | |||
[[Category:Accessory]] | |||
[[Category:Effect]] | |||
[[Category:Ammo]] | |||
[[Category:Grapple]] | |||
[[Category:Backpack]] | |||
[[Category:Crafting]] | |||
--> |