Difference between revisions of "Template:Set Item"

From SacredWiki
Jump to navigation Jump to search
 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="background:#000000; font-family:Palatino Linotype; font-size:16px; font-weight:bold;" width="300" cellspacing="4"
+
<includeonly>
 +
{| style="width:auto; background: transparent; float: right; clear:right;"
 
|
 
|
 +
{{blackbox|fontcolour=33ff33|content={{{Item Image}}} }}
 
|
 
|
 +
{| class="BGStone" cellspacing=0 cellpadding=0 style="width:auto;"
 +
|-
 +
|class="BGStone" colspan=11|
 +
<div style="position:relative;">
 +
<div style="font-size:1px; position:absolute; top:-3px; left:5px; width:93%; height:1px; background:#111111;"></div>
 +
<div style="font-size:1px; position:absolute; top:-2px; left:5px; width:93%; height:1px; background:#444444;"></div>
 +
<div style="font-size:1px; position:absolute; top:-1px; left:5px; width:93%; height:1px; background:#888888;"></div>
 +
<div style="font-size:1px; position:absolute; top: 0px; left:5px; width:93%; height:1px; background:#111111;"></div>
 +
<div style="font-size:1px; position:absolute; top:-6px; left:-6px;">http://www.sacredwiki.org/images/itemtlc.gif</div>
 +
<div style="font-size:1px; position:absolute; top:-6px; right:-6px;">http://www.sacredwiki.org/images/itemtrc.gif</div>
 +
</div>
 +
|-
 +
|width=1 bgcolor="#111111" |
 +
|width=1 bgcolor="#404040" |
 +
|width=1 bgcolor="#555555" |
 +
|width=1 bgcolor="#111111" |
 +
|width=12|
 
|
 
|
 +
<div style="height:1em;"></div>
 +
{| class="BGStone" style="font-family:Palatino Linotype;  font-size:16px; font-weight:bold; width:auto;"
 +
|<span style="color:#33ff33;">{{{Item Name}}}</span>
 
|-
 
|-
|
+
|<span class="{{{Character}}}">{{{Character}}}</span>
|<span style="color:#33ff33;">{{{Set Item Name}}}</span>
+
|-
 
+
|<span style="color:#ffffff;">{{{Weapon Type}}}</span>
<span style="color:#ffffff Hex_Character_Colour;">{{{Character Class}}}</span>
+
|-
 
+
|<span style="color:#ffcc66;">{{{Set Name}}}</span>
<span style="color:#ffffff;">{{{Weapon Type}}}</span>
+
|-
 
+
|<span style="color:#33ff33;">{{{Base Resist}}}</span>
<span style="color:#ffcc66;">{{{Set Name}}}</span>
+
|-
 
+
|<span style="color:#33ff33;">{{{Base Damage}}}</span>
<span style="color:#33ff33;">Base Damage:[[Image:Physical.gif]][[Image:Fire.gif]][[Image:Magic.gif]][[Image:Poison.gif]]</span>
+
|-
 
+
|<span style="color:#ffffff;">{{{Attack Defense}}}</span>
<span style="color:#33ff33;">Base Protection:[[Image:Physical.gif]][[Image:Fire.gif]][[Image:Magic.gif]][[Image:Poison.gif]]</span>
+
|-
 
+
|<span style="color:#ffff99;">{{{Phys Wep Dmg Bonus}}}</span>
<span style="color:#ffffff;">Increases:{{{Attack Defense}}}</span>
+
|-
 
+
|<span style="color:#ff9999;">{{{Fire Wep Dmg Bonus}}}</span>
<span style="color:#ffff99;">{{{Weapon Damage Bonuses}}}</span>
+
|-
 
+
|<span style="color:#9999ff;">{{{Magic Wep Dmg Bonus}}}</span>
<span style="color:#ff9999;">{{{Weapon Damage Bonuses}}}</span>
+
|-
 
+
|<span style="color:#99ff99;">{{{Poison Wep Dmg Bonus}}}</span>
<span style="color:#9999ff;">{{{Weapon Damage Bonuses}}}</span>
+
|-
 
+
|<span style="color:#ffff99;">{{{Phys Resist Bonus}}}</span>
<span style="color:#99ff99;">{{{Weapon Damage Bonuses}}}</span>
+
|-
 
+
|<span style="color:#ff9999;">{{{Fire Resist Bonus}}}</span>
<span style="color:#ffff99;">{{{Resistance Bonuses}}}</span>
+
|-
 
+
|<span style="color:#9999ff;">{{{Magic Resist Bonus}}}</span>
<span style="color:#ff9999;">{{{Resistance Bonuses}}}</span>
+
|-
 
+
|<span style="color:#99ff99;">{{{Poison Resist Bonus}}}</span>
<span style="color:#9999ff;">{{{Resistance Bonuses}}}</span>
+
|-
 
+
|<span style="color:#ffffff;">{{{Required Skill}}}</span>
<span style="color:#99ff99;">{{{Resistance Bonuses}}}</span>
+
|-
 
+
|<span style="color:#3399ff;">{{{1st Blue Bonus}}}</span>
<span style="color:#ffffff;">Skill Requirement:{{{Skill}}}</span>
+
|-
 
+
|<span style="color:#3399ff;">{{{2nd Blue Bonus}}}</span>
<span style="color:#3399ff;">{{{Blue Bonuses}}}</span>
+
|-
 
+
|<span style="color:#3399ff;">{{{3rd Blue Bonus}}}</span>
<span style="color:#cc9933;">{{{Modifiers}}}</span>
+
|-
|
+
|<span style="color:#3399ff;">{{{4th Blue Bonus}}}</span>
 +
|-
 +
|<span style="color:#cc9933;">{{{1st Modifier}}}</span>
 
|-
 
|-
|
+
|<span style="color:#cc9933;">{{{2nd Modifier}}}</span>
|
 
|
 
|}
 
 
 
 
 
<pre>
 
{| width="80%" border=0 cellspacing=0 cellpadding=0 align=center
 
 
|-
 
|-
| width=35 height=15 style="background: #000000 url(http://darkmatters.org/SacredWiki/images/4/4b/Item_tlc.gif)  no-repeat;"
+
|<span style="color:#cc9933;">{{{3rd Modifier}}}</span>
| height="6" style="background: #000000 url(http://darkmatters.org/SacredWiki/images/5/5c/Item_bbar.gif)  repeat-x bottom; align:bottom;"
 
| width=35 height=15 style="background: #000000 url(http://darkmatters.org/SacredWiki/images/9/9e/Item_trc.gif)  no-repeat;"
 
 
 
 
|-
 
|-
| width=6 style="background: #000000 url(http://darkmatters.org/SacredWiki/images/8/8e/Item_rbar.gif)  repeat-y;"
+
|<span style="color:#cc9933;">{{{4th Modifier}}}</span>
| style="background: #000000;" *** page content ***
+
|}
| width=16 style="background: #000000 url(http://darkmatters.org/SacredWiki/images/1/1d/Item_lbar.gif)  repeat-y right;"
+
<div style="height:1em;"></div>
 
+
|width=12|
 +
|width=1 bgcolor="#111111" |
 +
|width=1 bgcolor="#333333" |
 +
|width=1 bgcolor="#888888" |
 +
|width=1 bgcolor="#111111" |
 
|-
 
|-
| width=16 height=16 style="background: #000000 url(http://darkmatters.org/SacredWiki/images/d/df/Item_blc.gif)  no-repeat;"
+
|colspan=11|
| height=16 style="background: #000000 url(http://darkmatters.org/SacredWiki/images/6/6f/Item_tbar.gif)  repeat-x;"
+
<div style="position:relative;">
| width=16 height=16 style="background: url(http://darkmatters.org/SacredWiki/images/6/6e/Item_brc.gif) no-repeat;"
+
<div style="font-size:1px; position:absolute; bottom: 0px; left:5px; width:93%; height:1px; background:#111111;"></div>
 +
<div style="font-size:1px; position:absolute; bottom:-1px; left:5px; width:93%; height:1px; background:#666666;"></div>
 +
<div style="font-size:1px; position:absolute; bottom:-2px; left:5px; width:93%; height:1px; background:#404040;"></div>
 +
<div style="font-size:1px; position:absolute; bottom:-3px; left:5px; width:93%; height:1px; background:#111111;"></div>
 +
<div style="font-size:1px; position:absolute; bottom:-6px; left:-6px;">http://www.sacredwiki.org/images/itemblc.gif</div>
 +
<div style="font-size:1px; position:absolute; bottom:-6px; right:-6px;">http://www.sacredwiki.org/images/itembrc.gif</div>
 +
</div>
 +
|}
 
|}
 
