Template:Qud dialogue:choice: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (removed testing code)
(remove obsolete number arg)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="overflow:hidden;">
<includeonly><div style="overflow:hidden;">
{| style="text-align: center; font-family:Source Code Pro, Lucida Console, Consolas; width:100%;border-spacing:0px 0.3em;"
{{#vardefine:num|0}}{| style="text-align: center; font-family:Source Code Pro, Lucida Console, Consolas; width:100%;border-spacing:0px 0.3em;border-collapse: separate;"
{{{1}}}
{{{1}}}
|}</div></includeonly>
|}</div></includeonly><noinclude>[[Category:Qud Templates]]A list of choices in conjunction with [[Template:Qud dialogue]]. There is only one argument, the usage is as follows:
<noinclude>[[Category:Templates]]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 <code><nowiki>{{!}}-</nowiki></code>.
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 <code><nowiki>{{!}}-</nowiki></code>.
Line 11: 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.