Шаблон:Speech: различия между версиями
Aylong (обсуждение | вклад) Нет описания правки |
Aylong (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
{|cellspacing=0 cellpadding=10 width=600| | {|cellspacing=0 cellpadding=10 width=600| | ||
|width=50|{{{image|[[File:Assistant.png|right]]}}} | |width=50|{{{image|[[File:Assistant.png|right]]}}} | ||
| | |style="background-color: var(--color-notice-brown); color: var(--color-button-text); background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 20px);"|'''{{{name|Assistant}}} says:'''<br>''"{{{text|I don't want to die!}}}"'' | ||
|}<noinclude> | |}<noinclude> | ||
Версия от 15:22, 5 мая 2024
| 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...
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

