Template:ItemCard: Difference between revisions

Jump to navigation Jump to search
Test changes
mNo edit summary
(Test changes)
Line 1: Line 1:
{{TemplateStyles|Template:ItemCard/styles.css}}


{| 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|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}}}
'''Name''': {{{name|Unknown}}}<br><br>
<br><br>
'''Type''': {{{type|Unknown}}}<br><br>
'''Type''': {{{type|Unknown}}}
<br>
<p>
{{{#if:{{{|effect|}}}<span>'''Effect''':</span>|}}}


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


{{{#if:{{{dex|}}}<span style="
<!-- Stat Tags -->
border: 3px round #222222;
{{#if:{{{str|}}}|<span class="stat stat-str">+{{{str}}} STR</span>}}
border-radius: 10px;
{{#if:{{{dex|}}}|<span class="stat stat-dex">+{{{dex}}} DEX</span>}}
background: #cecd80;
{{#if:{{{int|}}}|<span class="stat stat-int">+{{{int}}} INT</span>}}
padding: 3px;
{{#if:{{{spr|}}}|<span class="stat stat-spr">+{{{spr}}} SPR</span>}}
    white-space: nowrap;
{{#if:{{{con|}}}|<span class="stat stat-con">+{{{con}}} CON</span>}}
">+{{{dex}}} DEX</span>|}}}
{{#if:{{{luk|}}}|<span class="stat stat-luk">+{{{luk}}} LUK</span>}}
{{#if:{{{def|}}}|<span class="stat stat-def">+{{{def}}} DEF</span>}}
{{#if:{{{spd|}}}|<span class="stat stat-spd">+{{{spd}}} SPD</span>}}
{{#if:{{{jmp|}}}|<span class="stat stat-jmp">+{{{jmp}}} JMP</span>}}
{{#if:{{{heal_hp|}}}|<span class="stat stat-heal">Heals {{{heal_hp}}} HP</span>}}
{{#if:{{{heal_mp|}}}|<span class="stat stat-mana">Recovers {{{heal_mp}}} MP</span>}}


{{{#if:{{{int|}}}<span style="
<!-- Other Attributes -->
border: 3px round #222222;
border-radius: 10px;
background: #80d9e2;
padding: 3px;
    white-space: nowrap;
">+{{{int}}} INT</span>|}}}
{{{#if:{{{spr|}}}<span style="
border: 3px round #222222;
border-radius: 10px;
background: #959fdb;
padding: 3px;
    white-space: nowrap;
">+{{{spr}}} SPR</span>|}}}
{{{#if:{{{con|}}}<span style="
border: 3px round #222222;
border-radius: 10px;
background: #db95d1;
padding: 3px;
    white-space: nowrap;
">+{{{con}}} CON</span>|}}}
{{{#if:{{{luk|}}}<span style="
border: 3px round #222222;
border-radius: 10px;
background: #c895db;
padding: 3px;
    white-space: nowrap;
">+{{{luk}}} LUK</span>|}}}
{{{#if:{{{def|}}}<span style="
border: 3px round #222222;
border-radius: 10px;
background: #97a1a3;
padding: 3px;
    color:white;
    white-space: nowrap;
">+{{{def}}} DEF</span>|}}}
{{{#if:{{{spd|}}}<span style="
border: 3px round #222222;
border-radius: 10px;
background: #555555;
padding: 3px;
    color:white;
    white-space: nowrap;
">+{{{spd}}} SPD</span>|}}}
{{{#if:{{{jmp|}}}<span style="
border: 3px round #222222;
border-radius: 10px;
background: #555555;
padding: 3px;
    color:white;
    white-space: nowrap;
">+{{{jmp}}} JMP</span>|}}}
{{{#if:{{{heal_hp|}}}<span style="
    border: 3px round #222222;
    border-radius: 10px;
    background: #ff5e5e;
    padding: 3px;
    white-space: nowrap;
">Heals {{{heal_hp}}} HP</span>|}}}
{{{#if:{{{heal_mp|}}}<span style="
border: 3px round #222222;
border-radius: 10px;
background: #3399ff;
padding: 3px;
    color:white;
    white-space: nowrap;
">Recovers {{{heal_mp}}} MP</span>|}}}
<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;" |
{{{#if:{{{obtain|}}}'''How to Obtain'''<br>{{{obtain}}}<br>|}}}
<!-- Drop & Note Section -->
{{{#if:{{{item_dropped_by|}}}'''Item dropped by:'''<br>{{{item_dropped_by}}}<br>|}}}
{{#if:{{{obtain|}}}|'''How to Obtain'''<br>{{{obtain}}}<br>}}
{{{#if:{{{recipe_dropped_by|}}}'''Recipe dropped by:'''<br>{{{recipe_dropped_by}}}<br>|}}}
{{#if:{{{item_dropped_by|}}}|'''Item dropped by:'''<br>{{{item_dropped_by}}}<br>}}
{{{#if:{{{note|}}}'''Note:'''<br>{{{note}}}<br>|}}}
{{#if:{{{recipe_dropped_by|}}}|'''Recipe dropped by:'''<br>{{{recipe_dropped_by}}}<br>}}
{{#if:{{{note|}}}|'''Note:'''<br>{{{note}}}<br>}}
|}


|}
<!-- Mandatory Base Category -->
<!-- Mandatory Category -->
[[Category:Items]]
[[Category:Items]]


{{{#if: {{{categories|}}}  
<!-- Optional Categories Field -->
  {{{#split: {{{categories}}} |,|
{{#if:{{{categories|}}}|{{{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
|name=
|type=
|effect=
|str=
|dex=
|con=
|int=
|def=
|spd=
|jmp=
|heal_hp=
|heal_mp=
|duration=
|slots=
|rarity=
|crafting=
|requirement=
|success_rate=
|description=
|obtain=
|item_dropped_by=
|item_dropped_by_rate=
|recipe_dropped_by=
|recipe_dropped_by_rate=
|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]]
-->
member
1,308

edits

Navigation menu