Template:Dialogue: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{|class="wikitable" style="width:100%" | <includeonly>{|class="wikitable" style="width:100%" | ||
{{#if:{{{1 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{1 left image|missing image.png}}}| | {{#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|}}} | |{{#if:{{{1 left image|}}} | ||
|{{#if:{{{1 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{1 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 8: | Line 8: | ||
|- | |- | ||
{{#if:{{{2 text|}}}| | {{#if:{{{2 text|}}}| | ||
{{#if:{{{2 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{2 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{2 left image|}}} | ||
|{{#if:{{{2 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{2 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 16: | Line 16: | ||
|- | |- | ||
{{#if:{{{3 text|}}}| | {{#if:{{{3 text|}}}| | ||
{{#if:{{{3 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{3 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{3 left image|}}} | ||
|{{#if:{{{3 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{3 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 24: | Line 24: | ||
|- | |- | ||
{{#if:{{{4 text|}}}| | {{#if:{{{4 text|}}}| | ||
{{#if:{{{4 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{4 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{4 left image|}}} | ||
|{{#if:{{{4 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{4 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 32: | Line 32: | ||
|- | |- | ||
{{#if:{{{5 text|}}}| | {{#if:{{{5 text|}}}| | ||
{{#if:{{{5 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{5 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{5 left image|}}} | ||
|{{#if:{{{5 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{5 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 40: | Line 40: | ||
|- | |- | ||
{{#if:{{{6 text|}}}| | {{#if:{{{6 text|}}}| | ||
{{#if:{{{6 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{6 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{6 left image|}}} | ||
|{{#if:{{{6 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{6 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 48: | Line 48: | ||
|- | |- | ||
{{#if:{{{7 text|}}}| | {{#if:{{{7 text|}}}| | ||
{{#if:{{{7 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{7 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{7 left image|}}} | ||
|{{#if:{{{7 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{7 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 56: | Line 56: | ||
|- | |- | ||
{{#if:{{{8 text|}}}| | {{#if:{{{8 text|}}}| | ||
{{#if:{{{8 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{8 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{8 left image|}}} | ||
|{{#if:{{{8 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{8 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 64: | Line 64: | ||
|- | |- | ||
{{#if:{{{9 text|}}}| | {{#if:{{{9 text|}}}| | ||
{{#if:{{{9 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{9 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{9 left image|}}} | ||
|{{#if:{{{9 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{9 right image|}}}|colspan="1"|colspan="2"}} | ||
| Line 72: | Line 72: | ||
|- | |- | ||
{{#if:{{{10 text|}}}| | {{#if:{{{10 text|}}}| | ||
{{#if:{{{10 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{10 left image|missing image.png}}}| | {{#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|}}} | {{!}}{{#if:{{{10 left image|}}} | ||
|{{#if:{{{10 right image|}}}|colspan="1"|colspan="2"}} | |{{#if:{{{10 right image|}}}|colspan="1"|colspan="2"}} | ||
Revision as of 20:10, 15 October 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
}}