Template:Effect: Difference between revisions

From A KoL Wiki
imported>Caseyweederman
(correcting misclick) Undo revision 575769 by Caseyweederman (talk)
imported>Oneforfortytwo
restoring
Line 1: Line 1:
<includeonly>__NOTOC__<div style="position:relative;"><div align="center">[[File:{{Data|{{PAGENAME}}|image|nopic2.gif}}|{{Data|{{PAGENAME}}|name|undefined effect name}}|30px]]
<includeonly>__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>{{#ifeq:{{{autocat|yes}}}|yes|[[Category:Missing Metadata]]}}}}<br />{{#ifeq:{{{noid|0}}}|0|{{#ifeq:{{{effectid|}}}|!||{{#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]]}}}}{{#ifeq:{{{descid|}}}|!||<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">
[[File:{{Data|{{PAGENAME}}|image|nopic2.gif}}|{{Data|{{PAGENAME}}|name|undefined effect name}}|30px]]


<span id="effectTitle">'''{{Data|{{PAGENAME}}|name|undefined effect name}}'''</span>
'''{{Data|{{PAGENAME}}|name|undefined effect name}}'''
<p style="text-align:left;">{{{desc}}}</p>
</div>
 
{{{desc}}}
<span style="text-align:center;color:blue;font-weight:bold;">{{{effect}}}</span></div><div valign="top"><div id="metaData" style="text-align:right;font-size:80%;line-height: 1.4em;{{#if:{{{effectid|}}}|{{#if:{{{descid|}}}||background-color:#ffdddd;}}|background-color:#ffdddd;}}">{{#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>{{#ifeq:{{{autocat|yes}}}|yes|[[Category:Missing Metadata]]}}}}<span id="metaDataInfo"><br />{{#ifeq:{{{noid|0}}}|0|{{#ifeq:{{{effectid|}}}|!||{{#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]]}}}}{{#ifeq:{{{descid|}}}|!||<br />{{#if:{{{descid|}}}|'''Description ID:''' {{{descid}}}<br />'''View in-game:''' {{ingame link|path=desc_effect.php?whicheffect={{{descid}}}}}|Description ID not known![[Category:Incomplete]]}}}}}}</span></div></div></div>{{#ifeq:{{{autocat|yes}}}|yes|[[Category:Effects]]|}}</includeonly><noinclude>
</div>
<p style="text-align:center; color:blue; font-weight:bold;">{{{effect}}}</p>{{#ifeq:{{{autocat|yes}}}|yes|[[Category:Effects]]|}}</includeonly><noinclude>
{{prot_high-use}}
{{prot_high-use}}
{{Code2}}
{{Code2}}


==Usage Notes==
==Usage Notes==
*Any page which uses this template must also incorporate a metadata page to hold the effect's name and image. For this reason this page does not include an example.
*Any page which uses this template must also incorporate a metadata page to hold the effect's name and image.


[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>

Revision as of 03:58, 17 June 2014

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>{{#ifeq:{{{autocat|yes}}}|yes|[[Category:Missing Metadata]]}}}}<br />{{#ifeq:{{{noid|0}}}|0|{{#ifeq:{{{effectid|}}}|!||{{#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]]}}}}{{#ifeq:{{{descid|}}}|!||<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"> [[File:{{Data|{{PAGENAME}}|image|nopic2.gif}}|{{Data|{{PAGENAME}}|name|undefined effect name}}|30px]] '''{{Data|{{PAGENAME}}|name|undefined effect name}}''' </div> {{{desc}}} </div>

<p style="text-align:center; color:blue; font-weight:bold;">{{{effect}}}</p>{{#ifeq:{{{autocat|yes}}}|yes|[[Category:Effects]]|}}

Usage Notes

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