Difference between revisions of "User:Leord/Skill template"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
(photoshop approximation)
Line 1: Line 1:
text
+
<noinclude>
 
+
==Usage==
<div style="{{{style}}} border: 0px; background-color:transparent; width:300px;height:200px;">
+
Creates a skill preview box.  For example, this: 
  <div style="background-color:#200100; border-style: solid; border-width: 1px; border-color:#4D0B0B; padding: 0px; width:298px; height:20px;">
+
<pre>
    <div style="float:left; margin: 2px 2px 4px 2px; font-size: 14px; font-weight: bold;">[[Disintegrate]]
+
{{Skill_template
    </div>
+
|skill=Disintegrate
    <div style="float:right; margin: 2px 2px 4px 2px; font-size:10px; font-weight: normal;">[[Active Skill]]
+
|tree=Arcane
    </div>
+
|type=Active skill
  </div>
+
|image=Skill_witchdoctor_locustswarm_icon.gif
  <div style="background-color:#2D0606; border-style: solid; border-width: 1px; border-color:#4D0B0B; text-align: left; line-height: 12px; font-size: 14px; font-weight: bold; width:298px; height:178px; padding: 5px">Teeeext
+
|ranks=5
  </div>
+
|cost=10 [[Mana]] per second
 +
|description=Emanate a beam of pure energy dealing arcane damage each second. 
 +
Damage is modified to 80% each time the beam passes through the target.
 +
}}
 +
</pre>
 +
...would produce this:
 +
{{Skill_template
 +
|skill=Disintegrate
 +
|tree=Conjuration
 +
|type=Active skill
 +
|image=Skill_witchdoctor_locustswarm_icon.gif
 +
|ranks=5
 +
|cost=10 [[Mana]] per second
 +
|description=Emanate a beam of pure energy dealing arcane damage each second. 
 +
Damage is modified to 80% each time the beam passes through the target.
 +
}}
 +
</noinclude>
 +
<includeonly>
 +
{|style="width:300px;"
 +
!<div style="float:left">[[{{{skill}}}]] <span style="font-size:0.8em; font-weight:normal;"><nowiki>[</nowiki><span class="plainlinks">[[Template:Skill_template&action=edit|e]]</span><nowiki>]</nowiki></span></div><div style="float:right;font-size:0.8em;">[[{{{type}}}]]</div>
 +
|-
 +
|<div style="font-size:0.9em;height:140px">[[Image:{{{image}}}|right|60px]]
 +
'''Ranks:''' <span style="color:#c0c0c0;">{{{ranks}}}</span><br/>
 +
'''Cost:''' <span style="color:#c0c0c0;">{{{cost}}}</span><br/>
 +
'''Skill tree:''' [[{{{tree}}}_Skill_Tree|{{{tree}}}]]<br/>
 +
'''Description:''' <span style="color:#c0c0c0;">{{{description}}}</span>
 
</div>
 
</div>
 
+
|}
 
+
</includeonly>
<!--
 
 
 
 
 
 
 
 
 
 
 
line-height: 12px;
 
-->
 

Revision as of 06:22, 9 April 2009

Usage

Creates a skill preview box. For example, this:

{{Skill_template
|skill=Disintegrate
|tree=Arcane
|type=Active skill
|image=Skill_witchdoctor_locustswarm_icon.gif
|ranks=5
|cost=10 [[Mana]] per second
|description=Emanate a beam of pure energy dealing arcane damage each second.  
Damage is modified to 80% each time the beam passes through the target.
}}

...would produce this: Template:Skill template