Template:Item Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 1: | Line 1: | ||
<div class="itembox"{{#ifeq:{{{left}}}|1| style="float: left;"|}}> | <!-- intemTemplate start--> | ||
<div class="itembox"{{#ifeq:{{{left}}}|1| style="float: left;"|}} style="display:none;"> | |||
<!-- header start --> | |||
<div class="itemheader">{{#arraydefine:classexist|normal,rare,characterbound,magic}}[[File:{{#if:{{{pic|}}}|{{{pic}}}|{{{item}}}}}.png]] | |||
<span class="{{#if:{{{characterbound|}}}|characterbound|{{#if:{{{class|}}}|{{#arraysearch:classexist|{{lc:{{{class}}}}}||{{lc:{{{class}}}}}|normal}}|normal}}}}">{{#if:{{{item|}}}|{{{item}}}|{{PAGENAME}}}} | |||
</span> | |||
</div> | |||
<!-- end of header --> | |||
<hr style="margin-top: 0px; width:295px;"> | |||
<!-- intemInfo start --> | |||
<div class="iteminfo">{{#if:{{{boundonuse|}}}| | |||
<span class="itemspan" style="width: auto">Bounded when it's used</span>}}{{#if:{{{characterbound|}}}| | |||
<span class="itemspan characterbound">Character Bound</span>}}{{#if:{{{kind|}}}| | |||
<br/> | |||
<span class="itemspan">Kind</span> | |||
<span class="normal">{{{kind}}}</span>}}{{#if:{{{remaining|}}}| | |||
<br/> | |||
<span class="itemspan">Remaining</span> | |||
<span class="normal">{{{remaining}}}</span>}}{{#if:{{{class|}}}| | |||
<br/> | |||
<span class="itemspan">Class</span> | |||
<span class="normal">{{ucfirst:{{lc:{{{class}}}}}}} Item</span>}}{{#if:{{{target|}}}| | |||
<br/> | |||
<span class="itemspan">Target</span> | |||
<span class="normal">{{{target}}}</span>}}{{#if:{{{limitation|}}}| | |||
<br/> | |||
<span class="itemspan">Tamer Limitation Lv</span> | |||
<span class="normal">{{{limitation}}}</span>}}{{#if:{{{limited|}}}| | |||
<br/> | |||
<span class="itemspan">Limited Use</span> | |||
<span class="normal">{{{limited}}}</span>}}{{#if:{{{cooldown|}}}| | |||
<hr style="width:295px;"> | |||
<span class="itemspan">Cool Down</span> | |||
<span class="normal">{{{cooldown}}}</span>}}{{#if:{{{effect1|}}}| | |||
<br/> | |||
<hr style="width:295px;"> | |||
<span class="itemspan normal" style="width: 100%;">{{{effect1}}}</span> | |||
<br/>}}{{#if:{{{effect2|}}}| | |||
<span class="itemspan normal" style="width: 100%;">{{{effect2}}}</span> | |||
<br/>}}{{#if:{{{effect3|}}}| | |||
<span class="itemspan normal" style="width: 100%;">{{{effect3}}}</span> | |||
<br/>}}{{#if:{{{desc|}}}| | |||
<hr style="width:295px;"> | |||
<span class="description normal">{{{desc}}}</span>{{#if:{{{desctype|}}}| | |||
<span style="color: #{{#ifeq:{{lc:{{{class}}}}}|event|00fb02|{{#ifeq:{{lc:{{{class}}}}}|magic|77ff06|f9f902}}}};">{{{desctype}}}</span>}}}}{{#if:{{{refund|}}}| | |||
<hr style="width:295px;"> | |||
<span class="itemspan">Refund Amount</span> | |||
<span class="normal">{{{refund}}}</span> | |||
<br/>{{#if:{{{scancost|}}}| | |||
<span class="itemspan">Scanning Cost</span> | |||
<span class="normal">{{{scancost}}}</span>}}}}{{#if:{{{buy|}}}| | |||
<hr style="width:295px;"> | |||
<span class="itemspan">Buy for</span> | |||
<span class="normal">{{{buy}}}</span> | |||
<br/>{{#if:{{{sell|}}}| | |||
<span class="itemspan">Sell for</span> | |||
<span class="normal">{{{sell}}}</span>}}}}{{#if:{{{silk|}}}| | |||
<hr style="width:295px;"> | |||
<span class="cash">Also a Cash Shop item.</span> | |||
<br/> | |||
<span class="itemspan"></span> | |||
<span class="normal">{{#if:{{{amount|}}}|{{{amount}}} {{ea}}}}{{#if:{{{day|}}}|{{{day}}} {{d}}}}- {{{silk}}} {{s}} / {{ps}} | |||
</span>{{#if:{{{silk2|}}}| | |||
<br/> | |||
<span class="itemspan" style="margin-top: 0px;"></span> | |||
<span class="normal">{{#if:{{{amount2|}}}|{{{amount2}}} {{ea}}}}{{#if:{{{day2|}}}|{{{day2}}} {{d}}}}- {{{silk2}}} {{s}} / {{ps}} | |||
</span>}}{{#if:{{{silk3|}}}| | |||
<br/> | |||
<span class="itemspan"></span> | |||
<span class="normal">{{#if:{{{amount3|}}}|{{{amount3}}} {{ea}}}}{{#if:{{{day3|}}}|{{{day3}}} {{d}}}} - {{{silk3}}} {{s}} / {{ps}} | |||
</span>}}}} | |||
</div> | |||
<!-- end of intemInfo --> | |||
</div> | |||
<!-- end of intemTemplate --> | |||
<!-- intemTemplate example--> | |||
== Example of item editing == | |||
<noinclude> | |||
<pre style="width: 770px;"> | |||
{{Item Infobox | |||
|item=Aquatic DigiEgg | |||
|class=MAGic | |||
|characterbound=1 | |||
|kind=Scannable DigiEgg | |||
|remaining=3 Minute | |||
|target=Digimon | |||
|limitation=25 | |||
|limited=Usable at all times | |||
|cooldown=3 Minute | |||
|effect1=HP 1000 Increase | |||
|effect2=DS 500 Increase | |||
|effect3=MS 30% Increase | |||
|scancost=100{{m}} | |||
|refund=1{{b}} | |||
|buy=1{{t}} 500{{m}} 275{{b}} | |||
|sell=100{{t}} 200{{m}} 375{{b}} | |||
|desc=HP & DS restoring food | |||
|desctype=Recommended Level [Lv 41 - Lv 50] | |||
| | |silk=100 | ||
| | |day=10 | ||
| | |silk2=50 | ||
| | |amount2=20 | ||
| | |silk3=17 | ||
| | |amount3=100 | ||
| | }} | ||
</pre> | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
</pre> | |||
</noinclude> | </noinclude> | ||
[[Category:Item]] | [[Category:Item]] | ||
<!-- end of example--> |
Revision as of 00:22, 11 July 2019
Example of item editing
{{Item Infobox |item=Aquatic DigiEgg |class=MAGic |characterbound=1 |kind=Scannable DigiEgg |remaining=3 Minute |target=Digimon |limitation=25 |limited=Usable at all times |cooldown=3 Minute |effect1=HP 1000 Increase |effect2=DS 500 Increase |effect3=MS 30% Increase |scancost=100{{m}} |refund=1{{b}} |buy=1{{t}} 500{{m}} 275{{b}} |sell=100{{t}} 200{{m}} 375{{b}} |desc=HP & DS restoring food |desctype=Recommended Level [Lv 41 - Lv 50] |silk=100 |day=10 |silk2=50 |amount2=20 |silk3=17 |amount3=100 }}