Template:Quest: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
mNo edit summary
ROWiki>Onteron
modification
Line 1: Line 1:
<!-- data: format; realm; level; npc -->
<!-- data: format; realm; level; npc -->
<pre><nowiki>&lt;onlyinclude&gt;{{quest |data={{{data|}}} |name={{subst:PAGENAME}}
<pre>
    |realm=
&lt;onlyinclude&gt;{{quest | {{{1|}}} | name = {{subst:PAGENAME}}
    |level=
  | realm   =
    |givenby=
  | level   =
    |xp=
  | givenby =
    |gold=
  | xp     =
    |items=
  | gold   =
    |intro=
  | items   =
    |task1=
&lt;includeonly&gt;}}&lt;/includeonly&gt;&lt;/onlyinclude&gt;
    |text1=
 
    |task2=
  | intro   =
    |text2=
  | task1   =
    |task3=
  | text1   =
    |text3=
  | task2   =
    |task4=
  | text2   =
    |text4=
  | task3   =
}}&lt;/onlyinclude&gt;
  | text3   =
</nowiki></pre>
  | task4   =
  | text4   =
  | task5  =
  | text5  =
  | task6  =
  | text6  =
  | task7  =
  | text7  =
  | task8  =
  | text8  =
  | task9  =
  | text9  =
}}
</pre>


<!-- Only display template if fields match any query data sent -->
<!-- Only display template if fields match any query data sent -->
<onlyinclude><includeonly>{{#ifexpr:  
<onlyinclude><includeonly>{{#ifexpr:  
     {{qd | {{{data|}}} | 1 | {{{realm}}}  }} and  
     {{qd | {{{1|}}} | 1 | {{{realm}}}  }} and  
     {{qd | {{{data|}}} | 2 | {{{level}}}  }} and  
     {{qd | {{{1|}}} | 2 | {{{level}}}  }} and  
     {{qd | {{{data|}}} | 3 | {{{givenby}}} }}
     {{qd | {{{1|}}} | 3 | {{{givenby}}} }}




| {{Quest/{{#if:{{{data|}}}| {{#explode:{{{data}}}|;|0}} | full }}
  | {{Quest/{{#switch:{{PAGENAME}}
       |data= {{{data}}} |name= {{{name}}}
              | {{{realm}}} quests
       |realm= {{{realm}}} |level= {{{level}}} |givenby= {{{givenby}}}
              | Quests table = tablerow
       |gold=  {{{gold}}}  |xp=    {{{xp}}}    |items=  {{{items|}}}
              | {{{givenby}}}
       |intro= {{{intro|}}}
              | {{{realm}}} quests list
       |task1= {{{task1|}}} |text1= {{{text1|}}}
              | Quests list = listitem
       |task2= {{{task2|}}} |text2= {{{text2|}}}
              | {{{name}}} = full
       |task3= {{{task3|}}} |text3= {{{text3|}}}
              | #default = il
       |task4= {{{task4|}}} |text4= {{{text4|}}}
            }}
       |task5= {{{task5|}}} |text5= {{{text5|}}}
       | name = {{{name}}}   | {{{1|}}}
       |task6= {{{task6|}}} |text6= {{{text6|}}}
       | realm = {{{realm}}} | level = {{{level}}} | givenby = {{{givenby|}}}
       |task7= {{{task7|}}} |text7= {{{text7|}}}
       | gold =  {{{gold|}}}  | xp =    {{{xp}}}    | items =  {{{items|}}}
       |task8= {{{task8|}}} |text8= {{{text8|}}}
       | intro = {{{intro|}}}
       |task9= {{{task9|}}} |text9= {{{text9|}}}
       | task1 = {{{task1|}}} | text1 = {{{text1|}}}
   }} }}</includeonly></onlyinclude>
       | task2 = {{{task2|}}} | text2 = {{{text2|}}}
       | task3 = {{{task3|}}} | text3 = {{{text3|}}}
       | task4 = {{{task4|}}} | text4 = {{{text4|}}}
       | task5 = {{{task5|}}} | text5 = {{{text5|}}}
       | task6 = {{{task6|}}} | text6 = {{{text6|}}}
       | task7 = {{{task7|}}} | text7 = {{{text7|}}}
       | task8 = {{{task8|}}} | text8 = {{{text8|}}}
       | task9 = {{{task9|}}} | text9 = {{{text9|}}}
   }}  
}}</includeonly></onlyinclude>

Revision as of 22:57, 22 October 2008

<onlyinclude>{{quest | {{{1|}}} | name = {{subst:PAGENAME}}
  | realm   =
  | level   =
  | givenby =
  | xp      =
  | gold    =
  | items   =
<includeonly>}}</includeonly></onlyinclude>

  | intro   =
  | task1   =
  | text1   =
  | task2   =
  | text2   =
  | task3   =
  | text3   =
  | task4   =
  | text4   =
  | task5   =
  | text5   =
  | task6   =
  | text6   =
  | task7   =
  | text7   =
  | task8   =
  | text8   =
  | task9   =
  | text9   =
}}