Template:Speech
![]() |
Assistant says: "I don't want to die!" |
How to use
{{Speech}}
yields
![]() |
Assistant says: "I don't want to die!" |
{{Speech |name=Urist McDorf |text=Hello. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text! |image=[[File:Clown.png|right]] }}
yields...
Urist McDorf says: "Hello. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text!" |
and to test Width,
{{Speech |name=Urist McDorf |text=Hello. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text! |image=[[File:AI.gif|right]] |width=90% }}
yields...
Meaning of variables
name = The name of the speaker, defaults to "Assistant"
text = The spoken text, defaults to "I don't want to die!"
image = The image of the speaker. Defaults to Assistant.png
width = The width of the text box. Defaults to 600. Anything that can be passed into a MediaWiki's table's "width" can apply. 90%, a flat integer representing pixels e.g. 900...