Template:Dialogue: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:100%"
<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:{{{left image 1|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 1|missing image.png}}}|50px]]}}
|{{#if:{{{1 left image|}}}
{{!}}{{#if:{{{left image 1|}}}|{{#if:{{{right image 1|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 1|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{1 right image|}}}|colspan="1"|colspan="2"}}
}} style="text-align:{{{text 1 align|left}}}"{{!}}{{#if:{{{name 1|}}}|'''{{{name 1|}}}'''<br>}}{{{text 1|}}}
|{{#if:{{{1 right image|}}}|colspan="2"|colspan="3"}}
{{#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>}}}}
}}|{{{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:{{{2 text|}}}|
{{#if:{{{text 2|}}}|{{#if:{{{left image 2|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 2|missing image.png}}}|50px]]}}
{{#if:{{{2 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{2 left image|missing image.png}}}|50px{{#if:{{{2 left link|}}}|{{!}}link={{{2 left link}}}}}]]}}
{{!}}{{#if:{{{left image 2|}}}|{{#if:{{{right image 2|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 2|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{2 left image|}}}
}} style="text-align:{{{text 2 align|left}}}"{{!}}{{#if:{{{name 2|}}}|'''{{{name 2|}}}'''<br>}}{{{text 2|}}}
|{{#if:{{{2 right image|}}}|colspan="1"|colspan="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:{{{2 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{3 text|}}}|
{{#if:{{{text 3|}}}|{{#if:{{{left image 3|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 3|missing image.png}}}|50px]]}}
{{#if:{{{3 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{3 left image|missing image.png}}}|50px{{#if:{{{3 left link|}}}|{{!}}link={{{3 left link}}}}}]]}}
{{!}}{{#if:{{{left image 3|}}}|{{#if:{{{right image 3|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 3|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{3 left image|}}}
}} style="text-align:{{{text 3 align|left}}}"{{!}}{{#if:{{{name 3|}}}|'''{{{name 3|}}}'''<br>}}{{{text 3|}}}
|{{#if:{{{3 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{3 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{4 text|}}}|
{{#if:{{{text 4|}}}|{{#if:{{{left image 4|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 4|missing image.png}}}|50px]]}}
{{#if:{{{4 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{4 left image|missing image.png}}}|50px{{#if:{{{4 left link|}}}|{{!}}link={{{4 left link}}}}}]]}}
{{!}}{{#if:{{{left image 4|}}}|{{#if:{{{right image 4|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 4|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{4 left image|}}}
}} style="text-align:{{{text 4 align|left}}}"{{!}}{{#if:{{{name 4|}}}|'''{{{name 4|}}}'''<br>}}{{{text 4|}}}
|{{#if:{{{4 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{4 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{5 text|}}}|
{{#if:{{{text 5|}}}|{{#if:{{{left image 5|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 5|missing image.png}}}|50px]]}}
{{#if:{{{5 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{5 left image|missing image.png}}}|50px{{#if:{{{5 left link|}}}|{{!}}link={{{5 left link}}}}}]]}}
{{!}}{{#if:{{{left image 5|}}}|{{#if:{{{right image 5|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 5|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{5 left image|}}}
}} style="text-align:{{{text 5 align|left}}}"{{!}}{{#if:{{{name 5|}}}|'''{{{name 5|}}}'''<br>}}{{{text 5|}}}
|{{#if:{{{5 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{5 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{6 text|}}}|
{{#if:{{{text 6|}}}|{{#if:{{{left image 6|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 6|missing image.png}}}|50px]]}}
{{#if:{{{6 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{6 left image|missing image.png}}}|50px{{#if:{{{6 left link|}}}|{{!}}link={{{6 left link}}}}}]]}}
{{!}}{{#if:{{{left image 6|}}}|{{#if:{{{right image 6|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 6|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{6 left image|}}}
}} style="text-align:{{{text 6 align|left}}}"{{!}}{{#if:{{{name 6|}}}|'''{{{name 6|}}}'''<br>}}{{{text 6|}}}
|{{#if:{{{6 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{6 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{7 text|}}}|
{{#if:{{{text 7|}}}|{{#if:{{{left image 7|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 7|missing image.png}}}|50px]]}}
{{#if:{{{7 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{7 left image|missing image.png}}}|50px{{#if:{{{7 left link|}}}|{{!}}link={{{7 left link}}}}}]]}}
{{!}}{{#if:{{{left image 7|}}}|{{#if:{{{right image 7|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 7|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{7 left image|}}}
}} style="text-align:{{{text 7 align|left}}}"{{!}}{{#if:{{{name 7|}}}|'''{{{name 7|}}}'''<br>}}{{{text 7|}}}
|{{#if:{{{7 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{7 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{8 text|}}}|
{{#if:{{{text 8|}}}|{{#if:{{{left image 8|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 8|missing image.png}}}|50px]]}}
{{#if:{{{8 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{8 left image|missing image.png}}}|50px{{#if:{{{8 left link|}}}|{{!}}link={{{8 left link}}}}}]]}}
{{!}}{{#if:{{{left image 8|}}}|{{#if:{{{right image 8|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 8|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{8 left image|}}}
}} style="text-align:{{{text 8 align|left}}}"{{!}}{{#if:{{{name 8|}}}|'''{{{name 8|}}}'''<br>}}{{{text 8|}}}
|{{#if:{{{8 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{8 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{9 text|}}}|
{{#if:{{{text 9|}}}|{{#if:{{{left image 9|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 9|missing image.png}}}|50px]]}}
{{#if:{{{9 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{9 left image|missing image.png}}}|50px{{#if:{{{9 left link|}}}|{{!}}link={{{9 left link}}}}}]]}}
{{!}}{{#if:{{{left image 9|}}}|{{#if:{{{right image 9|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 9|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{9 left image|}}}
}} style="text-align:{{{text 9 align|left}}}"{{!}}{{#if:{{{name 9|}}}|'''{{{name 9|}}}'''<br>}}{{{text 9|}}}
|{{#if:{{{9 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{9 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{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:{{{10 text|}}}|
{{#if:{{{text 10|}}}|{{#if:{{{left image 10|}}}|{{!}}style="width:50px"{{!}}[[File:{{{left image 10|missing image.png}}}|50px]]}}
{{#if:{{{10 left image|}}}|{{!}}style="width:50px"{{!}}[[File:{{{10 left image|missing image.png}}}|50px{{#if:{{{10 left link|}}}|{{!}}link={{{10 left link}}}}}]]}}
{{!}}{{#if:{{{left image 10|}}}|{{#if:{{{right image 10|}}}|colspan="1"|colspan="2"}}|{{#if:{{{right image 10|}}}|colspan="2"|colspan="3"}}
{{!}}{{#if:{{{10 left image|}}}
}} style="text-align:{{{text 10 align|left}}}"{{!}}{{#if:{{{name 10|}}}|'''{{{name 10|}}}'''<br>}}{{{text 10|}}}
|{{#if:{{{10 right image|}}}|colspan="1"|colspan="2"}}
{{#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:{{{10 right image|}}}|colspan="2"|colspan="3"}}
|}</includeonly><noinclude>{{/doc}}</noinclude>
}}{{!}}{{{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>}}}}}}
|}</includeonly><noinclude>{{/doc}}[[Category:Formatting templates]]</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...