Template:Set Items

From SacredWiki
Jump to navigation Jump to search

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. The info below this line will be.



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}}}