Template:Dialogue: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:
{{#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 image 1|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 1|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 2|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 2|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 3|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 3|}}}|colspan="2"|colspan="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|}}}|'''{{{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 image 4|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 4|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 5|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 5|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 6|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 6|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 7|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 7|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 8|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 8|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 9|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 9|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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 image 10|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 10|}}}|colspan="2"|colspan="3"}}
{{!}}{{#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|}}}|'''{{{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>

Latest revision as of 09:28, 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.)

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Line 1 left image1 left image

Image to use on the left of the first dialogue line

Example
BTD6 Patch thumbs up.png
Fileoptional
Line 1 left image link1 left link

If specified, makes the left image on the first dialogue line link to this when clicked on

Example
Patch
Page nameoptional
Line 1 left speak1 left speak

If set to anything, adds an arrow that points to the left image of the first dialogue line

Example
y
Booleanoptional
Line 1 right image1 right image

Image to use on the right of the first dialogue line

Fileoptional
Line 1 text alignment1 text align

Sets the alignment of the first dialogue line

Suggested values
left right center
Default
left
Example
right
Stringoptional
Line 1 text1 text

Text to use for the first dialogue line

Example
Awwwww yeah! It's not a party until Glue Rat's around! It brought some interesting news too. Apparently there's some sort of Party Bloon on its way!
Stringrequired
Line 1 right speak1 right speak

If set to anything, adds an arrow that points to the right image of the first dialogue line

Example
y
Booleanoptional
Line 1 right image flip1 right image flip

If set to anything, horizontally flips the right image of the first dialogue line

Example
y
Booleanoptional
Line 1 right image link1 right link

If specified, makes the right image on the first dialogue line link to this when clicked on

Example
Scoop
Page nameoptional
Line 2 text2 text

Text to use for the second dialogue line

Example
Awwwww yeah! It's not a party until Glue Rat's around! It brought some interesting news too. Apparently there's some sort of Party Bloon on its way!
Stringrequired
Line 2 left image2 left image

Image to use on the left of the second dialogue line

Example
BTD6 Patch thumbs up.png
Fileoptional
Line 2 left image link2 left link

If specified, makes the left image on the second dialogue line link to this when clicked on

Example
Patch
Page nameoptional
Line 2 left speak2 left speak

If set to anything, adds an arrow that points to the left image of the second dialogue line

Example
y
Booleanoptional
Line 2 right image2 right image

Image to use on the right of the second dialogue line

Fileoptional
Line 2 text alignment2 text align

Sets the alignment of the second dialogue line

Suggested values
left right center
Default
left
Example
right
Stringoptional
Line 2 right speak2 right speak

If set to anything, adds an arrow that points to the right image of the second dialogue line

Example
y
Booleanoptional
Line 2 right image flip2 right image flip

If set to anything, horizontally flips the right image of the second dialogue line

Example
y
Booleanoptional
Line 2 right image link2 right link

If specified, makes the right image on the second dialogue line link to this when clicked on

Example
Scoop
Page nameoptional

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...