Template:ItemTableEntry: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    (Created page with "<includeonly> |[[File:{{{image|MediEvilRollingDemo-ShrinkEnemyPotion.PNG}}}|100px]] |'''{{{name|Shrink Enemies Potion}}}'''<br>{{{description|This potion shrinks all nearby enemies for a brief time period. There is no equivalent mechanic in the retail version of the game.}}} |- </includeonly><noinclude>{{Documentation}}</noinclude>")
     
    No edit summary
    Tag: Reverted
    Line 1: Line 1:
    <includeonly>
    <includeonly>
    |[[File:{{{image|MediEvilRollingDemo-ShrinkEnemyPotion.PNG}}}|100px]]
    {{DesktopOnly|
    |'''{{{name|Shrink Enemies Potion}}}'''<br>{{{description|This potion shrinks all nearby enemies for a brief time period. There is no equivalent mechanic in the retail version of the game.}}}
    {{!}}[[File:{{{image|MediEvilRollingDemo-ShrinkEnemyPotion.PNG}}}|100px]]
    |-
    {{!}}'''{{{name|Shrink Enemies Potion}}}'''<br>{{{description|This potion shrinks all nearby enemies for a brief time period. There is no equivalent mechanic in the retail version of the game.}}}
    {{!}}-
    }}
    {{MobileOnly|
    *'''{{{name|Shrink Enemies Potion}}}''': {{{description|This potion shrinks all nearby enemies for a brief time period. There is no equivalent mechanic in the retail version of the game.
    }}
    </includeonly><noinclude>{{Documentation}}</noinclude>
    </includeonly><noinclude>{{Documentation}}</noinclude>

    Revision as of 01:19, 12 May 2022

    About this template

    Use this template to easily create an entry into an item table.

    Parameters

    There are several parameters:

    • image = Name of the image to display. Do not include File:, but do include the image extension (.PNG).
    • imagewidth = Specify a specific width for the image. Defaults to 100. No need to write px, just the value.
    • prename = Text to be written before the item name. Empty by default.
    • name = The name of the item.
    • description = A brief description of the item.

    Example

    This:

    {{ItemTableBegin}}
    
    {{ItemTableEntry
    |image       = MediEvilRollingDemo-DragonPotion.png
    |name        = Dragon Potion
    |description = Although the potion has no effect in the ''Rolling Demo'', it is likely it would have served to transform Dan into Dragon Dan.
    }}
    
    {{ItemTableEnd}}
    

    Will produce this:

    {{MobileOnly|

    MediEvilRollingDemo-DragonPotion.png Dragon Potion
    Although the potion has no effect in the Rolling Demo, it is likely it would have served to transform Dan into Dragon Dan.