Template:Dialogue: Difference between revisions
m no longer full width (it looks weird) |
Hubianzhen (talk | contribs) added speak arrows since text align sometimes won't do when boxes are sized to fit, or when multiple characters talk at the same time |
||
| Line 1: | Line 1: | ||
<includeonly>{|class="wikitable" | <includeonly>{|class="wikitable" | ||
{{#if:{{{1 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{1 left image|missing image.png}}}|50px{{#if:{{{1 left link|}}}|{{!}}link={{{1 left link}}}}}]]}} | {{#if:{{{1 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{1 left image|missing image.png}}}|50px{{#if:{{{1 left link|}}}|{{!}}link={{{1 left link}}}}}]] | ||
{{!}}{{#if:{{{1 left speak|}}}|◄}}}} | |||
|{{#if:{{{1 left image|}}} | |{{#if:{{{1 left image|}}} | ||
|{{#if:{{{1 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{1 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{1 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{1 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{1 text align|left}}}"|{{{1 text|}}} | }} style="text-align:{{{1 text align|left}}}"|{{{1 text|}}} | ||
{{#if:{{{1 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{1 right image flip|}}}|<div class="flip">}}[[File:{{{1 right image|missing image.png}}}|50px{{#if:{{{1 right link|}}}|{{!}}link={{{1 right link}}}}}]]{{#if:{{{1 right image flip|}}}|</div>}}}} | {{#if:{{{1 right image|}}}|{{!}}{{#if:{{{1 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{1 right image flip|}}}|<div class="flip">}}[[File:{{{1 right image|missing image.png}}}|50px{{#if:{{{1 right link|}}}|{{!}}link={{{1 right link}}}}}]]{{#if:{{{1 right image flip|}}}|</div>}}}} | |||
|- | |- | ||
{{#if:{{{2 text|}}}| | {{#if:{{{2 text|}}}| | ||
{{#if:{{{2 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{2 left image|missing image.png}}}|50px{{#if:{{{2 left link|}}}|{{!}}link={{{2 left link}}}}}]]}} | {{#if:{{{2 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{2 left image|missing image.png}}}|50px{{#if:{{{2 left link|}}}|{{!}}link={{{2 left link}}}}}]] | ||
{{!}}{{#if:{{{2 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{2 left image|}}} | {{!}}{{#if:{{{2 left image|}}} | ||
|{{#if:{{{2 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{2 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{2 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{2 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{2 text align|left}}}"{{!}}{{{2 text|}}} | }} style="text-align:{{{2 text align|left}}}"{{!}}{{{2 text|}}} | ||
{{#if:{{{2 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{2 right image flip|}}}|<div class="flip">}}[[File:{{{2 right image|missing image.png}}}|50px{{#if:{{{2 right link|}}}|{{!}}link={{{2 right link}}}}}]]{{#if:{{{2 right image flip|}}}|</div>}}}}}} | {{#if:{{{2 right image|}}}|{{!}}{{#if:{{{2 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{2 right image flip|}}}|<div class="flip">}}[[File:{{{2 right image|missing image.png}}}|50px{{#if:{{{2 right link|}}}|{{!}}link={{{2 right link}}}}}]]{{#if:{{{2 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{3 text|}}}| | {{#if:{{{3 text|}}}| | ||
{{#if:{{{3 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{3 left image|missing image.png}}}|50px{{#if:{{{3 left link|}}}|{{!}}link={{{3 left link}}}}}]]}} | {{#if:{{{3 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{3 left image|missing image.png}}}|50px{{#if:{{{3 left link|}}}|{{!}}link={{{3 left link}}}}}]] | ||
{{!}}{{#if:{{{3 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{3 left image|}}} | {{!}}{{#if:{{{3 left image|}}} | ||
|{{#if:{{{3 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{3 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{3 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{3 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{3 text align|left}}}"{{!}}{{{3 text|}}} | }} style="text-align:{{{3 text align|left}}}"{{!}}{{{3 text|}}} | ||
{{#if:{{{3 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{3 right image flip|}}}|<div class="flip">}}[[File:{{{3 right image|missing image.png}}}|50px{{#if:{{{3 right link|}}}|{{!}}link={{{3 right link}}}}}]]{{#if:{{{3 right image flip|}}}|</div>}}}}}} | {{#if:{{{3 right image|}}}|{{!}}{{#if:{{{3 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{3 right image flip|}}}|<div class="flip">}}[[File:{{{3 right image|missing image.png}}}|50px{{#if:{{{3 right link|}}}|{{!}}link={{{3 right link}}}}}]]{{#if:{{{3 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{4 text|}}}| | {{#if:{{{4 text|}}}| | ||
{{#if:{{{4 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{4 left image|missing image.png}}}|50px{{#if:{{{4 left link|}}}|{{!}}link={{{4 left link}}}}}]]}} | {{#if:{{{4 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{4 left image|missing image.png}}}|50px{{#if:{{{4 left link|}}}|{{!}}link={{{4 left link}}}}}]] | ||
{{!}}{{#if:{{{4 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{4 left image|}}} | {{!}}{{#if:{{{4 left image|}}} | ||
|{{#if:{{{4 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{4 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{4 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{4 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{4 text align|left}}}"{{!}}{{{4 text|}}} | }} style="text-align:{{{4 text align|left}}}"{{!}}{{{4 text|}}} | ||
{{#if:{{{4 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{4 right image flip|}}}|<div class="flip">}}[[File:{{{4 right image|missing image.png}}}|50px{{#if:{{{4 right link|}}}|{{!}}link={{{4 right link}}}}}]]{{#if:{{{4 right image flip|}}}|</div>}}}}}} | {{#if:{{{4 right image|}}}|{{!}}{{#if:{{{4 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{4 right image flip|}}}|<div class="flip">}}[[File:{{{4 right image|missing image.png}}}|50px{{#if:{{{4 right link|}}}|{{!}}link={{{4 right link}}}}}]]{{#if:{{{4 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{5 text|}}}| | {{#if:{{{5 text|}}}| | ||
{{#if:{{{5 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{5 left image|missing image.png}}}|50px{{#if:{{{5 left link|}}}|{{!}}link={{{5 left link}}}}}]]}} | {{#if:{{{5 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{5 left image|missing image.png}}}|50px{{#if:{{{5 left link|}}}|{{!}}link={{{5 left link}}}}}]] | ||
{{!}}{{#if:{{{5 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{5 left image|}}} | {{!}}{{#if:{{{5 left image|}}} | ||
|{{#if:{{{5 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{5 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{5 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{5 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{5 text align|left}}}"{{!}}{{{5 text|}}} | }} style="text-align:{{{5 text align|left}}}"{{!}}{{{5 text|}}} | ||
{{#if:{{{5 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{5 right image flip|}}}|<div class="flip">}}[[File:{{{5 right image|missing image.png}}}|50px{{#if:{{{5 right link|}}}|{{!}}link={{{5 right link}}}}}]]{{#if:{{{5 right image flip|}}}|</div>}}}}}} | {{#if:{{{5 right image|}}}|{{!}}{{#if:{{{5 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{5 right image flip|}}}|<div class="flip">}}[[File:{{{5 right image|missing image.png}}}|50px{{#if:{{{5 right link|}}}|{{!}}link={{{5 right link}}}}}]]{{#if:{{{5 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{6 text|}}}| | {{#if:{{{6 text|}}}| | ||
{{#if:{{{6 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{6 left image|missing image.png}}}|50px{{#if:{{{6 left link|}}}|{{!}}link={{{6 left link}}}}}]]}} | {{#if:{{{6 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{6 left image|missing image.png}}}|50px{{#if:{{{6 left link|}}}|{{!}}link={{{6 left link}}}}}]] | ||
{{!}}{{#if:{{{6 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{6 left image|}}} | {{!}}{{#if:{{{6 left image|}}} | ||
|{{#if:{{{6 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{6 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{6 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{6 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{6 text align|left}}}"{{!}}{{{6 text|}}} | }} style="text-align:{{{6 text align|left}}}"{{!}}{{{6 text|}}} | ||
{{#if:{{{6 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{6 right image flip|}}}|<div class="flip">}}[[File:{{{6 right image|missing image.png}}}|50px{{#if:{{{6 right link|}}}|{{!}}link={{{6 right link}}}}}]]{{#if:{{{6 right image flip|}}}|</div>}}}}}} | {{#if:{{{6 right image|}}}|{{!}}{{#if:{{{6 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{6 right image flip|}}}|<div class="flip">}}[[File:{{{6 right image|missing image.png}}}|50px{{#if:{{{6 right link|}}}|{{!}}link={{{6 right link}}}}}]]{{#if:{{{6 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{7 text|}}}| | {{#if:{{{7 text|}}}| | ||
{{#if:{{{7 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{7 left image|missing image.png}}}|50px{{#if:{{{7 left link|}}}|{{!}}link={{{7 left link}}}}}]]}} | {{#if:{{{7 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{7 left image|missing image.png}}}|50px{{#if:{{{7 left link|}}}|{{!}}link={{{7 left link}}}}}]] | ||
{{!}}{{#if:{{{7 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{7 left image|}}} | {{!}}{{#if:{{{7 left image|}}} | ||
|{{#if:{{{7 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{7 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{7 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{7 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{7 text align|left}}}"{{!}}{{{7 text|}}} | }} style="text-align:{{{7 text align|left}}}"{{!}}{{{7 text|}}} | ||
{{#if:{{{7 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{7 right image flip|}}}|<div class="flip">}}[[File:{{{7 right image|missing image.png}}}|50px{{#if:{{{7 right link|}}}|{{!}}link={{{7 right link}}}}}]]{{#if:{{{7 right image flip|}}}|</div>}}}}}} | {{#if:{{{7 right image|}}}|{{!}}{{#if:{{{7 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{7 right image flip|}}}|<div class="flip">}}[[File:{{{7 right image|missing image.png}}}|50px{{#if:{{{7 right link|}}}|{{!}}link={{{7 right link}}}}}]]{{#if:{{{7 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{8 text|}}}| | {{#if:{{{8 text|}}}| | ||
{{#if:{{{8 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{8 left image|missing image.png}}}|50px{{#if:{{{8 left link|}}}|{{!}}link={{{8 left link}}}}}]]}} | {{#if:{{{8 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{8 left image|missing image.png}}}|50px{{#if:{{{8 left link|}}}|{{!}}link={{{8 left link}}}}}]] | ||
{{!}}{{#if:{{{8 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{8 left image|}}} | {{!}}{{#if:{{{8 left image|}}} | ||
|{{#if:{{{8 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{8 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{8 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{8 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{8 text align|left}}}"{{!}}{{{8 text|}}} | }} style="text-align:{{{8 text align|left}}}"{{!}}{{{8 text|}}} | ||
{{#if:{{{8 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{8 right image flip|}}}|<div class="flip">}}[[File:{{{8 right image|missing image.png}}}|50px{{#if:{{{8 right link|}}}|{{!}}link={{{8 right link}}}}}]]{{#if:{{{8 right image flip|}}}|</div>}}}}}} | {{#if:{{{8 right image|}}}|{{!}}{{#if:{{{8 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{8 right image flip|}}}|<div class="flip">}}[[File:{{{8 right image|missing image.png}}}|50px{{#if:{{{8 right link|}}}|{{!}}link={{{8 right link}}}}}]]{{#if:{{{8 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{9 text|}}}| | {{#if:{{{9 text|}}}| | ||
{{#if:{{{9 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{9 left image|missing image.png}}}|50px{{#if:{{{9 left link|}}}|{{!}}link={{{9 left link}}}}}]]}} | {{#if:{{{9 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{9 left image|missing image.png}}}|50px{{#if:{{{9 left link|}}}|{{!}}link={{{9 left link}}}}}]] | ||
{{!}}{{#if:{{{9 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{9 left image|}}} | {{!}}{{#if:{{{9 left image|}}} | ||
|{{#if:{{{9 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{9 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{9 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{9 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{9 text align|left}}}"{{!}}{{{9 text|}}} | }} style="text-align:{{{9 text align|left}}}"{{!}}{{{9 text|}}} | ||
{{#if:{{{9 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{9 right image flip|}}}|<div class="flip">}}[[File:{{{9 right image|missing image.png}}}|50px{{#if:{{{9 right link|}}}|{{!}}link={{{9 right link}}}}}]]{{#if:{{{9 right image flip|}}}|</div>}}}}}} | {{#if:{{{9 right image|}}}|{{!}}{{#if:{{{9 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{9 right image flip|}}}|<div class="flip">}}[[File:{{{9 right image|missing image.png}}}|50px{{#if:{{{9 right link|}}}|{{!}}link={{{9 right link}}}}}]]{{#if:{{{9 right image flip|}}}|</div>}}}}}} | |||
|- | |- | ||
{{#if:{{{10 text|}}}| | {{#if:{{{10 text|}}}| | ||
{{#if:{{{10 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{10 left image|missing image.png}}}|50px{{#if:{{{10 left link|}}}|{{!}}link={{{10 left link}}}}}]]}} | {{#if:{{{10 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{10 left image|missing image.png}}}|50px{{#if:{{{10 left link|}}}|{{!}}link={{{10 left link}}}}}]] | ||
{{!}}{{#if:{{{10 left speak|}}}|◄}}}} | |||
{{!}}{{#if:{{{10 left image|}}} | {{!}}{{#if:{{{10 left image|}}} | ||
|{{#if:{{{10 right image|}}}|colspan="1"|colspan=" | |{{#if:{{{10 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{10 right image|}}}|colspan="2"|colspan=" | |{{#if:{{{10 right image|}}}|colspan="2"|colspan="4"}} | ||
}} style="text-align:{{{10 text align|left}}}"{{!}}{{{10 text|}}} | }} style="text-align:{{{10 text align|left}}}"{{!}}{{{10 text|}}} | ||
{{#if:{{{10 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{10 right image flip|}}}|<div class="flip">}}[[File:{{{10 right image|missing image.png}}}|50px{{#if:{{{10 right link|}}}|{{!}}link={{{10 right link}}}}}]]{{#if:{{{10 right image flip|}}}|</div>}}}}}} | {{#if:{{{10 right image|}}}|{{!}}{{#if:{{{10 right speak|}}}|►}} | ||
{{!}}style="width:50px"{{!}}{{#if:{{{10 right image flip|}}}|<div class="flip">}}[[File:{{{10 right image|missing image.png}}}|50px{{#if:{{{10 right link|}}}|{{!}}link={{{10 right link}}}}}]]{{#if:{{{10 right image flip|}}}|</div>}}}}}} | |||
|}</includeonly><noinclude>{{/doc}}</noinclude> | |}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Revision as of 04:56, 18 November 2024
Used to format a list of dialogue in for things such as BTD6 Quests, BATTD Adventures, and Bloons Pop! dialogue. Currently supports up to 10 lines per template. (This documentation is outdated.)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Line 1 left image | 1 left image | Image to use on the left of the first dialogue line
| File | optional |
| Line 1 left image link | 1 left link | If specified, makes the left image on the first dialogue line link to this when clicked on
| Page name | optional |
| Line 1 left speak | 1 left speak | If set to anything, adds an arrow that points to the left image of the first dialogue line
| Boolean | optional |
| Line 1 right image | 1 right image | Image to use on the right of the first dialogue line | File | optional |
| Line 1 text alignment | 1 text align | Sets the alignment of the first dialogue line
| String | optional |
| Line 1 text | 1 text | Text to use for the first dialogue line
| String | required |
| Line 1 right speak | 1 right speak | If set to anything, adds an arrow that points to the right image of the first dialogue line
| Boolean | optional |
| Line 1 right image flip | 1 right image flip | If set to anything, horizontally flips the right image of the first dialogue line
| Boolean | optional |
| Line 1 right image link | 1 right link | If specified, makes the right image on the first dialogue line link to this when clicked on
| Page name | optional |
| Line 2 text | 2 text | Text to use for the second dialogue line
| String | required |
| Line 2 left image | 2 left image | Image to use on the left of the second dialogue line
| File | optional |
| Line 2 left image link | 2 left link | If specified, makes the left image on the second dialogue line link to this when clicked on
| Page name | optional |
| Line 2 left speak | 2 left speak | If set to anything, adds an arrow that points to the left image of the second dialogue line
| Boolean | optional |
| Line 2 right image | 2 right image | Image to use on the right of the second dialogue line | File | optional |
| Line 2 text alignment | 2 text align | Sets the alignment of the second dialogue line
| String | optional |
| Line 2 right speak | 2 right speak | If set to anything, adds an arrow that points to the right image of the second dialogue line
| Boolean | optional |
| Line 2 right image flip | 2 right image flip | If set to anything, horizontally flips the right image of the second dialogue line
| Boolean | optional |
| Line 2 right image link | 2 right link | If specified, makes the right image on the second dialogue line link to this when clicked on
| Page name | optional |
Example usage
{{dialogue
|left image 1=BTD6 Patch idle.png
|right image 1=BTD6 Scoop idle.png
|right image 1 flip=y
|name 1=Scoop
|text 1 align=right
|text 1=That must be the Party Bloon! It's got a great costume on, so it can't be all BAD...
|left image 2=BTD6 Patch idle.png
|right image 2=BTD6 Scoop idle.png
|right image 2 flip=y
|name 2=Patch
|text 2=Seriously?
|text 2 align=left
|left image 3=BTD6 Patch idle.png
|right image 3=BTD6 Scoop idle.png
|right image 3 flip=y
|name 3=Scoop
|text 3=Highest form of humor...
|text 3 align=right
}}