Difference between revisions of "Template:Line/Choice"
From A3! Wiki
Fimbulvetr (talk | contribs) |
Fimbulvetr (talk | contribs) |
||
Line 19: | Line 19: | ||
<noinclude> | <noinclude> | ||
− | < | + | ==Code== |
− | {{ | + | <pre><tr> |
− | + | <td colspan=2 style="text-align: left;" class="storychoice"> | |
− | + | <div class="mw-customtoggle-choice1" style="padding: 0.7em; background: #fff; border: 2px solid #ff0099;">'''CHOICE 1:''' {{{choice1}}}</div> | |
− | {{ | + | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice1"> |
− | + | <table style="margin-top: 1em">{{{choice1dialogue}}}</table> | |
− | + | </div> | |
− | }} | + | </td> |
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan=2 style="text-align: left;" class="storychoice"> | ||
+ | <div class="mw-customtoggle-choice2" style="padding: 0.7em; background: #fff; border: 2px solid #1dcee4;">'''CHOICE 2:''' {{{choice2}}}</div> | ||
+ | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice2"> | ||
+ | <table style="margin-top: 1em">{{{choice2dialogue}}} | ||
</table> | </table> | ||
+ | </div> | ||
+ | </td> | ||
+ | </tr></pre> | ||
+ | ==How to use== | ||
<pre> | <pre> | ||
{{Line/Choice | {{Line/Choice | ||
Line 37: | Line 47: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | ==Example== | ||
+ | <pre>{{Line/Choice | ||
+ | |choice1=Spices | ||
+ | |choice1dialogue={{Line|character=Izumi|border=Izumi|dialogue=im love spice}} | ||
+ | {{Line|character=Masumi|border=Masumi|dialogue=kanktoktyu love me}} | ||
+ | |choice2=Spiss | ||
+ | |choice2dialogue={{Line|character=Izumi|border=Izumi|dialogue=Actually I love spiss}} | ||
+ | {{Line|character=Citron|border=Citron|dialogue=I love piss da yo!}} | ||
+ | {{Line|character=Itaru|border=Itaru|dialogue=he means spiss}} | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ==Example in use== | ||
+ | <table class="storytable"> | ||
+ | <caption>Spiss or Spice</caption> | ||
+ | {{Story Nav}} | ||
+ | <tr> | ||
+ | <td colspan=3> | ||
+ | <table class="storybodytable"> | ||
+ | {{Line|character=Izumi|border=Izumi|dialogue=I love...}} | ||
+ | {{Line/Choice | ||
+ | |choice1=Spices | ||
+ | |choice1dialogue={{Line|character=Izumi|border=Izumi|dialogue=im love spice}} | ||
+ | {{Line|character=Masumi|border=Masumi|dialogue=kanktoktyu love me}} | ||
+ | |choice2=Spiss | ||
+ | |choice2dialogue={{Line|character=Izumi|border=Izumi|dialogue=Actually I love spiss}} | ||
+ | {{Line|character=Citron|border=Citron|dialogue=I love piss da yo!}} | ||
+ | {{Line|character=Itaru|border=Itaru|dialogue=he means spiss}} | ||
+ | }} | ||
+ | {{Line|character=Izumi|border=Izumi|dialogue=lol anyway}} | ||
+ | </table> | ||
+ | </td> | ||
+ | </tr> | ||
+ | {{Story Nav}} | ||
+ | </table> | ||
</noinclude> | </noinclude> |
Revision as of 13:05, 5 June 2017
Contents
Code
<tr> <td colspan=2 style="text-align: left;" class="storychoice"> <div class="mw-customtoggle-choice1" style="padding: 0.7em; background: #fff; border: 2px solid #ff0099;">'''CHOICE 1:''' {{{choice1}}}</div> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice1"> <table style="margin-top: 1em">{{{choice1dialogue}}}</table> </div> </td> </tr> <tr> <td colspan=2 style="text-align: left;" class="storychoice"> <div class="mw-customtoggle-choice2" style="padding: 0.7em; background: #fff; border: 2px solid #1dcee4;">'''CHOICE 2:''' {{{choice2}}}</div> <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice2"> <table style="margin-top: 1em">{{{choice2dialogue}}} </table> </div> </td> </tr>
How to use
{{Line/Choice |choice1=Something |choice1dialogue=Lines go here |choice2=Something |choice2dialogue=Lines go here }}
Example
{{Line/Choice |choice1=Spices |choice1dialogue={{Line|character=Izumi|border=Izumi|dialogue=im love spice}} {{Line|character=Masumi|border=Masumi|dialogue=kanktoktyu love me}} |choice2=Spiss |choice2dialogue={{Line|character=Izumi|border=Izumi|dialogue=Actually I love spiss}} {{Line|character=Citron|border=Citron|dialogue=I love piss da yo!}} {{Line|character=Itaru|border=Itaru|dialogue=he means spiss}} }}
Example in use
Main Story | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||
Main Story |