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
m (Add missing } to fix image wonkyness)
m (Add scroll-bar in case of very long dialogues. Swap height to px for IE.)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<table style="background:#222;
+
<table style="
color:#f8d8a8;
+
        background:#222;
border-radius:0.5em;
+
        color:#f8d8a8;
padding-top:5px;
+
 
padding-bottom:-5px;
+
        margin:5px;
margin:5px;
+
        padding-top:5px;
box-shadow:
+
        padding-bottom:0px;
    0 0 0 1px #a38d72,
+
 
    0 0 0 4px #222;">
+
        height:270px;
<tr>
+
        width:650px;
<td rowspan="2"
+
 
    style="
+
        border-radius:0.5em;
    width:194px;
+
        box-shadow:
    vertical-align:bottom;
+
            0 0 0 1px #a38d72,
    padding:0px;"
+
            0 0 0 4px #222;
>{{#if:{{{1|Portrait|Title|}}}|[[File:{{{1|Portrait|Title}}} Portrait.png]]}}</td>
+
      "
<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>
+
>
 +
<tr style="height:40px;">
 +
<td rowspan="2"
 +
    style="
 +
      width:194px;
 +
      vertical-align:bottom;
 +
      padding:0px;
 +
    "
 +
>{{#if:{{{1|Portrait|Title|}}}|[[File:{{{1|Portrait|Title}}} Portrait.png]]}}</td>
 +
<td style="
 +
      border-bottom:1px solid #a38d72;
 +
      vertical-align:bottom;
 +
      overflow-y:auto;
 +
    ">
 +
    <span style="
 +
    font-size:20px;
 +
    font-style:normal;
 +
        font-weight: light;
 +
    "
 +
    >{{{1|Title| }}}</span>
 +
</td>
 
</tr>
 
</tr>
<tr>
+
<tr style="height:225px;">
<td style="height:100%;padding:5px;">{{{2|Text|}}}</td>
+
<td style="
 +
      height:100%;
 +
      padding:5px;
 +
    "
 +
>{{{2|Text|}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 21:16, 22 April 2015


Sharan-Face2.png 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|Blahblahblah}}
(DIALOGUE MISSING)