Template:Dialogue: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{|class="wikitable" | <includeonly>{|class="wikitable" | ||
{{#if:{{{left image 1|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 1|missing image.png}}}|50px]]}} | {{#if:{{{left image 1|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 1|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 1|}}}|{{#if:{{{right 1 | {{!}}{{#if:{{{left image 1|}}}|{{#if:{{{right image 1|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 1|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 1 align|left}}}"{{!}}{{#if:{{{name 1|}}}|'''{{#if:{{{name 1 link|}}}|[[{{{name 1 link|}}}|{{{name 1|}}}]]|{{{name 1|}}}}}'''<br>}}{{{text 1|}}} | }} style="text-align:{{{text 1 align|left}}}"{{!}}{{#if:{{{name 1|}}}|'''{{#if:{{{name 1 link|}}}|[[{{{name 1 link|}}}|{{{name 1|}}}]]|{{{name 1|}}}}}'''<br>}}{{{text 1|}}} | ||
{{#if:{{{right image 1|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 1 flip|}}}|<div class="flip">}}[[File:{{{right image 1|missing image.png}}}|50px]]{{#if:{{{right image 1 flip|}}}|</div>}}}} | {{#if:{{{right image 1|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 1 flip|}}}|<div class="flip">}}[[File:{{{right image 1|missing image.png}}}|50px]]{{#if:{{{right image 1 flip|}}}|</div>}}}} | ||
|- | |- | ||
{{#if:{{{text 2|}}}|{{#if:{{{left image 2|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 2|missing image.png}}}|50px]]}} | {{#if:{{{text 2|}}}|{{#if:{{{left image 2|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 2|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 2|}}}|{{#if:{{{right 2 | {{!}}{{#if:{{{left image 2|}}}|{{#if:{{{right image 2|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 2|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 2 align|left}}}"{{!}}{{#if:{{{name 2|}}}|'''{{#if:{{{name 2 link|}}}|[[{{{name 2 link|}}}|{{{name 2|}}}]]|{{{name 2|}}}}}'''<br>}}{{{text 2|}}} | }} style="text-align:{{{text 2 align|left}}}"{{!}}{{#if:{{{name 2|}}}|'''{{#if:{{{name 2 link|}}}|[[{{{name 2 link|}}}|{{{name 2|}}}]]|{{{name 2|}}}}}'''<br>}}{{{text 2|}}} | ||
{{#if:{{{right image 2|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 2 flip|}}}|<div class="flip">}}[[File:{{{right image 2|missing image.png}}}|50px]]{{#if:{{{right image 2 flip|}}}|</div>}}}}}} | {{#if:{{{right image 2|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 2 flip|}}}|<div class="flip">}}[[File:{{{right image 2|missing image.png}}}|50px]]{{#if:{{{right image 2 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 3|}}}|{{#if:{{{left image 3|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 3|missing image.png}}}|50px]]}} | {{#if:{{{text 3|}}}|{{#if:{{{left image 3|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 3|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 3|}}}|{{#if:{{{right 3 | {{!}}{{#if:{{{left image 3|}}}|{{#if:{{{right image 3|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 3|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 3 align|left}}}"{{!}}{{#if:{{{name 3|}}}|'''{{#if:{{{name 3 link|}}}|[[{{{name 3 link|}}}|{{{name 3|}}}]]|{{{name 3|}}}}}'''<br>}}{{{text 3|}}} | }} style="text-align:{{{text 3 align|left}}}"{{!}}{{#if:{{{name 3|}}}|'''{{#if:{{{name 3 link|}}}|[[{{{name 3 link|}}}|{{{name 3|}}}]]|{{{name 3|}}}}}'''<br>}}{{{text 3|}}} | ||
{{#if:{{{right image 3|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 3 flip|}}}|<div class="flip">}}[[File:{{{right image 3|missing image.png}}}|50px]]{{#if:{{{right image 3 flip|}}}|</div>}}}}}} | {{#if:{{{right image 3|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 3 flip|}}}|<div class="flip">}}[[File:{{{right image 3|missing image.png}}}|50px]]{{#if:{{{right image 3 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 4|}}}|{{#if:{{{left image 4|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 4|missing image.png}}}|50px]]}} | {{#if:{{{text 4|}}}|{{#if:{{{left image 4|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 4|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 4|}}}|{{#if:{{{right 4 | {{!}}{{#if:{{{left image 4|}}}|{{#if:{{{right image 4|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 4|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 4 align|left}}}"{{!}}{{#if:{{{name 4|}}}|'''{{#if:{{{name 4 link|}}}|[[{{{name 4 link|}}}|{{{name 4|}}}]]|{{{name 4|}}}}}'''<br>}}{{{text 4|}}} | }} style="text-align:{{{text 4 align|left}}}"{{!}}{{#if:{{{name 4|}}}|'''{{#if:{{{name 4 link|}}}|[[{{{name 4 link|}}}|{{{name 4|}}}]]|{{{name 4|}}}}}'''<br>}}{{{text 4|}}} | ||
{{#if:{{{right image 4|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 4 flip|}}}|<div class="flip">}}[[File:{{{right image 4|missing image.png}}}|50px]]{{#if:{{{right image 4 flip|}}}|</div>}}}}}} | {{#if:{{{right image 4|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 4 flip|}}}|<div class="flip">}}[[File:{{{right image 4|missing image.png}}}|50px]]{{#if:{{{right image 4 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 5|}}}|{{#if:{{{left image 5|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 5|missing image.png}}}|50px]]}} | {{#if:{{{text 5|}}}|{{#if:{{{left image 5|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 5|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 5|}}}|{{#if:{{{right 5 | {{!}}{{#if:{{{left image 5|}}}|{{#if:{{{right image 5|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 5|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 5 align|left}}}"{{!}}{{#if:{{{name 5|}}}|'''{{#if:{{{name 5 link|}}}|[[{{{name 5 link|}}}|{{{name 5|}}}]]|{{{name 5|}}}}}'''<br>}}{{{text 5|}}} | }} style="text-align:{{{text 5 align|left}}}"{{!}}{{#if:{{{name 5|}}}|'''{{#if:{{{name 5 link|}}}|[[{{{name 5 link|}}}|{{{name 5|}}}]]|{{{name 5|}}}}}'''<br>}}{{{text 5|}}} | ||
{{#if:{{{right image 5|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 5 flip|}}}|<div class="flip">}}[[File:{{{right image 5|missing image.png}}}|50px]]{{#if:{{{right image 5 flip|}}}|</div>}}}}}} | {{#if:{{{right image 5|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 5 flip|}}}|<div class="flip">}}[[File:{{{right image 5|missing image.png}}}|50px]]{{#if:{{{right image 5 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 6|}}}|{{#if:{{{left image 6|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 6|missing image.png}}}|50px]]}} | {{#if:{{{text 6|}}}|{{#if:{{{left image 6|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 6|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 6|}}}|{{#if:{{{right 6 | {{!}}{{#if:{{{left image 6|}}}|{{#if:{{{right image 6|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 6|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 6 align|left}}}"{{!}}{{#if:{{{name 6|}}}|'''{{#if:{{{name 6 link|}}}|[[{{{name 6 link|}}}|{{{name 6|}}}]]|{{{name 6|}}}}}'''<br>}}{{{text 6|}}} | }} style="text-align:{{{text 6 align|left}}}"{{!}}{{#if:{{{name 6|}}}|'''{{#if:{{{name 6 link|}}}|[[{{{name 6 link|}}}|{{{name 6|}}}]]|{{{name 6|}}}}}'''<br>}}{{{text 6|}}} | ||
{{#if:{{{right image 6|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 6 flip|}}}|<div class="flip">}}[[File:{{{right image 6|missing image.png}}}|50px]]{{#if:{{{right image 6 flip|}}}|</div>}}}}}} | {{#if:{{{right image 6|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 6 flip|}}}|<div class="flip">}}[[File:{{{right image 6|missing image.png}}}|50px]]{{#if:{{{right image 6 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 7|}}}|{{#if:{{{left image 7|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 7|missing image.png}}}|50px]]}} | {{#if:{{{text 7|}}}|{{#if:{{{left image 7|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 7|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 7|}}}|{{#if:{{{right 7 | {{!}}{{#if:{{{left image 7|}}}|{{#if:{{{right image 7|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 7|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 7 align|left}}}"{{!}}{{#if:{{{name 7|}}}|'''{{#if:{{{name 7 link|}}}|[[{{{name 7 link|}}}|{{{name 7|}}}]]|{{{name 7|}}}}}'''<br>}}{{{text 7|}}} | }} style="text-align:{{{text 7 align|left}}}"{{!}}{{#if:{{{name 7|}}}|'''{{#if:{{{name 7 link|}}}|[[{{{name 7 link|}}}|{{{name 7|}}}]]|{{{name 7|}}}}}'''<br>}}{{{text 7|}}} | ||
{{#if:{{{right image 7|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 7 flip|}}}|<div class="flip">}}[[File:{{{right image 7|missing image.png}}}|50px]]{{#if:{{{right image 7 flip|}}}|</div>}}}}}} | {{#if:{{{right image 7|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 7 flip|}}}|<div class="flip">}}[[File:{{{right image 7|missing image.png}}}|50px]]{{#if:{{{right image 7 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 8|}}}|{{#if:{{{left image 8|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 8|missing image.png}}}|50px]]}} | {{#if:{{{text 8|}}}|{{#if:{{{left image 8|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 8|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 8|}}}|{{#if:{{{right 8 | {{!}}{{#if:{{{left image 8|}}}|{{#if:{{{right image 8|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 8|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 8 align|left}}}"{{!}}{{#if:{{{name 8|}}}|'''{{#if:{{{name 8 link|}}}|[[{{{name 8 link|}}}|{{{name 8|}}}]]|{{{name 8|}}}}}'''<br>}}{{{text 8|}}} | }} style="text-align:{{{text 8 align|left}}}"{{!}}{{#if:{{{name 8|}}}|'''{{#if:{{{name 8 link|}}}|[[{{{name 8 link|}}}|{{{name 8|}}}]]|{{{name 8|}}}}}'''<br>}}{{{text 8|}}} | ||
{{#if:{{{right image 8|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 8 flip|}}}|<div class="flip">}}[[File:{{{right image 8|missing image.png}}}|50px]]{{#if:{{{right image 8 flip|}}}|</div>}}}}}} | {{#if:{{{right image 8|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 8 flip|}}}|<div class="flip">}}[[File:{{{right image 8|missing image.png}}}|50px]]{{#if:{{{right image 8 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 9|}}}|{{#if:{{{left image 9|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 9|missing image.png}}}|50px]]}} | {{#if:{{{text 9|}}}|{{#if:{{{left image 9|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 9|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 9|}}}|{{#if:{{{right 9 | {{!}}{{#if:{{{left image 9|}}}|{{#if:{{{right image 9|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 9|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 9 align|left}}}"{{!}}{{#if:{{{name 9|}}}|'''{{#if:{{{name 9 link|}}}|[[{{{name 9 link|}}}|{{{name 9|}}}]]|{{{name 9|}}}}}'''<br>}}{{{text 9|}}} | }} style="text-align:{{{text 9 align|left}}}"{{!}}{{#if:{{{name 9|}}}|'''{{#if:{{{name 9 link|}}}|[[{{{name 9 link|}}}|{{{name 9|}}}]]|{{{name 9|}}}}}'''<br>}}{{{text 9|}}} | ||
{{#if:{{{right image 9|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 9 flip|}}}|<div class="flip">}}[[File:{{{right image 9|missing image.png}}}|50px]]{{#if:{{{right image 9 flip|}}}|</div>}}}}}} | {{#if:{{{right image 9|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 9 flip|}}}|<div class="flip">}}[[File:{{{right image 9|missing image.png}}}|50px]]{{#if:{{{right image 9 flip|}}}|</div>}}}}}} | ||
|- | |- | ||
{{#if:{{{text 10|}}}|{{#if:{{{left image 10|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 10|missing image.png}}}|50px]]}} | {{#if:{{{text 10|}}}|{{#if:{{{left image 10|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 10|missing image.png}}}|50px]]}} | ||
{{!}}{{#if:{{{left image 10|}}}|{{#if:{{{right 10 | {{!}}{{#if:{{{left image 10|}}}|{{#if:{{{right image 10|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 10|}}}|colspan="2"|colspan="3"}} | ||
}} style="text-align:{{{text 10 align|left}}}"{{!}}{{#if:{{{name 10|}}}|'''{{#if:{{{name 1 link0|}}}|[[{{{name 10 link|}}}|{{{name 10|}}}]]|{{{name 10|}}}}}'''<br>}}{{{text 10|}}} | }} style="text-align:{{{text 10 align|left}}}"{{!}}{{#if:{{{name 10|}}}|'''{{#if:{{{name 1 link0|}}}|[[{{{name 10 link|}}}|{{{name 10|}}}]]|{{{name 10|}}}}}'''<br>}}{{{text 10|}}} | ||
{{#if:{{{right image 10|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 10 flip|}}}|<div class="flip">}}[[File:{{{right image 10|missing image.png}}}|50px]]{{#if:{{{right image 10 flip|}}}|</div>}}}}}} | {{#if:{{{right image 10|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{right image 10 flip|}}}|<div class="flip">}}[[File:{{{right image 10|missing image.png}}}|50px]]{{#if:{{{right image 10 flip|}}}|</div>}}}}}} | ||
|}</includeonly><noinclude>{{/doc}}</noinclude> | |}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Revision as of 08:35, 20 March 2025
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
}}
| Scoop That must be the Party Bloon! It's got a great costume on, so it can't be all BAD... |
||
| Patch Seriously? |
||
| Scoop Highest form of humor... |