Template:Speech: Difference between revisions

From Starfly13
>Mark
mNo edit summary
 
No edit summary
 
Line 1: Line 1:
{|cellspacing=0 cellpadding=10 width=100% style="max-width: 600px; color: #000"|
{|cellspacing=0 cellpadding=10 width=100% style="max-width: 600px; color: #000"|
|width=100|[[File:{{{image|Crewmate.png}}}|right|64px]] 
|width=100|[[File:{{{image|Crewmate.png}}}|right|64px]] 
|bgcolor="fcfbce"|'''{{{name|Crewmate}}} says:'''<br>''"{{{text|shiptest}}}"''
|bgcolor="fcfbce"|'''{{{name|Crewmate}}} says:'''<br>''"{{{text|starfly}}}"''
|}<noinclude>
|}<noinclude>


Line 35: Line 35:


'''name''' = The name of the speaker, defaults to "Crewmate"<br>
'''name''' = The name of the speaker, defaults to "Crewmate"<br>
'''text''' = The spoken text, defaults to "shiptest"<br>
'''text''' = The spoken text, defaults to "starfly"<br>
'''image''' = The image of the speaker. Defaults to Crewmate.png [[File:Crewmate.png]]
'''image''' = The image of the speaker. Defaults to Crewmate.png [[File:Crewmate.png]]


[[Category:templates]]
[[Category:templates]]
</noinclude>
</noinclude>

Latest revision as of 02:38, 8 May 2024

Crewmate.png
 
Crewmate says:
"starfly"


How to use

 {{Speech}}

yields

Crewmate.png
 
Crewmate says:
"starfly"
 {{Speech
 |name=Captain Cap DiCaprio
 |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=Autowiki-Captain.png
 }}

yields...

Autowiki-Captain.png
 
Captain Cap DiCaprio 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!"


Meaning of variables

name = The name of the speaker, defaults to "Crewmate"
text = The spoken text, defaults to "starfly"
image = The image of the speaker. Defaults to Crewmate.png Crewmate.png