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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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}}}|50x50px{{#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 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.)

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