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

m (Dounford moved page Template:Infobox Preset to Template:Preset without leaving a redirect)
(Restructured template for better legibility (added basic indentation, removed some unnecessary repitition). Added Magic Ring support.)
 
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| style="border:0"
{| style="border:0; background:#fff"
{{#if:{{{arrow|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{arrow}}}Arrows.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
    {{!}} {{#if:{{{arrow|}}}
{{#if:{{{mask|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{mask}}}Mask.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
        | style="background:#545a3a" {{!}} [[File:{{{arrow}}}Arrows.png|50px|link=]]
{{#if:{{{hp|}}}|{{!}}[[File:Heart.png|25px|link=]] {{{hp}}}|{{!}}style="background:#fff"{{!}}}}
    }}
|-
    {{!}} {{#if:{{{mask|}}}
{{#if:{{{weapon|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{weapon}}}.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
        | style="background:#545a3a" {{!}} [[File:{{{mask}}}.png|50px|link=]]
{{#if:{{{body|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{body}}}Body.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
    }}
{{#if:{{{offhand|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{offhand}}}.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
    {{!}} {{#if:{{{hp|}}}
|-
        | [[File:Heart.png|25px|link=]] {{{hp}}}
{{#if:{{{gloves|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{gloves}}}Gloves.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
    }}
{{#if:{{{legs|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{legs}}}Legs.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
    |-
{{#if:{{{boots|}}}|{{!}}style="background:#545a3a"{{!}}[[File:{{{boots}}}Boots.png|50px|link=]]|{{!}}style="background:#fff"{{!}}}}
    {{!}} {{#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>
<noinclude>
Equipment Preview
All equipment pieces are optional.
==Usage==
==Usage==
<pre>
<pre>
Line 19: Line 76:
|arrow=fire
|arrow=fire
|hp=10
|hp=10
|mask=bear
|mask=BearMask
|legs=bear
|legs=BearLegs
|body=bear
|body=BearBody
|gloves=bear
|gloves=BearGloves
|boots=bear
|boots=BearBoots
|weapon=LongBow
|weapon=LongBow
|offhand=SkeletonShield
|offhand=SkeletonShield
|defence=2
|damage=3
|accuracy=6
}}
}}
</pre>
</pre>
Line 33: Line 93:
|arrow=fire
|arrow=fire
|hp=10
|hp=10
|mask=bear
|mask=BearMask
|legs=bear
|legs=BearLegs
|body=bear
|body=BearBody
|gloves=bear
|gloves=BearGloves
|boots=bear
|boots=BearBoots
|weapon=SkeletonSword
|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
|offhand=SkeletonShield
|master=1
|magic=1
|defence=2
|damage=3
|accuracy=6
}}
}}
</noinclude>
</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