Difference between revisions of "Template:Line/Choice"

From A3! Wiki
Line 19: Line 19:
  
 
<noinclude>
 
<noinclude>
<table>
+
==Code==
{{Line/Choice
+
<pre><tr>
|choice1=peepums
+
<td colspan=2 style="text-align: left;" class="storychoice">
|choice1dialogue={{Line|character=Izumi|border=Izumi|dialogue=Actually I love spiss}}
+
<div class="mw-customtoggle-choice1" style="padding: 0.7em; background: #fff; border: 2px solid #ff0099;">'''CHOICE 1:''' {{{choice1}}}</div>
{{Line|character=Izumi|border=Izumi|dialogue=Actually I love spiss}}
+
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice1">
|choice2=nasty gum
+
<table style="margin-top: 1em">{{{choice1dialogue}}}</table>
|choice2dialogue={{Line|character=Izumi|border=Izumi|dialogue=Actually I love spiss}}
+
</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


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

Spiss or Spice
Main Story
IzumiI love...
CHOICE 1: Spices
Izumiim love spice
Masumikanktoktyu love me
CHOICE 2: Spiss
IzumiActually I love spiss
CitronI love piss da yo!
Itaruhe means spiss
Izumilol anyway
Main Story