Template:Effect

From A KoL Wiki
Revision as of 21:58, 16 February 2009 by imported>JRSiebz (effect section -> enchantment style effect listing)
This high-use template has been protected from editing to prevent inaccurate edits and/or vandalism. Please use the talk page to discuss changes, and/or to ask an administrator to make an edit for you.
{{Effect}}
__NOTOC__

<div style="position:relative"><div style="text-align:right; position:absolute; top:0px; right:0px; font-size:80%">{{#ifexist:Data:{{PAGENAME}}|[[Data:{{PAGENAME}}|View metadata]]|<span class="plainlinks">[{{fullurle:Data:{{PAGENAME}}|action=edit&preload=Template:Effect/data}} Create metadata]</span><span style="display:none">[[Data:{{PAGENAME}}]]</span>}}<br />{{#ifeq:{{{noid|0}}}|0|{{#if:{{{effectid|}}}|'''[[Effects by number {{#ifexpr:{{{effectid}}} < 100||({{#expr:({{{effectid}}} - 50) round -2}}-{{#expr:(({{{effectid}}} + 50) round -2) - 1}})}}|Effect number]]:''' {{{effectid}}}|Effect ID not known![[Category:Incomplete]]}}<br />{{#if:{{{descid|}}}|'''Description ID:''' {{{descid}}}<br />'''View in-game:''' {{ingame link|path=desc_effect.php?whicheffect={{{descid}}}}}|Description ID not known![[Category:Incomplete]]}}}}</div> <div align="center"> '''{{Data1|{{PAGENAME}}|name|undefined effect name}}''' [[image:{{Data1|{{PAGENAME}}|image|nopic2.gif}}|{{Data1|{{PAGENAME}}|name|undefined effect name}}|30px]] </div> {{{desc}}} </div>

<p style="text-align:center; color:blue; font-weight:bold;">{{{effect}}}</p>

Usage Notes

  • Any page which uses this template must also incorporate a metadata page to hold the effect's name and image.