Template:Item Infobox: Difference between revisions

From Digimon Masters Online Wiki - DMO Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(37 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- intemTemplate start-->
<noinclude>
<div class="itembox"{{#ifeq:{{{left}}}|1| style="float: left;"|}} style="display:none;">
<div style="display:none">
    <!-- header start -->
</noinclude>
    <div class="itemheader">{{#arraydefine:classexist|normal,rare,characterbound,magic}}[[File:{{#if:{{{pic|}}}|{{{pic}}}|{{{item}}}}}.png]]  
<div class="itembox"{{#ifeq:{{{left}}}|1| style="float: left;"|}}>
        <span class="{{#if:{{{characterbound|}}}|characterbound|{{#if:{{{class|}}}|{{#arraysearch:classexist|{{lc:{{{class}}}}}||{{lc:{{{class}}}}}|normal}}|normal}}}}">{{#if:{{{item|}}}|{{{item}}}|{{PAGENAME}}}}
<div class="itemheader" style="padding-left: 8px;">{{#arraydefine:classexist|normal,rare,characterbound,magic}}
        </span>
[[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>
</div>
    <!-- end of header -->
<hr style="margin-top: 0px;width: 295px; margin-left: 8px">
   
<div class="iteminfo">{{#if:{{{boundonuse|}}}|
    <hr style="margin-top: 0px; width:295px;">
<span class="itemspan" style="width: auto">Bounded when it's used</span><br>}}{{#if:{{{characterbound|}}}|
   
<span class="itemspan characterbound">Character Bound</span><br>}}{{#if:{{{kind|}}}|
    <!-- intemInfo start -->
<span class="itemspan">Kind</span><span class="normal">{{{kind}}}</span>}}{{#if:{{{remaining|}}}|
    <div class="iteminfo">{{#if:{{{boundonuse|}}}|
<span class="itemspan">Remaining</span><span class="normal">{{{remaining}}}</span>}}{{#if:{{{class|}}}|
            <span class="itemspan" style="width: auto">Bounded when it's used</span>}}{{#if:{{{characterbound|}}}|
<br><span class="itemspan">Class</span><span class="normal">{{ucfirst:{{lc:{{{class}}}}}}} Item</span>}}{{#if:{{{target|}}}|
            <span class="itemspan characterbound">Character Bound</span>}}{{#if:{{{kind|}}}|
<br><span class="itemspan">Target</span><span class="normal">{{{target}}}</span>}}{{#if:{{{limitation|}}}|
            <br/>
<br><span class="itemspan">Tamer Limitation Lv</span><span class="normal">{{{limitation}}}</span>}}{{#if:{{{limited|}}}|
            <span class="itemspan">Kind</span>
                <br><span class="itemspan">Digimon Limitation Lv</span><span class="normal">{{{digilimitation}}}</span>}}{{#if:{{{limited|}}}|
            <span class="normal">{{{kind}}}</span>}}{{#if:{{{remaining|}}}|
<br><span class="itemspan">Limited Use</span><span class="normal">{{{limited}}}</span>}}{{#if:{{{cooldown|}}}|
            <br/>
 
            <span class="itemspan">Remaining</span>
<hr style="width: 295px; margin-left: 0px">
            <span class="normal">{{{remaining}}}</span>}}{{#if:{{{class|}}}|
<span class="itemspan">Cool Down</span><span class="normal">{{{cooldown}}}</span>}}{{#if:{{{effect1|}}}|
            <br/>
 
            <span class="itemspan">Class</span>
<br>
            <span class="normal">{{ucfirst:{{lc:{{{class}}}}}}} Item</span>}}{{#if:{{{target|}}}|
<hr style="width: 295px; margin-left: 0px">
            <br/>
<span class="itemspan normal" style="width: 100%;">{{{effect1}}}</span><br>}}{{#if:{{{effect2|}}}|
            <span class="itemspan">Target</span>
<span class="itemspan normal" style="width: 100%;">{{{effect2}}}</span><br>}}{{#if:{{{effect3|}}}|
            <span class="normal">{{{target}}}</span>}}{{#if:{{{limitation|}}}|
<span class="itemspan normal" style="width: 100%;">{{{effect3}}}</span><br>}}{{#if:{{{desc|}}}|
            <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>
<hr style="width: 295px; margin-left: 0px">
    <!-- end of intemInfo -->
<span class="description normal">{{{desc}}}</span> {{#if:{{{desctype|}}}|<span style="color: #{{#ifeq:{{lc:{{{class}}}}}|event|00fb02|{{#ifeq:{{lc:{{{class}}}}}|magic|77ff06|f9f902}}}};">{{{desctype}}}</span>}}
</div>
}}{{#if:{{{refund|}}}|
<!-- end of intemTemplate -->
 
<hr style="width: 295px; margin-left: 0px">
<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; margin-left: 0px">
<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|}}}|


<!-- intemTemplate example-->
<hr style="width: 295px; margin-left: 0px">
== Example of item editing ==
<span class="cash">Also a Cash Shop item.</span><br>
<div style="margin-top:14px">
<span class="itemspan"></span><span class="normal">{{#if:{{{amount|}}}|{{{amount}}} {{ea}}}}{{#if:{{{day|}}}|{{{day}}} {{d}}}} - {{{silk}}} {{s}} / {{ps}}</span>{{#if:{{{silk2|}}}|
    {{Item Infobox
<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|}}}|
        |item=Aquatic DigiEgg
<br><span class="itemspan"></span><span class="normal">{{#if:{{{amount3|}}}|{{{amount3}}} {{ea}}}}{{#if:{{{day3|}}}|{{{day3}}} {{d}}}} - {{{silk3}}} {{s}} / {{ps}}</span>}}}}
        |class=MAGic
</div>
        |characterbound=1
<br></div>{{#ifeq:{{lc:{{{kind}}}}}|general consumable item|[[Category:Food]]}}
        |kind=Scannable DigiEgg
<noinclude>
        |remaining=3 Minute
</div>
        |target=Digimon
</noinclude>
        |limitation=25
<noinclude>
        |limited=Usable at all times
<div style="position:absolute;right: 0px;">
        |cooldown=3 Minute
[[File:Exemple item.png]]
        |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
    }}     
</div>
</div>
<noinclude> 
<pre style="width: 770px;">
    <pre style="width: 770px;">  
{{Item Infobox
    {{Item Infobox
|item=Aquatic DigiEgg
        |item=Aquatic DigiEgg
|class=Magic
        |class=MAGic
|characterbound=1
        |characterbound=1
|kind=Scannable DigiEgg
        |kind=Scannable DigiEgg
|remaining=3 Minute
        |remaining=3 Minute
|target=Digimon
        |target=Digimon
|limitation=25
        |limitation=25
|digilimitation=40
        |limited=Usable at all times
|limited=Usable at all times
        |cooldown=3 Minute
|cooldown=3 Minute
        |effect1=HP 1000 Increase
|effect1=HP 1000 Increase
        |effect2=DS 500 Increase
|effect2=DS 500 Increase
        |effect3=MS 30% Increase
|effect3=MS 30% Increase
        |scancost=100{{m}}
|scancost=100{{m}}
        |refund=1{{b}}
|refund=1{{b}}
        |buy=1{{t}} 500{{m}} 275{{b}}
|buy=1{{t}} 500{{m}} 275{{b}}
        |sell=100{{t}} 200{{m}} 375{{b}}
|sell=100{{t}} 200{{m}} 375{{b}}
        |desc=HP & DS restoring food
|desc=HP & DS restoring food
        |desctype=Recommended Level [Lv 41 - Lv 50]
|desctype=Recommended Level [Lv 41 - Lv 50]
        |silk=100
|silk=100
        |day=10
|day=10
        |silk2=50
|silk2=50
        |amount2=20
|amount2=20
        |silk3=17
|silk3=17
        |amount3=100
|amount3=100
    }}
}}
    </pre>
</pre>
<br><br><br><br><br><br><br><br><br><br><br><br>
</noinclude>
</noinclude>
[[Category:Item]]
[[Category:Item]]
<!-- end of example-->

Latest revision as of 03:02, 22 February 2020

[[File:{{{item}}}.png]] Item Infobox




Exemple item.png

{{Item Infobox
|item=Aquatic DigiEgg
|class=Magic
|characterbound=1
|kind=Scannable DigiEgg
|remaining=3 Minute
|target=Digimon
|limitation=25
|digilimitation=40
|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
}}