Template:ItemCard: Difference between revisions
Jump to navigation
Jump to search
Lightning266 (talk | contribs) mNo edit summary |
Lightning266 (talk | contribs) mNo edit summary |
||
(27 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 10: | 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 17: | 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 25: | 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 33: | 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 41: | 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 49: | 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 57: | 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 66: | 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 75: | 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 84: | 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 101: | 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 115: | 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 124: | Line 116: | ||
[[Category:Items]] | [[Category:Items]] | ||
{{#if: {{{categories|}}} | {{{#if: {{{categories|}}} | ||
{{#split: {{{categories}}} |, | | {{{#split: {{{categories}}} |,| | ||
{{#each: {{!}} |[[Category:{{!}}]]}} | {{{#each: {{!}} |[[Category:{{!}}]]}}} | ||
}} | }}} | ||
}} | |}}} | ||
<!-- How to use | <!-- How to use | ||
|name= Item name (e.g., Seafood Supreme) | |name= Item name (e.g., Seafood Supreme) | ||
|type= Item type (e.g., Head, Accessory) | |type= Item type (e.g., Head, Accessory) | ||
|effect= Leave empty if you want to implement | |||
|str= Strength stat (e.g., 2) | |str= Strength stat (e.g., 2) | ||
|dex= Dexterity stat (e.g., 2) | |dex= Dexterity stat (e.g., 2) | ||
Line 162: | Line 154: | ||
|name= | |name= | ||
|type= | |type= | ||
|effect= | |||
|str= | |str= | ||
|dex= | |dex= | ||
Line 186: | Line 179: | ||
|categories= | |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]] | |||
--> | --> |