Difference between revisions of "Template:QE"

From SacredWiki
Jump to navigation Jump to search
 
(38 intermediate revisions by one other user not shown)
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 10: Line 8:
 
|style="text-align: left; "|  
 
|style="text-align: left; "|  
 
Weakest Against:  
 
Weakest Against:  
{|
+
{{#ifeq: Element=physical | Element={{{Element}}} | *{{Physical}} | no}}
|
+
{{#ifeq: Element=fire| Element={{{Element}}} | *{{fire}} | no}}
|-
+
{{#if: {{{1}}}|{{QEswitch|{{{1}}}}}|}} {{#if: {{{2}}}|{{QEswitch|{{{2}}}}}|}} {{#if: {{{3}}}|{{QEswitch|{{{3}}}}}|}} {{#if: {{{4}}}|{{QEswitch|{{{4}}}}}|}} {{#if: {{{5}}}|{{QEswitch|{{{5}}}}}|}}
{{#if: {{{1}}}|{{!}} {{QEswitch|{{{1}}}}}}}
+
Damage Types:
{{#if: {{{2}}}|{{!}} {{QEswitch|{{{2}}}}}}}
+
{{#if: {{{6}}}|{{QEswitch1|{{{6}}}}}|}} {{#if: {{{7}}}|{{QEswitch1|{{{7}}}}}|}} {{#if: {{{8}}}|{{QEswitch1|{{{8}}}}}|}} {{#if: {{{9}}}|{{QEswitch1|{{{9}}}}}|}} {{#if: {{{10}}}|{{QEswitch1|{{{10}}}}}|}}
{{#if: {{{3}}}|{{!}} {{QEswitch|{{{3}}}}}}}
+
 
{{#if: {{{4}}}|{{!}} {{QEswitch|{{{4}}}}}}}
 
{{#if: {{{5}}}|{{!}} {{QEswitch|{{{5}}}}}}}
 
|}
 
Damage Done:
 
{|
 
|
 
|-
 
{{#if: {{{6}}}|{{!}} {{QEswitch|{{{6}}}}}}}
 
{{#if: {{{7}}}|{{!}} {{QEswitch|{{{7}}}}}}}
 
{{#if: {{{8}}}|{{!}} {{QEswitch|{{{8}}}}}}}
 
{{#if: {{{9}}}|{{!}} {{QEswitch|{{{9}}}}}}}
 
{{#if: {{{10}}}|{{!}} {{QEswitch|{{{10}}}}}}}
 
|}
 
  
 
Quest:[[Sacred 2:{{{questpagename}}}|{{{questpagename}}}]]
 
Quest:[[Sacred 2:{{{questpagename}}}|{{{questpagename}}}]]
Line 43: Line 28:
 
|stats=http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/HE-AbbessWilgyrien-Stats.jpg
 
|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]
 
|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
+
|Element=physical
|2
 
|8
 
 
|questpagename=The Abbess
 
|questpagename=The Abbess
 
|locationpagename1=Seraphim Valley
 
|locationpagename1=Seraphim Valley
|locationpagename2=Tyr Lysia High Elf Region
+
|locationpagename2=Tyr Lysia
 
}}
 
}}
 
 
 
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>
 
<pre>
Line 61: Line 40:
 
|stats=http://www.sacredwiki.org/images/Sacred_2/Bestiary/High%20Elf%20Quest%20Enemies/HE-AbbessWilgyrien-Stats.jpg
 
|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]
 
|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
+
|Element=physical
|2
 
 
|questpagename=The Abbess
 
|questpagename=The Abbess
 
|locationpagename1=Seraphim Valley
 
|locationpagename1=Seraphim Valley
Line 69: Line 47:
 
</pre>
 
</pre>
  
 
+
[[Category:Sacred 2 Template|{{PAGENAME}}]]
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>

Latest revision as of 16:29, 24 January 2011



Abbess Wilgyrien

Weakest Against:

no

Damage Types:


Quest:The Abbess

Quest Location: Seraphim Valley in Tyr Lysia



{{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]
|Element=physical
|questpagename=The Abbess
|locationpagename1=Seraphim Valley
|locationpagename2=Tyr Lysia High Elf Region
}}