Difference between revisions of "Template:Set Items"

From SacredWiki
Jump to navigation Jump to search
(New page: {| style="background:#000000; font-family:Palatino Linotype; font-size:16px; font-weight:bold;" width="200" cellspacing="4" |<span style="color:#6633cc;">Battlemage=6633cc</span> <span st...)
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>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:
 +
 +
<pre>{{subst:Set Items|Draelokk's Glooming Skull|Daemon| |Draelokk's Wings| | | | | | | | | |
 +
|+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 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>
 +
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:
 +
<pre>{{subst:Set Item}}</pre>
 +
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.''
 +
----
 +
</noinclude>
 +
 +
 
{| style="background:#000000; font-family:Palatino Linotype; font-size:16px; font-weight:bold;" width="200" cellspacing="4"
 
{| style="background:#000000; font-family:Palatino Linotype; font-size:16px; font-weight:bold;" width="200" cellspacing="4"
 
|<span style="color:#6633cc;">Battlemage=6633cc</span>
 
|<span style="color:#6633cc;">Battlemage=6633cc</span>
Line 39: Line 66:
 
<span style="color:#33ff33;">Base Protection:[[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:{{{5}}}</span>
+
<span style="color:#ffffff;">{{{5}}}</span>
  
 
<span style="color:#ffff99;">{{{6}}}</span>
 
<span style="color:#ffff99;">{{{6}}}</span>
Line 57: Line 84:
 
<span style="color:#99ff99;">{{{13}}}</span>
 
<span style="color:#99ff99;">{{{13}}}</span>
  
<span style="color:#ffffff;">Skill Requirement:{{{14}}}</span>
+
<span style="color:#ffffff;">{{{14}}}</span>
  
 
<span style="color:#3399ff;">{{{15}}}</span>
 
<span style="color:#3399ff;">{{{15}}}</span>

Latest revision as of 19:39, 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. 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}}}