|}
</pre>
 
  
<pre>
+
</includeonly>
 
  
<style type="text/css">
+
<noinclude>
  table.shadow {
 
    align: center
 
  }
 
  
  td.shadow-top {
+
Usage:
    height: 16px; 
 
    background-image: url(/style/borders/shadow/top.gif)
 
  }
 
  
  td.shadow-topRight {
+
Copy the code below into your page and type in the relevant info after each = sign. Fields that are not filled in will be made empty when you save your work.  This template will automatically colour your text for you.
    width: 16px;
 
    height: 16px;
 
    background-image: url(/style/borders/shadow/topRight.gif)
 
  }
 
  
  td.shadow-right {
+
<pre>
    width: 16px;
 
    background-image: url(/style/borders/shadow/right.gif)
 
  }
 
  
  td.shadow-bottomRight {  
+
{{Set Item
    width: 16px;
+
|Item Name=
    height: 16px;
+
|Character=
    background-image: url(/style/borders/shadow/bottomRight.gif)
+
|Weapon Type=
  }  
+
|Set Name=
 +
|Base Resist=
 +
|Base Damage=
 +
|Item Image=
 +
|Attack Defense=
 +
|Phys Wep Dmg Bonus=
 +
|Fire Wep Dmg Bonus=
 +
|Magic Wep Dmg Bonus=
 +
|Poison Wep Dmg Bonus=
 +
|Phys Resist Bonus=
 +
|Fire Resist Bonus=
 +
|Magic Resist Bonus=
 +
|Poison Resist Bonus=
 +
|Required Skill=
 +
|1st Blue Bonus=
 +
|2nd Blue Bonus=
 +
|3rd Blue Bonus=
 +
|4th Blue Bonus=
 +
|1st Modifier=
 +
|2nd Modifier=
 +
|3rd Modifier=
 +
|4th Modifier=
 +
}}
  
  td.shadow-bottom {
+
</pre>
    height: 16px;
 
    background-image: url(/style/borders/shadow/bottom.gif)
 
  }
 
  
  td.shadow-bottomLeft { width: 16px;
 
    height: 16px;
 
    background-image: url(/style/borders/shadow/bottomLeft.gif)
 
  }
 
  
  td.shadow-left { width: 16px;
+
See the following for an example of it's use and result:
    background-image: url(/style/borders/shadow/left.gif)
 
  }
 
  
  td.shadow-topLeft {
 
    width: 16px;
 
    height: 16px;
 
    background-image: url(/style/borders/shadow/topLeft.gif)
 
  }     
 
  
  td.shadow-center {
+
Typing this:
    background-color: white 
 
  }
 
