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

Revision as of 04:26, 13 January 2021


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)