Template:Qud dialogue:choice row: Difference between revisions

I fixed the order. please work
m (Undo revision 2204 by Teamtoto (talk))
(I fixed the order. please work)
Line 1: Line 1:
<includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;" |{{Qud text|&amp;W{{{number|1}}}&amp;y) {{#if: {{{quest|}}}{{{end|}}}|{{{text|}}}|
<includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;" |{{Qud text|&amp;W{{{number|1}}}&amp;y) {{#if: {{{quest|}}}{{{end|}}}|{{{text|}}}|
{{#ifeq:{{{tonode|}}}| end |{{{text|}}}| {{#ifeq:{{{tonode|}}}| endfight | {{{text|}}} |[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}} }}}}}}
{{#ifeq:{{{tonode|}}}| end |{{{text|}}}| {{#ifeq:{{{tonode|}}}| endfight | {{{text|}}} |[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}} }}}}}}
| style="padding: 10px; width:39%;"|{{#if: {{{comment|}}}{{{quest|}}}{{{step|}}}{{{tonode|}}}|{{{comment|}}}{{#ifeq: {{{step|0}}} | accept |{{Color | W |[Accept Quest:[[{{{quest}}}]]]}}|
| style="padding: 10px; width:39%;"|{{#if: {{{comment|}}}{{{quest|}}}{{{step|}}}{{{tonode|}}}|{{{comment|}}}{{#ifeq: {{{step|0}}} | accept |{{Color | W |[Accept Quest:[[{{{quest}}}]]]}}|{{#if: {{{quest|}}} |{{Color | K |[{{#ifeq: {{{step|}}} | reward |Receive Quest Rewards: [[{{{quest}}}#Rewards]]|Complete Quest Step: [[{{{quest}}}{{#if: {{{step|}}}|&#35;{{{step|}}}{{!}}{{{step}}}}}]]}}]}}}}}}{{#ifeq: {{{step2|0}}} | accept |{{Color | W |[Accept Quest:[[{{{quest2}}}]]]}}|
{{#if: {{{quest|}}} |{{Color | K |[{{#ifeq: {{{step|}}} | reward |Receive Quest Rewards: [[{{{quest}}}#Rewards]]|Complete Quest Step: [[{{{quest}}}{{#if: {{{step|}}}|&#35;{{{step|}}}{{!}}{{{step}}}}}]]}}]}}}}}}{{#if: {{{tonode|}}}|{{#ifeq: {{{tonode|}}} | endfight |{{Color | R |[Fight]}}|{{#ifeq: {{{tonode|}}} | end |{{Color | K |[End]}}}}}}}}
{{#if: {{{quest2|}}} |{{Color | K |[{{#ifeq: {{{step2|}}} | reward |Receive Quest Rewards: [[{{{quest2}}}#Rewards]]|Complete Quest Step: [[{{{quest2}}}{{#if: {{{step2|}}}|&#35;{{{step2}}}{{!}}{{{step2}}}}}]]}}]}}}}{{#if: {{{tonode|}}}|{{#ifeq: {{{tonode|}}} | endfight |{{Color | R |[Fight]}}|{{#ifeq: {{{tonode|}}} | end |{{Color | K |[End]}}}}}}}}}}}}
{{#ifeq: {{{step2|0}}} | accept |{{Color | W |[Accept Quest:[[{{{quest2}}}]]]}}|
{{#if: {{{quest2|}}} |{{Color | K |[{{#ifeq: {{{step2|}}} | reward |Receive Quest Rewards: [[{{{quest2}}}#Rewards]]|Complete Quest Step: [[{{{quest2}}}{{#if: {{{step2|}}}|&#35;{{{step2}}}{{!}}{{{step2}}}}}]]}}]}}}}}}}}
</includeonly><noinclude>[[Category:Templates]]for use in [[Template:Qud dialogue:choice]] only.  
</includeonly><noinclude>[[Category:Templates]]for use in [[Template:Qud dialogue:choice]] only.  
{| class="wikitable"
{| class="wikitable"