Template:Qud dialogue:choice row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;font-size:medium;" |{{Qud text|&W{{#vardefineecho:num|{{#expr:{{#var:num}}+1}} }}&Y)|unbolded }} {{#switch: {{{tonode|}}}| end={{{text|}}}| endfight={{{text|}}}|[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}} | <includeonly>| style="padding: 10px 10px; text-align:left; background: #103837;font-size:medium;" |{{Qud text|&W{{#vardefineecho:num|{{#expr:{{#var:num}}+1}} }}&Y)|unbolded }} {{#switch: {{{tonode|end}}}| end={{{text|}}}| endfight={{{text|}}}|[[{{FULLPAGENAME}}#{{{tonode}}}|{{{text|{{{tonode}}}}}}]]}} | ||
| style="padding: 10px; width:35%;background: #103837;border-left:4px solid #155352;font-size:medium;"|{{{comment|}}} {{#if: {{{step|}}}|{{#switch: {{{step}}} | accept={{Color | W |[Accept Quest:[[{{{quest}}}]]]}}| reward={{Color | K |[Receive Quest Rewards: [[{{{quest}}}#Rewards]]]}}|{{Color | K |[Complete Quest Step: [[{{{quest}}}#{{{step|}}}{{!}}{{{step}}}]]]}} }} }} {{#if: {{{step2|}}}|{{#switch: {{{step2}}} | accept={{Color | W |[Accept Quest:[[{{{quest2}}}]]]}}| reward={{Color | K |[Receive Quest Rewards: [[{{{quest2}}}#Rewards]]]}}|{{Color | K |[Complete Quest Step: [[{{{quest2}}}#{{{step2|}}}{{!}}{{{step2}}}]]]}} }} }}{{#if: {{{tonode|}}}|{{#switch: {{{tonode|}}} | endfight={{Color | R |[Fight]}}| end = {{Color | K |[End]}}}}}} | | style="padding: 10px; width:35%;background: #103837;border-left:4px solid #155352;font-size:medium;"|{{{comment|}}} {{#if: {{{step|}}}|{{#switch: {{{step}}} | accept={{Color | W |[Accept Quest:[[{{{quest}}}]]]}}| reward={{Color | K |[Receive Quest Rewards: [[{{{quest}}}#Rewards]]]}}|{{Color | K |[Complete Quest Step: [[{{{quest}}}#{{{step|}}}{{!}}{{{step}}}]]]}} }} }} {{#if: {{{step2|}}}|{{#switch: {{{step2}}} | accept={{Color | W |[Accept Quest:[[{{{quest2}}}]]]}}| reward={{Color | K |[Receive Quest Rewards: [[{{{quest2}}}#Rewards]]]}}|{{Color | K |[Complete Quest Step: [[{{{quest2}}}#{{{step2|}}}{{!}}{{{step2}}}]]]}} }} }}{{#if: {{{tonode|}}}|{{#switch: {{{tonode|}}} | endfight={{Color | R |[Fight]}}| end = {{Color | K |[End]}}}}}} | ||
</includeonly><noinclude>[[Category:Qud Templates]]for use in [[Template:Qud dialogue:choice]] only. | </includeonly><noinclude>[[Category:Qud Templates]]for use in [[Template:Qud dialogue:choice]] only. |
Revision as of 18:06, 12 September 2019
for use in Template:Qud dialogue:choice only.
tonode | the next node this points to. case sensitive. if tonode = end or endfight, changes the link what it should be |
---|---|
text | the text that is actually shown. defaults to tonode if not specified. |
comment | any additional notes. |
quest | takes title of quest. |
step | takes the quest step id associated with it. if step = reward, links to the rewards section of the page and changes [Complete Quest Step] to [Recieve Quest Rewards]. if step = accept, just links to the main quest page and changes the message to [Accept Quest] |
quest2 | for a second quest argument |
step2 |
Blank Template
{{qud dialogue|nodetitle= |text=}} {{qud dialogue:choice| {{qud dialogue:choice row | tonode= | text=}} {{!}}- {{qud dialogue:choice row | tonode= | text=}}}}
Example
{{Qud dialogue:choice| {{Qud dialogue:choice row| tonode=end|text=yadayadaydadayda blah blah blah blah blah|comment=any comment here! |quest=quest 1|step=accept|quest2=quest 2|step2 = step 2}} {{!}}- {{Qud dialogue:choice row|tonode=endfight|text = Text here!|comment = Another comment! Your mother smelled of elderberries.|}}}}