</style>
 
</pre>
 
  
 
<pre>
 
<pre>
<table class="shadow" border="0"
+
{{Set Item
    cellspacing="0" cellpadding="0" align="center"> 
+
|Item Name=Draelokk's Glooming Skull
  <tr>
+
|Character=Daemon
    <td class="shadow-topLeft"></td>
+
|Weapon Type=
    <td class="shadow-top"></td>
+
|Set Name=Draelokk's Wings
    <td class="shadow-topRight"></td>
+
|Base Resist=
  </tr>
+
|Base Damage=
  <tr>
+
|Item Image=
    <td class="shadow-left"></td>
+
|Attack Defense=
    <td class="shadow-center">
+
|Phys Wep Dmg Bonus=
      Your Content Goes Here.
+
|Fire Wep Dmg Bonus=
    </td>
+
|Magic Wep Dmg Bonus=
    <td class="shadow-right"></td> 
+
|Poison Wep Dmg Bonus=
  </tr>
+
|Phys Resist Bonus=
  <tr>
+
|Fire Resist Bonus=
    <td class="shadow-bottomLeft"></td>
+
|Magic Resist Bonus=
    <td class="shadow-bottom"></td>
+
|Poison Resist Bonus=
    <td class="shadow-bottomRight"></td>
+
|Required Skill=
  </tr>
+
|1st Blue Bonus=+Endurance
</table> 
+
|2nd Blue Bonus=+Dread
 +
|3rd Blue Bonus=+Magic Lore
 +
|4th Blue Bonus=
 +
|1st Modifier=+Spell Resistance
 +
|2nd Modifier=+Banish Undead
 +
|3rd Modifier=
 +
|4th Modifier=
 +
}}
 
