Template:AttackIcon: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    No edit summary
    No edit summary
    Line 1: Line 1:
    {{#switch:{{{1}}}
    {{#switch:{{{1}}}
    |Sharpness
    |Sharpness
    |sharpness=<span class="invert">[[File:Wiki-Sharpness-Icon.png|24px|link=|alt=Sharpness]]</span>
    |sharpness=<span class="invert">[[File:Wiki-Sharpness-Icon.png|20px|link=|alt=Sharpness]]</span>
    |Weight
    |Weight
    |weight=<span class="invert">[[File:Wiki-Weight-Icon.png|24px|link=|alt=Weight]]</span>
    |weight=<span class="invert">[[File:Wiki-Weight-Icon.png|20px|link=|alt=Weight]]</span>
    |Fire
    |Fire
    |fire=<span class="invert">[[File:Wiki-Fire-Icon.png|24px|link=|alt=Fire]]</span>
    |fire=<span class="invert">[[File:Wiki-Fire-Icon.png|20px|link=|alt=Fire]]</span>
    |Magic
    |Magic
    |magic=<span class="invert">[[File:Wiki-Magic-Icon.png|24px|link=|alt=Magic]]</span>
    |magic=<span class="invert">[[File:Wiki-Magic-Icon.png|20px|link=|alt=Magic]]</span>
    }}<noinclude>{{Documentation}}</noinclude>
    }}<noinclude>{{Documentation}}</noinclude>

    Revision as of 00:27, 17 June 2022

    About this template

    This template can be used to place an icon representing each of the four attack types on a page.

    Usage

    {{AttackIcon|<attackType>}}

    Using 'Sharpness' for attackType will produce the following:

    Sharpness

    Valid parameters for attackType

    This is a list of valid parameters:

    • Sharpness
    • Weight
    • Fire
    • Magic

    Visit Template:AttackIcon/doc to edit this text! (How does this work?)