Difference between revisions of "Template:Line/Choice"

From A3! Wiki
m
 
Line 1: Line 1:
 +
<noinclude>[[Category: Templates]]
 +
{{Line/Choice/Docs}}
 +
</noinclude>
 
<includeonly><tr>
 
<includeonly><tr>
 
<td colspan=2 style="text-align: left;" class="storychoice">
 
<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}}} <span style="float:right;"><nowiki>[</nowiki><b>+</b><nowiki>]</nowiki></span></div>
 
<div class="mw-customtoggle-choice1" style="padding: 0.7em; background: #fff; border: 2px solid #ff0099;">'''CHOICE 1:''' {{{choice1}}} <span style="float:right;"><nowiki>[</nowiki><b>+</b><nowiki>]</nowiki></span></div>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice1">
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice1">
<table style="margin-top: 1em">{{{choice1dialogue}}}</table>
+
<table style="margin-top: 1em; width: 95%;">{{{choice1dialogue}}}</table>
 
</div>
 
</div>
 
</td>
 
</td>
Line 11: Line 14:
 
<div class="mw-customtoggle-choice2" style="padding: 0.7em; background: #fff; border: 2px solid #1dcee4;">'''CHOICE 2:''' {{{choice2}}} <span style="float:right;"><nowiki>[</nowiki><b>+</b><nowiki>]</nowiki></span></div>
 
<div class="mw-customtoggle-choice2" style="padding: 0.7em; background: #fff; border: 2px solid #1dcee4;">'''CHOICE 2:''' {{{choice2}}} <span style="float:right;"><nowiki>[</nowiki><b>+</b><nowiki>]</nowiki></span></div>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice2">
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-choice2">
<table style="margin-top: 1em">{{{choice2dialogue}}}
+
<table style="margin-top: 1em; width: 95%;">{{{choice2dialogue}}}
 
</table>
 
</table>
 
</div>
 
</div>
Line 17: Line 20:
 
</tr>
 
</tr>
 
</includeonly>
 
</includeonly>
 
<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>
 
</div>
 
</td>
 
</tr></pre>
 
 
==How to use==
 
<pre>
 
{{Line/Choice
 
|choice1=Something
 
|choice1dialogue=Lines go here
 
|choice2=Something
 
|choice2dialogue=Lines go here
 
}}
 
</pre>
 
 
See [[Template:Line]] for how to insert lines into dialogue.
 
 
==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>
 

Latest revision as of 07:44, 24 December 2017


How to Use[edit]

{{Line/Choice
|choice1=Something
|choice1dialogue=Lines go here (using {{Line}} template)
|choice2=Something else
|choice2dialogue=Lines go here (using {{Line}} template)
}}

See Template:Line for how to insert lines into dialogue.

Live Example[edit]

{{Line/Choice
|choice1=Curry!
|choice1dialogue=
{{Line|character=Izumi|border=izumi|dialogue=Curry, of course!}}
{{Line|character=Masumi|border=masumi|dialogue=Heartbroken yet again...!}}
|choice2=You...?
|choice2dialogue=
{{Line|character=Izumi|border=izumi|dialogue=You're, um, obviously the better actor here!}}
{{Line|character=Masumi|border=masumi|dialogue=What sort of a rejection is that...}}
}}
Me, or Curry?
Main Story
MasumiDirector. Me or curry?
Izumi(Where is this coming from...)
CHOICE 1: Curry! [+]
IzumiCurry, of course!
MasumiHeartbroken yet again...!
CHOICE 2: You...? [+]
IzumiYou're, um, obviously the better actor here!
MasumiWhat sort of a rejection is that...
IzumiW-Well...I love curry, but I also love everyone at MANKAI Company!
MasumiBut I want you to only love me...
Main Story