</pre>
 
</pre>
  
==Test==
+
Gives this:
 
 
{|
 
 
 
 
 
|}
 
 
 
 
 
 
 
 
 
 
 
  
 +
{{Set Item
 +
|Item Name=Draelokk's Glooming Skull
 +
|Character=Daemon
 +
|Weapon Type=
 +
|Set Name=Draelokk's Wings
 +
|Base Resist=
 +
|Base Damage=
 +
|Item Image=http://www.sacredwiki.org/images/Set%20Items/Daemon/DaemonSet_102.png
 +
|Attack Defense=
 +
|Phys Wep Dmg Bonus=
 +
|Fire Wep Dmg Bonus=
 +
|Magic Wep Dmg Bonus=
 +
|Poison Wep Dmg Bonus=
 +
|Phys Resist Bonus=
 +
|Fire Resist Bonus=
 +
|Magic Resist Bonus=
 +
|Poison Resist Bonus=
 +
|Required Skill=
 +
|1st Blue Bonus=+Endurance
 +
|2nd Blue Bonus=+Dread
 +
|3rd Blue Bonus=+Magic Lore
 +
|4th Blue Bonus=
 +
|1st Modifier=+Spell Resistance
 +
|2nd Modifier=+Banish Undead
 +
|3rd Modifier=
 +
|4th Modifier=
 +
}}
  
class="itemtlc"
+
</noinclude>
class="itemtbar"
 
class="itemtrc"
 
class="itemlbar"
 
class="itemrbar"
 
class="itemblc"
 
class="itembbar"
 
class="itembrc"
 

Latest revision as of 19:00, 8 November 2007



Usage:

Copy the code below into your page and type in the relevant info after each = sign. Fields that are not filled in will be made empty when you save your work. This template will automatically colour your text for you.


{{Set Item
|Item Name=
|Character=
|Weapon Type=
|Set Name=
|Base Resist=
|Base Damage=
|Item Image=
|Attack Defense=
|Phys Wep Dmg Bonus=
|Fire Wep Dmg Bonus=
|Magic Wep Dmg Bonus=
|Poison Wep Dmg Bonus=
|Phys Resist Bonus=
|Fire Resist Bonus=
|Magic Resist Bonus=
|Poison Resist Bonus=
|Required Skill=
|1st Blue Bonus=
|2nd Blue Bonus=
|3rd Blue Bonus=
|4th Blue Bonus=
|1st Modifier=
|2nd Modifier=
|3rd Modifier=
|4th Modifier=
}}


See the following for an example of it's use and result:


Typing this:

{{Set Item
|Item Name=Draelokk's Glooming Skull
|Character=Daemon
|Weapon Type=
|Set Name=Draelokk's Wings
|Base Resist=
|Base Damage=
|Item Image=
|Attack Defense=
|Phys Wep Dmg Bonus=
|Fire Wep Dmg Bonus=
|Magic Wep Dmg Bonus=
|Poison Wep Dmg Bonus=
|Phys Resist Bonus=
|Fire Resist Bonus=
|Magic Resist Bonus=
|Poison Resist Bonus=
|Required Skill=
|1st Blue Bonus=+Endurance
|2nd Blue Bonus=+Dread
|3rd Blue Bonus=+Magic Lore
|4th Blue Bonus=
|1st Modifier=+Spell Resistance
|2nd Modifier=+Banish Undead
|3rd Modifier=
|4th Modifier=
}}

Gives this:


itemtlc.gif
itemtrc.gif
DaemonSet_102.png
itemblc.gif
itembrc.gif
itemtlc.gif
itemtrc.gif
Draelokk's Glooming Skull
Daemon
Draelokk's Wings
+Endurance
+Dread
+Magic Lore
+Spell Resistance
+Banish Undead
itemblc.gif
itembrc.gif