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 border:none to prevent parent table from showing them. Fiddle with sizes.)
m (Added portrait as a separate parameter. Extended width of the dialogue box to accommodate larger portraits.)
Line 8: Line 8:
  
 
         height:250px;
 
         height:250px;
         width:650px;
+
         width:900px;
 
         border:none;
 
         border:none;
 
         border-radius:0.5em;
 
         border-radius:0.5em;
Line 24: Line 24:
 
       padding:0px;
 
       padding:0px;
 
     "
 
     "
  >{{#if:{{{1|Portrait|Title|}}}|[[File:{{{1|Portrait|Title}}} Portrait.png]]}}</td>
+
  >{{#if:{{{1|Portrait|}}}|[[File:{{{1|Portrait|}}}.png]]}}</td>
 
  <td style="
 
  <td style="
 
       border:none;
 
       border:none;
Line 30: Line 30:
 
       vertical-align:bottom;
 
       vertical-align:bottom;
 
       overflow-y:auto;
 
       overflow-y:auto;
     "><span style="font-size:20px;">{{{1|Title| }}}</span></td>
+
     "><span style="font-size:20px;">{{{2|Title| }}}</span></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 40: Line 40:
 
       overflow-y:auto;  
 
       overflow-y:auto;  
 
     "
 
     "
  >{{{2|Text|}}}</td>
+
  >{{{3|Text|}}}</td>
 
</tr>
 
</tr>
 
</table></includeonly>
 
</table></includeonly>
 
<noinclude>
 
<noinclude>
{{NPCDialog|Sharan|Greetings Wiki Editor! To use this template, you may specify the following attributes:  
+
{{NPCDialog|Sharan Portrait|Sharan|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|Sharan Portrait|Sharan|Blahblahblah}}</nowiki>}}
 
</noinclude>
 
</noinclude>

Revision as of 16:15, 1 June 2020


x150px Sharan
(DIALOGUE MISSING)