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"
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: | + | 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 | + | >{{#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;">{{{ | + | "><span style="font-size:20px;">{{{2|Title| }}}</span></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 40: | Line 40: | ||
overflow-y:auto; | overflow-y:auto; | ||
" | " | ||
− | >{{{ | + | >{{{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> |