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

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="{{{style}}} border: 0px; background-color:transparent; width:300px;height:200px;">
+
<noinclude>
  <div style="background-color:#200100; border-style: solid; border-width: 1px; border-color:#4D0B0B; padding: 0px; width:298px; height:20px;">
+
==Usage==
    <div style="float:left; margin: 2px 2px 4px 2px; font-size: 14px; font-weight: bold;">[[Disintegrate]]
+
Creates a skill preview box.  For example, this: 
    </div>
+
<pre>
    <div style="float:right; margin: 2px 2px 4px 2px; font-size:10px; font-weight: normal;">[[Active Skill]]
+
{{Skill_template
    </div>
+
|skill=Disintegrate
  </div>
+
|tree=Arcane
  <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</div>
+
|type=Active skill
 
+
|image=Skill_witchdoctor_locustswarm_icon.gif
 +
|ranks=13
 +
|cost=12/sec [[Mana]]
 +
|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:
 +
{{User:Leord/Skill_template
 +
|skill=Disintegrate
 +
|tree=Conjuration
 +
|type=Active skill
 +
|image=Skill_witchdoctor_locustswarm_icon.gif
 +
|ranks=13
 +
|cost=12/sec [[Mana]]
 +
|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">[http://www.diablowiki.net/index.php?title=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/><br/>
 +
'''Description:''' <span style="color:#c0c0c0;">{{{description}}}</span>
 
</div>
 
</div>
 
+
|}
 
+
</includeonly>
<!--
 
 
 
 
 
 
 
 
 
 
 
line-height: 12px;
 
-->
 

Latest revision as of 16:36, 4 December 2009

Usage[edit | edit source]

Creates a skill preview box. For example, this:

{{Skill_template
|skill=Disintegrate
|tree=Arcane
|type=Active skill
|image=Skill_witchdoctor_locustswarm_icon.gif
|ranks=13
|cost=12/sec [[Mana]]
|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:


Skill witchdoctor locustswarm icon.gif

Ranks: 13
Cost: 12/sec Mana
Skill tree: Conjuration

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.