Template:Speech: Difference between revisions

From Galaxypedia
No edit summary
Tag: 2017 source edit
(h1 to p)
Tag: 2017 source edit
Line 2: Line 2:
<div class="TemplateRevision" style="margin-bottom: 18px; border: 2px solid #171818; border-radius: 10px">
<div class="TemplateRevision" style="margin-bottom: 18px; border: 2px solid #171818; border-radius: 10px">
<div class="container" style="background-color: #0c0c0c; border: 2px solid var(--mainbordercolorS); border-color: {{{2|#0f1011}}}; padding: 8px; padding-top: 12px">
<div class="container" style="background-color: #0c0c0c; border: 2px solid var(--mainbordercolorS); border-color: {{{2|#0f1011}}}; padding: 8px; padding-top: 12px">
<p class="header1" style="text-align: center;">{{{3|}}}</h1>
<p class="header1" style="text-align: center;">{{{3|}}}</p>
<p class="header3" style="text-align: center;">{{{1}}}</p>
<p class="header3" style="text-align: center;">{{{1}}}</p>
</div>
</div>

Revision as of 23:05, 25 May 2023


Hello World!

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Ut dictum odio nec ipsum suscipit, id accumsan neque eleifend.
Pellentesque et nisl non nisl facilisis finibus nec non ante.


Hello World!


This template inserts an NPC speech box into a page.

Template parameters

ParameterDescriptionTypeStatus
Text1

Whatever you want the speech box to display. Supports newlines, if used with the <br> HTML tag.

Example
Hello World!
Stringrequired
Border Color2

Determines the color of the border. Can be a hex color code or any CSS color, found here: https://www.w3schools.com/colors/colors_names.asp

Suggested values
Tomato MediumSeaGreen DodgerBlue
Default
#0f1011
Example
#eb4034
Stringoptional
Title3

Adds a title to the speech box.

Example
Lorem Ipsum
Stringoptional