Anonymous
×
Create a new article
Write your page title here:
We currently have 496 articles on WIKI - Idle Pixel. Type your article name above or click on one of the titles below and start writing!



WIKI - Idle Pixel

Template:Preset: Difference between revisions

No edit summary
(Restructured template for better legibility (added basic indentation, removed some unnecessary repitition). Added Magic Ring support.)
 
(32 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| style="border:0;background:#545a3a"
{| style="border:0; background:#fff"
|style="background:#fff"|
    {{!}} {{#if:{{{arrow|}}}
|[[File:{{{mask}}}.png|30px|link=]]
        | style="background:#545a3a" {{!}} [[File:{{{arrow}}}Arrows.png|50px|link=]]
|style="background:#fff"|
    }}
|-
    {{!}} {{#if:{{{mask|}}}
|[[File:{{{weapon}}}.png|30px|link=]]
        | style="background:#545a3a" {{!}} [[File:{{{mask}}}.png|50px|link=]]
|[[File:{{{body}}}.png|30px|link=]]
    }}
|[[File:{{{offhand}}}.png|30px|link=]]
    {{!}} {{#if:{{{hp|}}}
|-
        | [[File:Heart.png|25px|link=]] {{{hp}}}
|[[File:{{{gloves}}}.png|30px|link=]]
    }}
|[[File:{{{legs}}}.png|30px|link=]]
    |-
|[[File:{{{boots}}}.png|30px|link=]]
    {{!}} {{#if:{{{weapon|}}}
        | style="background:#545a3a" {{!}} [[File:{{{weapon}}}.png|50px|link=]]
    }}
    {{!}} {{#if:{{{body|}}}
        | style="background:#545a3a" {{!}} [[File:{{{body}}}.png|50px|link=]]
    }}
    {{!}} {{#if:{{{offhand|}}}
        | style="background:#545a3a" {{!}} [[File:{{{offhand}}}.png|50px|link=]]
    }}
    |-
    {{!}} {{#if:{{{gloves|}}}
        | style="background:#545a3a" {{!}} [[File:{{{gloves}}}.png|50px|link=]]
    }}
    {{!}} {{#if:{{{legs|}}}
        | style="background:#545a3a" {{!}} [[File:{{{legs}}}.png|50px|link=]]
    }}
    {{!}} {{#if:{{{boots|}}}
        | style="background:#545a3a" {{!}} [[File:{{{boots}}}.png|50px|link=]]
    }}
    |-
    {{#if:{{{master|}}}
        | {{!}}
          {{!}} [[File:MasterRing.png|50px|link=]]
        | {{!}} {{#if:{{{defence|}}}
            | {{#switch: {{{defence|}}}
                | 1 = [[File:WeakDefenceRing.png|50px|link=]]
                | 2 = [[File:DefenceRing.png|50px|link=]]
                | 3 = [[File:GoodDefenceRing.png|50px|link=]]
                | 4 = [[File:GreatDefenceRing.png|50px|link=]]
                | 5 = [[File:PerfectDefenceRing.png|50px|link=]]
                | 6 = [[File:AncientDefenceRing.png|50px|link=]]
            }}
        }}
        {{!}} {{#if:{{{damage|}}}
            | {{#switch: {{{damage|}}}
                | 1 = [[File:WeakDamageRing.png|50px|link=]]
                | 2 = [[File:DamageRing.png|50px|link=]]
                | 3 = [[File:GoodDamageRing.png|50px|link=]]
                | 4 = [[File:GreatDamageRing.png|50px|link=]]
                | 5 = [[File:PerfectDamageRing.png|50px|link=]]
                | 6 = [[File:AncientDamageRing.png|50px|link=]]
            }}
        }}
        {{!}} {{#if:{{{accuracy|}}}
            | {{#switch: {{{accuracy|}}}
                | 1 = [[File:WeakAccuracyRing.png|50px|link=]]
                | 2 = [[File:AccuracyRing.png|50px|link=]]
                | 3 = [[File:GoodAccuracyRing.png|50px|link=]]
                | 4 = [[File:GreatAccuracyRing.png|50px|link=]]
                | 5 = [[File:PerfectAccuracyRing.png|50px|link=]]
                | 6 = [[File:AncientAccuracyRing.png|50px|link=]]
            }}
        }}
    }}
    {{!}} {{#if:{{{magic|}}}
        | {{!}} [[File:MagicRing.png|50px|link=]]
          {{!}}
    }}
|}
|}
<noinclude>
All equipment pieces are optional.
==Usage==
<pre>
{{Preset
|arrow=fire
|hp=10
|mask=BearMask
|legs=BearLegs
|body=BearBody
|gloves=BearGloves
|boots=BearBoots
|weapon=LongBow
|offhand=SkeletonShield
|defence=2
|damage=3
|accuracy=6
}}
</pre>
Result in...
{{Preset
|arrow=fire
|hp=10
|mask=BearMask
|legs=BearLegs
|body=BearBody
|gloves=BearGloves
|boots=BearBoots
|weapon=LongBow
|offhand=SkeletonShield
|defence=2
|damage=3
|accuracy=6
}}
==Master Ring Usage==
If calling Master Ring, other (non-magic) rings may be omitted, as they are ignored.
<pre>
{{Preset
|arrow=fire
|hp=10
|mask=BearMask
|legs=BearLegs
|body=BearBody
|gloves=BearGloves
|boots=BearBoots
|weapon=LongBow
|offhand=SkeletonShield
|master=1
|magic=1
|defence=2
|damage=3
|accuracy=6
}}
</pre>
Result in...
{{Preset
|arrow=fire
|hp=10
|mask=BearMask
|legs=BearLegs
|body=BearBody
|gloves=BearGloves
|boots=BearBoots
|weapon=LongBow
|offhand=SkeletonShield
|master=1
|magic=1
|defence=2
|damage=3
|accuracy=6
}}
</noinclude>

Latest revision as of 12:35, 8 October 2024

All equipment pieces are optional.

Usage

{{Preset
|arrow=fire
|hp=10
|mask=BearMask
|legs=BearLegs
|body=BearBody
|gloves=BearGloves
|boots=BearBoots
|weapon=LongBow
|offhand=SkeletonShield
|defence=2
|damage=3
|accuracy=6
}}

Result in...

10

Master Ring Usage

If calling Master Ring, other (non-magic) rings may be omitted, as they are ignored.

{{Preset
|arrow=fire
|hp=10
|mask=BearMask
|legs=BearLegs
|body=BearBody
|gloves=BearGloves
|boots=BearBoots
|weapon=LongBow
|offhand=SkeletonShield
|master=1
|magic=1
|defence=2
|damage=3
|accuracy=6
}}

Result in...

10