Template:Spell: Difference between revisions

From WU Wiki
Jump to navigation Jump to search
wurmpedia->Marni
m Colour update
wurmpedia->Marni
m Updated template with image & new colour scheme
Line 2: Line 2:
{| class="wikitable" style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="1" border="1"
{| class="wikitable" style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="1" border="1"
|+ style="font-weight: bold" | {{PAGENAME}}
|+ style="font-weight: bold" | {{PAGENAME}}
|-
|
<!-- Check for image.  If pagename.jpg exist use it. If pagename.jpg does not exists check for pagename.png and use that if it exists. Also, add png's to a category so we can see what images need to be converted. Finally, if both pagename.jpg and pagename.png don't exist add the pagename to a category listing of missing images -->
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|100px|A {{{name|{{PAGENAME}}}}}]]
    | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|100px|A {{{name|{{PAGENAME}}}}}]]
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|100px|A {{{name|{{PAGENAME}}}}}]] [[Category:Needs image]]
    }}
}}
|-
|-
! style="background-color:#4B3E30; color:#FFFFFF;" | Stats
! style="background-color:#4B3E30; color:#FFFFFF;" | Stats

Revision as of 12:50, 25 July 2015



Usage:

{{Spell
|faith=10
|favor=10
|difficulty=20
|target=Tile, Creature, Item
|castingtime=4
|cooldowntime=30 minutes
|god=[[Fo]], [[Vynora]], [[Magranon]], [[Libila]]

}}