Template:Qud dialogue:choice row: Difference between revisions

Jump to navigation Jump to search
broke some logic. it's fixed now
(added an option that lets you show if the dialogue choice ends in a fight)
(broke some logic. it's fixed now)
Line 1: Line 1:
<includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;" |{{Qud text|&amp;W{{{number}}}&amp;y) {{#if: {{{acceptquest|}}}{{{quest|}}}{{{end|}}}|{{{text|{{{tonode}}}}}}|[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}}}}
<includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;" |{{Qud text|&amp;W{{{number}}}&amp;y) {{#if: {{{acceptquest|}}}{{{quest|}}}{{{end|}}}|{{{text|{{{tonode}}}}}}|[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}}}}
| style="padding: 10px; width:30%;"|{{#if: {{{comment|}}}{{{acceptquest|}}}{{{quest|}}}{{{step|}}}{{{end|}}} |{{{comment|}}}}}{{#if: {{{acceptquest|}}}|{{Color | W |[Accept Quest:[[{{{acceptquest}}}]]]}}}}{{#if: {{{quest|}}}|{{Color | K |[{{#ifeq: step | reward |Receive Quest Rewards: [[{{{quest}}}#Rewards]]|Complete Quest Step: [[{{{quest}}}{{#if: {{{step|}}}|\#{{{step}}}{{!}}{{{step}}}}}]]}}]}}}}{{#ifeq: {{{end|}}} | fight |{{Color | R |[Fight]}}|{{Color | K |[End]}}}}
| style="padding: 10px; width:30%;"|{{#if: {{{comment|}}}{{{acceptquest|}}}{{{quest|}}}{{{step|}}}{{{end|}}} |{{{comment|}}}}}{{#if: {{{acceptquest|}}}|{{Color | W |[Accept Quest:[[{{{acceptquest}}}]]]}}}}{{#if: {{{quest|}}}|{{Color | K |[{{#ifeq: step | reward |Receive Quest Rewards: [[{{{quest}}}#Rewards]]|Complete Quest Step: [[{{{quest}}}{{#if: {{{step|}}}|\#{{{step}}}{{!}}{{{step}}}}}]]}}]}}}}{{#if: {{{end|}}}|{{#ifeq: {{{end|}}} | fight |{{Color | R |[Fight]}}|{{Color | K |[End]}}}}}}
</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"

Navigation menu