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 5: Line 5:
|{{#if:{{{1 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{1 right image|}}}|colspan="2"|colspan="3"}}
}}|{{{1 text|}}}
}}|{{{1 text|}}}
{{#if:{{{1 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{1 right image flip|}}}|<div style="flip">}}[[File:{{{1 right image|missing image.png}}}|50x50px{{#if:{{{1 right link|}}}|{{!}}link={{{1 right link}}}}}]]{{#if:{{{1 right image flip|}}}|</div>}}}}
{{#if:{{{1 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{1 right image flip|}}}|<div class="flip">}}[[File:{{{1 right image|missing image.png}}}|50x50px{{#if:{{{1 right link|}}}|{{!}}link={{{1 right link}}}}}]]{{#if:{{{1 right image flip|}}}|</div>}}}}
|-
|-
{{#if:{{{2 text|}}}|
{{#if:{{{2 text|}}}|
Line 13: Line 13:
|{{#if:{{{2 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{2 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{2 text|}}}
}}{{!}}{{{2 text|}}}
{{#if:{{{2 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{2 right image flip|}}}|<div style="flip">}}[[File:{{{2 right image|missing image.png}}}|50x50px{{#if:{{{2 right link|}}}|{{!}}link={{{2 right link}}}}}]]{{#if:{{{2 right image flip|}}}|</div>}}}}}}
{{#if:{{{2 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{2 right image flip|}}}|<div class="flip">}}[[File:{{{2 right image|missing image.png}}}|50x50px{{#if:{{{2 right link|}}}|{{!}}link={{{2 right link}}}}}]]{{#if:{{{2 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{3 text|}}}|
{{#if:{{{3 text|}}}|
Line 21: Line 21:
|{{#if:{{{3 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{3 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{3 text|}}}
}}{{!}}{{{3 text|}}}
{{#if:{{{3 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{3 right image flip|}}}|<div style="flip">}}[[File:{{{3 right image|missing image.png}}}|50x50px{{#if:{{{3 right link|}}}|{{!}}link={{{3 right link}}}}}]]{{#if:{{{3 right image flip|}}}|</div>}}}}}}
{{#if:{{{3 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{3 right image flip|}}}|<div class="flip">}}[[File:{{{3 right image|missing image.png}}}|50x50px{{#if:{{{3 right link|}}}|{{!}}link={{{3 right link}}}}}]]{{#if:{{{3 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{4 text|}}}|
{{#if:{{{4 text|}}}|
Line 29: Line 29:
|{{#if:{{{4 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{4 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{4 text|}}}
}}{{!}}{{{4 text|}}}
{{#if:{{{4 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{4 right image flip|}}}|<div style="flip">}}[[File:{{{4 right image|missing image.png}}}|50x50px{{#if:{{{4 right link|}}}|{{!}}link={{{4 right link}}}}}]]{{#if:{{{4 right image flip|}}}|</div>}}}}}}
{{#if:{{{4 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{4 right image flip|}}}|<div class="flip">}}[[File:{{{4 right image|missing image.png}}}|50x50px{{#if:{{{4 right link|}}}|{{!}}link={{{4 right link}}}}}]]{{#if:{{{4 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{5 text|}}}|
{{#if:{{{5 text|}}}|
Line 37: Line 37:
|{{#if:{{{5 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{5 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{5 text|}}}
}}{{!}}{{{5 text|}}}
{{#if:{{{5 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{5 right image flip|}}}|<div style="flip">}}[[File:{{{5 right image|missing image.png}}}|50x50px{{#if:{{{5 right link|}}}|{{!}}link={{{5 right link}}}}}]]{{#if:{{{5 right image flip|}}}|</div>}}}}}}
{{#if:{{{5 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{5 right image flip|}}}|<div class="flip">}}[[File:{{{5 right image|missing image.png}}}|50x50px{{#if:{{{5 right link|}}}|{{!}}link={{{5 right link}}}}}]]{{#if:{{{5 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{6 text|}}}|
{{#if:{{{6 text|}}}|
Line 45: Line 45:
|{{#if:{{{6 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{6 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{6 text|}}}
}}{{!}}{{{6 text|}}}
{{#if:{{{6 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{6 right image flip|}}}|<div style="flip">}}[[File:{{{6 right image|missing image.png}}}|50x50px{{#if:{{{6 right link|}}}|{{!}}link={{{6 right link}}}}}]]{{#if:{{{6 right image flip|}}}|</div>}}}}}}
{{#if:{{{6 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{6 right image flip|}}}|<div class="flip">}}[[File:{{{6 right image|missing image.png}}}|50x50px{{#if:{{{6 right link|}}}|{{!}}link={{{6 right link}}}}}]]{{#if:{{{6 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{7 text|}}}|
{{#if:{{{7 text|}}}|
Line 53: Line 53:
|{{#if:{{{7 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{7 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{7 text|}}}
}}{{!}}{{{7 text|}}}
{{#if:{{{7 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{7 right image flip|}}}|<div style="flip">}}[[File:{{{7 right image|missing image.png}}}|50x50px{{#if:{{{7 right link|}}}|{{!}}link={{{7 right link}}}}}]]{{#if:{{{7 right image flip|}}}|</div>}}}}}}
{{#if:{{{7 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{7 right image flip|}}}|<div class="flip">}}[[File:{{{7 right image|missing image.png}}}|50x50px{{#if:{{{7 right link|}}}|{{!}}link={{{7 right link}}}}}]]{{#if:{{{7 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{8 text|}}}|
{{#if:{{{8 text|}}}|
Line 61: Line 61:
|{{#if:{{{8 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{8 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{8 text|}}}
}}{{!}}{{{8 text|}}}
{{#if:{{{8 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{8 right image flip|}}}|<div style="flip">}}[[File:{{{8 right image|missing image.png}}}|50x50px{{#if:{{{8 right link|}}}|{{!}}link={{{8 right link}}}}}]]{{#if:{{{8 right image flip|}}}|</div>}}}}}}
{{#if:{{{8 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{8 right image flip|}}}|<div class="flip">}}[[File:{{{8 right image|missing image.png}}}|50x50px{{#if:{{{8 right link|}}}|{{!}}link={{{8 right link}}}}}]]{{#if:{{{8 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{9 text|}}}|
{{#if:{{{9 text|}}}|
Line 69: Line 69:
|{{#if:{{{9 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{9 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{9 text|}}}
}}{{!}}{{{9 text|}}}
{{#if:{{{9 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{9 right image flip|}}}|<div style="flip">}}[[File:{{{9 right image|missing image.png}}}|50x50px{{#if:{{{9 right link|}}}|{{!}}link={{{9 right link}}}}}]]{{#if:{{{9 right image flip|}}}|</div>}}}}}}
{{#if:{{{9 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{9 right image flip|}}}|<div class="flip">}}[[File:{{{9 right image|missing image.png}}}|50x50px{{#if:{{{9 right link|}}}|{{!}}link={{{9 right link}}}}}]]{{#if:{{{9 right image flip|}}}|</div>}}}}}}
|-
|-
{{#if:{{{10 text|}}}|
{{#if:{{{10 text|}}}|
Line 77: Line 77:
|{{#if:{{{10 right image|}}}|colspan="2"|colspan="3"}}
|{{#if:{{{10 right image|}}}|colspan="2"|colspan="3"}}
}}{{!}}{{{10 text|}}}
}}{{!}}{{{10 text|}}}
{{#if:{{{10 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{10 right image flip|}}}|<div style="flip">}}[[File:{{{10 right image|missing image.png}}}|50x50px{{#if:{{{10 right link|}}}|{{!}}link={{{10 right link}}}}}]]{{#if:{{{10 right image flip|}}}|</div>}}}}}}
{{#if:{{{10 right image|}}}|{{!}}style="width:50px"{{!}}{{#if:{{{10 right image flip|}}}|<div class="flip">}}[[File:{{{10 right image|missing image.png}}}|50x50px{{#if:{{{10 right link|}}}|{{!}}link={{{10 right link}}}}}]]{{#if:{{{10 right image flip|}}}|</div>}}}}}}
|}</includeonly><noinclude>{{/doc}}[[Category:Formatting templates]]</noinclude>
|}</includeonly><noinclude>{{/doc}}[[Category:Formatting templates]]</noinclude>

Revision as of 20:09, 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
}}