Template:Dialogue: Difference between revisions
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 |
Hubianzhen (talk | contribs) mNo edit summary |
||
| 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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
|{{#if:{{{1 left image|}}} | |{{#if:{{{1 left image|}}} | ||
|{{#if:{{{1 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{1 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{1 right image|}}}|colspan=" | |{{#if:{{{1 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{1 text align|left}}}"|{{{1 text|}}} | }} style="text-align:{{{1 text align|left}}}"|{{{1 text|}}} | ||
{{#if:{{{1 right image|}}}|{{!}}{{#if:{{{1 right speak|}}}|►}} | {{#if:{{{1 right image|}}}|{{!}}{{#if:{{{1 right speak|}}}|►}} | ||
| Line 11: | Line 11: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{2 left image|}}} | {{!}}{{#if:{{{2 left image|}}} | ||
|{{#if:{{{2 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{2 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{2 right image|}}}|colspan=" | |{{#if:{{{2 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{2 text align|left}}}"{{!}}{{{2 text|}}} | }} style="text-align:{{{2 text align|left}}}"{{!}}{{{2 text|}}} | ||
{{#if:{{{2 right image|}}}|{{!}}{{#if:{{{2 right speak|}}}|►}} | {{#if:{{{2 right image|}}}|{{!}}{{#if:{{{2 right speak|}}}|►}} | ||
| Line 21: | Line 21: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{3 left image|}}} | {{!}}{{#if:{{{3 left image|}}} | ||
|{{#if:{{{3 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{3 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{3 right image|}}}|colspan=" | |{{#if:{{{3 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{3 text align|left}}}"{{!}}{{{3 text|}}} | }} style="text-align:{{{3 text align|left}}}"{{!}}{{{3 text|}}} | ||
{{#if:{{{3 right image|}}}|{{!}}{{#if:{{{3 right speak|}}}|►}} | {{#if:{{{3 right image|}}}|{{!}}{{#if:{{{3 right speak|}}}|►}} | ||
| Line 31: | Line 31: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{4 left image|}}} | {{!}}{{#if:{{{4 left image|}}} | ||
|{{#if:{{{4 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{4 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{4 right image|}}}|colspan=" | |{{#if:{{{4 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{4 text align|left}}}"{{!}}{{{4 text|}}} | }} style="text-align:{{{4 text align|left}}}"{{!}}{{{4 text|}}} | ||
{{#if:{{{4 right image|}}}|{{!}}{{#if:{{{4 right speak|}}}|►}} | {{#if:{{{4 right image|}}}|{{!}}{{#if:{{{4 right speak|}}}|►}} | ||
| Line 41: | Line 41: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{5 left image|}}} | {{!}}{{#if:{{{5 left image|}}} | ||
|{{#if:{{{5 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{5 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{5 right image|}}}|colspan=" | |{{#if:{{{5 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{5 text align|left}}}"{{!}}{{{5 text|}}} | }} style="text-align:{{{5 text align|left}}}"{{!}}{{{5 text|}}} | ||
{{#if:{{{5 right image|}}}|{{!}}{{#if:{{{5 right speak|}}}|►}} | {{#if:{{{5 right image|}}}|{{!}}{{#if:{{{5 right speak|}}}|►}} | ||
| Line 51: | Line 51: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{6 left image|}}} | {{!}}{{#if:{{{6 left image|}}} | ||
|{{#if:{{{6 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{6 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{6 right image|}}}|colspan=" | |{{#if:{{{6 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{6 text align|left}}}"{{!}}{{{6 text|}}} | }} style="text-align:{{{6 text align|left}}}"{{!}}{{{6 text|}}} | ||
{{#if:{{{6 right image|}}}|{{!}}{{#if:{{{6 right speak|}}}|►}} | {{#if:{{{6 right image|}}}|{{!}}{{#if:{{{6 right speak|}}}|►}} | ||
| Line 61: | Line 61: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{7 left image|}}} | {{!}}{{#if:{{{7 left image|}}} | ||
|{{#if:{{{7 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{7 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{7 right image|}}}|colspan=" | |{{#if:{{{7 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{7 text align|left}}}"{{!}}{{{7 text|}}} | }} style="text-align:{{{7 text align|left}}}"{{!}}{{{7 text|}}} | ||
{{#if:{{{7 right image|}}}|{{!}}{{#if:{{{7 right speak|}}}|►}} | {{#if:{{{7 right image|}}}|{{!}}{{#if:{{{7 right speak|}}}|►}} | ||
| Line 71: | Line 71: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{8 left image|}}} | {{!}}{{#if:{{{8 left image|}}} | ||
|{{#if:{{{8 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{8 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{8 right image|}}}|colspan=" | |{{#if:{{{8 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{8 text align|left}}}"{{!}}{{{8 text|}}} | }} style="text-align:{{{8 text align|left}}}"{{!}}{{{8 text|}}} | ||
{{#if:{{{8 right image|}}}|{{!}}{{#if:{{{8 right speak|}}}|►}} | {{#if:{{{8 right image|}}}|{{!}}{{#if:{{{8 right speak|}}}|►}} | ||
| Line 81: | Line 81: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{9 left image|}}} | {{!}}{{#if:{{{9 left image|}}} | ||
|{{#if:{{{9 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{9 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{9 right image|}}}|colspan=" | |{{#if:{{{9 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{9 text align|left}}}"{{!}}{{{9 text|}}} | }} style="text-align:{{{9 text align|left}}}"{{!}}{{{9 text|}}} | ||
{{#if:{{{9 right image|}}}|{{!}}{{#if:{{{9 right speak|}}}|►}} | {{#if:{{{9 right image|}}}|{{!}}{{#if:{{{9 right speak|}}}|►}} | ||
| Line 91: | Line 91: | ||
{{#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 speak|}}}|style="width:10px"{{!}}◄}}}} | ||
{{!}}{{#if:{{{10 left image|}}} | {{!}}{{#if:{{{10 left image|}}} | ||
|{{#if:{{{10 right image|}}}|colspan="1"|colspan="3"}} | |{{#if:{{{10 right image|}}}|colspan="1"|colspan="3"}} | ||
|{{#if:{{{10 right image|}}}|colspan=" | |{{#if:{{{10 right image|}}}|colspan="3"|colspan="5"}} | ||
}} style="text-align:{{{10 text align|left}}}"{{!}}{{{10 text|}}} | }} style="text-align:{{{10 text align|left}}}"{{!}}{{{10 text|}}} | ||
{{#if:{{{10 right image|}}}|{{!}}{{#if:{{{10 right speak|}}}|►}} | {{#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>}}}}}} | {{!}}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 05:46, 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
}}