Difference between revisions of "Template:QE"

From SacredWiki
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>'''This is a work in progress.  Do not use this template yet unless it is for testing only.'''</noinclude>
 
 
 
<includeonly>
 
<includeonly>
 
== [[Sacred 2:{{{enemypagename}}}|{{{enemylinkname}}}]] ==
 
== [[Sacred 2:{{{enemypagename}}}|{{{enemylinkname}}}]] ==
Line 11: Line 9:
 
Weakest Against:  
 
Weakest Against:  
 
{|
 
{|
{{#if: {{{1}}}|{{!}} {{QEswitch|{{{1}}}}}|}}
+
|
{{#if: {{{2}}}|{{!}}-
+
{{#if: {{{1}}}|*{{QEswitch|{{{1}}}}}}}
{{!}} {{QEswitch|{{{2}}}}}|}}
+
{{#if: {{{2}}}|*{{QEswitch|{{{2}}}}}}}
{{#if: {{{3}}}|{{!}}-
+
{{#if: {{{3}}}|*{{QEswitch|{{{3}}}}}}}
{{!}} {{QEswitch|{{{3}}}}}|}}
+
{{#if: {{{4}}}|*{{QEswitch|{{{4}}}}}}}
{{#if: {{{4}}}|{{!}}-
+
{{#if: {{{5}}}|*{{QEswitch|{{{5}}}}}}}
{{!}} {{QEswitch|{{{4}}}}}|}}
 
{{#if: {{{5}}}|{{!}}-
 
{{!}} {{QEswitch|{{{5}}}}}|}}
 
 
|}
 
|}
 
Damage Done:
 
Damage Done:
 
{|
 
{|
{{#if: {{{6}}}|{{!}}-
+
|
{{!}} {{QEswitch|{{{6}}}}}|}}
+
{{#if: {{{6}}}|*{{QEswitch|{{{6}}}}}}}
{{#if: {{{7}}}|{{!}}-
+
{{#if: {{{7}}}|*{{QEswitch|{{{7}}}}}}}
{{!}} {{QEswitch|{{{7}}}}}|}}
+
{{#if: {{{8}}}|*{{QEswitch|{{{8}}}}}}}
{{#if: {{{8}}}|{{!}}-
+
{{#if: {{{9}}}|*{{QEswitch|{{{9}}}}}}}
{{!}} {{QEswitch|{{{8}}}}}|}}
+
{{#if: {{{10}}}|*{{QEswitch|{{{10}}}}}}}
{{#if: {{{9}}}|{{!}}-
 
{{!}} {{QEswitch|{{{9}}}}}|}}
 
{{#if: {{{10}}}|{{!}}-
 
{{!}} {{QEswitch|{{{10}}}}}|}}
 
 
|}
 
|}
  
Line 38: Line 29:
  
 
Quest Location: [[Sacred 2:{{{locationpagename1}}}|{{{locationpagename1}}}]] in [[Sacred 2:{{{locationpagename2}}}|{{{locationpagename2}}}]]
 
Quest Location: [[Sacred 2:{{{locationpagename1}}}|{{{locationpagename1}}}]] in [[Sacred 2:{{{locationpagename2}}}|{{{locationpagename2}}}]]
 +
 
|}
 
|}
 
</includeonly>
 
</includeonly>
Line 48: Line 40:
 
|thumb=[http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/HE-AbessWilgyrien.jpg http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/th_HE-AbessWilgyrien.jpg]
 
|thumb=[http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/HE-AbessWilgyrien.jpg http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/th_HE-AbessWilgyrien.jpg]
 
|1
 
|1
|2
+
|4
 
|3
 
|3
|4
 
|5
 
|6
 
|7
 
|8
 
|9
 
|10
 
 
|questpagename=The Abbess
 
|questpagename=The Abbess
 
|locationpagename1=Seraphim Valley
 
|locationpagename1=Seraphim Valley
 
|locationpagename2=Tyr Lysia High Elf Region
 
|locationpagename2=Tyr Lysia High Elf Region
 
}}
 
}}
 
 
 
Below is the code used to generate the enemy data you see above.  As can be seen, certain needed information has been added after each equals sign:
 
 
<pre>
 
{{QE
 
|enemypagename=Abbess Wilgyrien
 
|enemylinkname=Abbess Wilgyrien
 
|stats=http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/HE-AbbessWilgyrien-Stats.jpg
 
|thumb=[http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/HE-AbessWilgyrien.jpg http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/th_HE-AbessWilgyrien.jpg]
 
|1
 
|2
 
|questpagename=The Abbess
 
|locationpagename1=Seraphim Valley
 
|locationpagename2=Tyr Lysia High Elf Region
 
}}
 
</pre>
 
 
 
This is a blank QE(Quest Enemy) Template which can be experimented on any page of the wiki.  Simply copy the below code into any page and fill in the needed info after the equals signs and preview it. 
 
 
<pre>
 
{{QE
 
|enemypagename=
 
|enemylinkname=
 
|stats=
 
|thumb=
 
|questpagename=
 
|locationpagename1=
 
|locationpagename2=
 
}}
 
</pre>
 
 
</noinclude>
 
</noinclude>

Revision as of 21:49, 23 January 2010



Abbess Wilgyrien

Weakest Against:

Damage Done:

Quest:The Abbess

Quest Location: Seraphim Valley in Tyr Lysia High Elf Region