Difference between revisions of "Template:Line/Choice"

From A3! Wiki
(How to use)
Line 1: Line 1:
 
<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}}}</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">{{{choice1dialogue}}}</table>
Line 9: Line 9:
 
<tr>
 
<tr>
 
<td colspan=2 style="text-align: left;" class="storychoice">
 
<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-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">{{{choice2dialogue}}}

Revision as of 16:35, 11 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
}}

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

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