Template:Qud dialogue:choice: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(remove obsolete number arg)
 
Line 10: Line 10:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
{{Qud dialogue:choice|
{{Qud dialogue:choice|
{{Qud dialogue:choice row|number=1|tonode=end|text=testing, testing!|end= true}}
{{Qud dialogue:choice row|tonode=end|text=testing, testing!|end= true}}
{{!}}-
{{!}}-
{{Qud dialogue:choice row|number=2|tonode=asjklfa|text=this is choice 2!}}
{{Qud dialogue:choice row|tonode=asjklfa|text=this is choice 2!}}
}}
}}
</syntaxhighlight>
</syntaxhighlight>


{{Qud dialogue:choice|
{{Qud dialogue:choice|
{{Qud dialogue:choice row|number=1|tonode=end|text=testing, testing!}}
{{Qud dialogue:choice row|tonode=end|text=testing, testing!}}
{{!}}-
{{!}}-
{{Qud dialogue:choice row|number=2|tonode=asjklfa|text=this is choice 2!|comment=this is a comment.}}}}
{{Qud dialogue:choice row|tonode=asjklfa|text=this is choice 2!|comment=this is a comment.}}}}
</noinclude>
</noinclude>

Latest revision as of 17:13, 17 January 2023

A list of choices in conjunction with Template:Qud dialogue. There is only one argument, the usage is as follows:

use Template:Qud dialogue:choice row (check that page for what arguments to pass) for each choice you want to create, and separate each choice with {{!}}-.

Example

{{Qud dialogue:choice|
{{Qud dialogue:choice row|tonode=end|text=testing, testing!|end= true}}
{{!}}-
{{Qud dialogue:choice row|tonode=asjklfa|text=this is choice 2!}}
}}
1) testing, testing! [End]
2) this is choice 2! this is a comment.