Difference between revisions of "Template:Set Items"
Line 6: | Line 6: | ||
|+Endurance<br />+Dread<br />+Magic Lore|+Spell Resistance<br />+Banish Undead}}</pre> | |+Endurance<br />+Dread<br />+Magic Lore|+Spell Resistance<br />+Banish Undead}}</pre> | ||
− | 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 go back into edit | + | 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: |
<pre><span style="color:#PLACE_HEX_CHARACTER_COLOR_HERE;">Daemon</span></pre> | <pre><span style="color:#PLACE_HEX_CHARACTER_COLOR_HERE;">Daemon</span></pre> | ||
replacing the entire line: | replacing the entire line: | ||
Line 12: | Line 12: | ||
with the appropriate hex colour code. | with the appropriate hex colour code. | ||
+ | This explanation has been setup so that it will not be included when you use this template. | ||
</noinclude> | </noinclude> | ||
Revision as of 19:30, 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.
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}}} |
||