Template:Qud dialogue:choice: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(changed stuff to match new qud dialogue)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="text-align: center; margin:1%; width:68%;max-width:68%; font-family:Source Code Pro, Lucida Console, Consolas; border-width:1px; border-color:#b1c9c3;"
<includeonly>{| style="text-align: center; font-family:Source Code Pro, Lucida Console, Consolas; float:none;width:100%;"
{{{1}}}
{{{1}}}
|}</includeonly>
|}</includeonly>
Line 10: Line 10:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
{{Qud dialogue:choice|
{{Qud dialogue:choice|
{{Qud dialogue:choice row|number=1|tonode=f|text=testing, testing!|end= true}}
{{Qud dialogue:choice row|number=1|tonode=end|text=testing, testing!|end= true}}
{{!}}-
{{!}}-
{{Qud dialogue:choice row|number=2|tonode=asjklfa|text=this is choice 2!}}
{{Qud dialogue:choice row|number=2|tonode=asjklfa|text=this is choice 2!}}
Line 17: Line 17:


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

Revision as of 17:12, 16 July 2019

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