Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:NPCDialog"

From DFO World Wiki
Jump to: navigation, search
(Created page with "<includeonly> <table style="background:#222; color:#f8d8a8; border-radius:0.5em; padding-top:5px; padding-bottom:-5px; margin:5px; box-shadow: 0 0 0 1px #a38d72, 0 0 0...")
 
m
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#css:
<table style="background:#222;
+
.tab {
color:#f8d8a8;
+
border-left:1px solid #a38d72;
border-radius:0.5em;
+
padding-left:10px;
padding-top:5px;
+
}
padding-bottom:-5px;
+
}}<table style="
margin:5px;
+
        background:#222;
box-shadow:
+
        color:#f8d8a8;
    0 0 0 1px #a38d72,
+
 
    0 0 0 4px #222;">
+
        margin:5px;
<tr>
+
        padding-top:5px;
<td rowspan="2"
+
        padding-bottom:0px;
    style="
+
 
    width:194px;
+
        height:150px;
    vertical-align:bottom;
+
        width:700px;
    padding:0px;"
+
        border:none;
>{{#if:{{{1|Portrait|Title|}}}|[[File:{{{1|Portrait|}} Portrait.png]]}}</td>
+
        border-radius:0.5em;
<td style="border-bottom:1px solid #a38d72;vertical-align:bottom;"><span style="font-size:20px;font-style:normal;font-weight: light;">{{{1|Title| }}}</span></td>
+
        box-shadow:
 +
            0 0 0 1px #a38d72,
 +
            0 0 0 4px #222;
 +
      "
 +
>
 +
<tr style="height:20px;">
 +
<td rowspan="2"
 +
    style="
 +
      border:none;
 +
      width:270px;
 +
      text-align:center;
 +
      vertical-align:bottom;
 +
      padding:0px;
 +
    "
 +
>{{#if:{{{1|Portrait|}}}|[[File:{{{1|Portrait|}}}.png|x150px]]}}</td>
 +
<td style="
 +
      border:none;
 +
      border-bottom:1px solid #a38d72;
 +
      vertical-align:bottom;
 +
      overflow-y:auto;
 +
    "><span style="font-size:20px;">{{{2|Title| }}}</span></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td style="height:100%;padding:5px;">{{{2|Text|}}}</td>
+
<td style="
 +
      border:none;
 +
      height:100px;
 +
      padding-right:30px;
 +
      display:block;
 +
      overflow-y:auto;
 +
      line-height:16px;
 +
      font-size:12px;
 +
    "
 +
><span>{{{Text|(DIALOGUE MISSING)}}}</span></td>
 
</tr>
 
</tr>
</table>
+
</table></includeonly>
</includeonly>
 
 
<noinclude>
 
<noinclude>
{{NPCDialog|Sharan|Greetings Wiki Editor! To use this template, you may specify the following attributes:  
+
'''Normal Portrait Test'''
 +
{{NPCDialog|Sharan-Face2|Sharan|Text=
 +
Greetings Wiki Editor! To use this template, you may specify the following attributes:
 +
*'''Portrait''': What I look like.
 +
*'''Title''': What my name is.
 +
*'''Text''': What I say.
 +
You can also use the template by going: <nowiki>{{NPCDialog|Sharan-Face2|Sharan|Text=Blahblahblah}}</nowiki>}}
 +
 
 +
'''Wide Portrait Test'''
 +
{{NPCDialog|Lucille-NFace1|Lucille Redmayne|Text=
 +
Greetings Wiki Editor! To use this template, you may specify the following attributes:  
 
*'''Portrait''': What I look like.
 
*'''Portrait''': What I look like.
 
*'''Title''': What my name is.
 
*'''Title''': What my name is.
 
*'''Text''': What I say.
 
*'''Text''': What I say.
You can also use the template by going: <nowiki>{{NPCDialog|Sharan|Blahblahblah}}</nowiki>}}
+
You can also use the template by going: <nowiki>{{NPCDialog|Lucille-NFace1|Lucille Redmayne|Text=Blahblahblah}}</nowiki>}}
 +
 
 +
'''Long Dialogue Test'''
 +
{{NPCDialog|GSD|G.S.D|Text=
 +
<dl><dd class="tab">
 +
<p>You said you'd lost yourself, but your soul still lives inside you. It's just growing weaker by the day, suppressed by the Ghost's energy.</p>
 +
</dd></dl>
 +
<p>The answer is inside you. Use your power to awaken your soul and control the Ghost. You can do it, and I can teach you how.</p>
 +
<p>Sometimes, a drop of water can fill an entire bowl. This drop you need is the essence of other strong warriors. Think you can get it? If you're ready, now it's a matter of time.</p>
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:27, 15 February 2023


Normal Portrait Test

Sharan-Face2.png Sharan
Greetings Wiki Editor! To use this template, you may specify the following attributes:
  • Portrait: What I look like.
  • Title: What my name is.
  • Text: What I say.
You can also use the template by going: {{NPCDialog|Sharan-Face2|Sharan|Text=Blahblahblah}}


Wide Portrait Test

Lucille-NFace1.png Lucille Redmayne
Greetings Wiki Editor! To use this template, you may specify the following attributes:
  • Portrait: What I look like.
  • Title: What my name is.
  • Text: What I say.
You can also use the template by going: {{NPCDialog|Lucille-NFace1|Lucille Redmayne|Text=Blahblahblah}}


Long Dialogue Test

GSD-Face2.png G.S.D

You said you'd lost yourself, but your soul still lives inside you. It's just growing weaker by the day, suppressed by the Ghost's energy.

The answer is inside you. Use your power to awaken your soul and control the Ghost. You can do it, and I can teach you how.

Sometimes, a drop of water can fill an entire bowl. This drop you need is the essence of other strong warriors. Think you can get it? If you're ready, now it's a matter of time.