Difference between revisions of "Template:Set Items"

From SacredWiki
Jump to navigation Jump to search
Line 17: Line 17:
  
 
As an alternative you could simply type:
 
As an alternative you could simply type:
   
+
  <pre>{{subst:Set Item}}</pre>
{| style="background:#000000; font-family:Palatino Linotype; font-size:16px; font-weight:bold;" width="300" cellspacing="4"
 
|
 
|
 
|
 
|-
 
|
 
|<span style="color:#33ff33;">{{{Set Item Name}}}</span>
 
 
 
<span style="color:#ffffff Hex_Character_Colour;">{{{Character Class}}}</span>
 
 
 
<span style="color:#ffffff;">{{{Weapon Type}}}</span>
 
 
 
<span style="color:#ffcc66;">{{{Set Name}}}</span>
 
 
 
<span style="color:#33ff33;">Base Damage:[[Image:Physical.gif]][[Image:Fire.gif]][[Image:Magic.gif]][[Image:Poison.gif]]</span>
 
 
 
<span style="color:#33ff33;">Base Protection:[[Image:Physical.gif]][[Image:Fire.gif]][[Image:Magic.gif]][[Image:Poison.gif]]</span>
 
 
 
<span style="color:#ffffff;">Increases:{{{Attack Defense}}}</span>
 
 
 
<span style="color:#ffff99;">{{{Weapon Damage Bonuses}}}</span>
 
 
 
<span style="color:#ff9999;">{{{Weapon Damage Bonuses}}}</span>
 
 
 
<span style="color:#9999ff;">{{{Weapon Damage Bonuses}}}</span>
 
 
 
<span style="color:#99ff99;">{{{Weapon Damage Bonuses}}}</span>
 
 
 
<span style="color:#ffff99;">{{{Resistance Bonuses}}}</span>
 
 
 
<span style="color:#ff9999;">{{{Resistance Bonuses}}}</span>
 
 
 
<span style="color:#9999ff;">{{{Resistance Bonuses}}}</span>
 
 
 
<span style="color:#99ff99;">{{{Resistance Bonuses}}}</span>
 
 
 
<span style="color:#ffffff;">Skill Requirement:{{{Skill}}}</span>
 
 
 
<span style="color:#3399ff;">{{{Blue Bonuses}}}</span>
 
 
 
<span style="color:#cc9933;">{{{Modifiers}}}</span>
 
|
 
|-
 
|
 
|
 
|
 
|}
 
 
into the page you are working on, save the page and then edit the fields by replacing {{{content}}} with your own data.   
 
into the page you are working on, save the page and then edit the fields by replacing {{{content}}} with your own data.   
  
  
This explanation has been setup so that it will not be included when you use this template.
+
''This explanation has been setup so that it will not be included when you use this template.''
 
----
 
----
 
</noinclude>
 
</noinclude>

Revision as of 19:38, 7 October 2007

Example of how to insert this template into another page with fields completed. This example is specific to the Daemon set item Draelokk's Glooming Skull. The way in which the code is to be filled out will vary with every set item.

Type:

{{subst:Set Items|Draelokk's Glooming Skull|Daemon| |Draelokk's Wings| | | | | | | | | | 
|+Endurance<br />+Dread<br />+Magic Lore|+Spell Resistance<br />+Banish Undead}}

Note in the above line of code that when you enter a space as data between the | | brackets that the corresponding numerical field will be excluded from the output. As part of the template I have included the hex color code for the colours of each character class. To make use of it enter the template with the data that you know and then save your work. Then copy the correct hex colour and go back into edit to apply it to the line:

<span style="color:#PLACE_HEX_CHARACTER_COLOR_HERE;">Daemon</span>

replacing the entire line:

PLACE_HEX_CHARACTER_COLOR_HERE

with the appropriate hex colour code.


If there are fields of data that do not apply to the item you can simply delete those lines of text that are not needed after the first time you save the template into the page.


As an alternative you could simply type:

{{subst:Set Item}}

into the page you are working on, save the page and then edit the fields by replacing {{{content}}} with your own data.


This explanation has been setup so that it will not be included when you use this template.



Battlemage=6633cc

Daemon=ff6600

DarkElf=9933cc

Dwarf=00ffff

Gladiator=e38217

Seraphim=66ccff

Vampiress=b75555

WoodElf=009900



{{{1}}}

{{{2}}}

{{{3}}}

{{{4}}}

Base Damage:Physical.gifFire.gifMagic.gifPoison.gif

Base Protection:Physical.gifFire.gifMagic.gifPoison.gif

{{{5}}}

{{{6}}}

{{{7}}}

{{{8}}}

{{{9}}}

{{{10}}}

{{{11}}}

{{{12}}}

{{{13}}}

{{{14}}}

{{{15}}}

{{{16}}}