Difference between revisions of "Template:Set Items"
Line 15: | Line 15: | ||
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. | 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: | ||
+ | |||
+ | {| 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. | ||
Revision as of 19:36, 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:
{{{Set Item Name}}}
{{{Character Class}}} {{{Weapon Type}}} {{{Set Name}}} Increases:{{{Attack Defense}}} {{{Weapon Damage Bonuses}}} {{{Weapon Damage Bonuses}}} {{{Weapon Damage Bonuses}}} {{{Weapon Damage Bonuses}}} {{{Resistance Bonuses}}} {{{Resistance Bonuses}}} {{{Resistance Bonuses}}} {{{Resistance Bonuses}}} Skill Requirement:{{{Skill}}} {{{Blue Bonuses}}} {{{Modifiers}}} |
||
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}}} {{{5}}} {{{6}}} {{{7}}} {{{8}}} {{{9}}} {{{10}}} {{{11}}} {{{12}}} {{{13}}} {{{14}}} {{{15}}} {{{16}}} |
||