Шаблон:Speech: различия между версиями

Нет описания правки
м (руссиш)
 
(не показана 1 промежуточная версия 1 участника)
Строка 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]]}}} 
|bgcolor="a6875b"|'''{{{name|Assistant}}} says:'''<br>''"{{{text|I don't want to die!}}}"''
|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}}} говорит:'''<br>''"{{{text|I don't want to die!}}}"''
|}<noinclude>
|}<noinclude>



Текущая версия от 10:06, 7 мая 2024

Assistant.png
 
Assistant говорит:
"I don't want to die!"


How to use

 {{Speech}}

yields

Assistant.png
 
Assistant говорит:
"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...

Clown.png
 
Urist McDorf говорит:
"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!"


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 Assistant.png