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 (Added portrait as a separate parameter. Extended width of the dialogue box to accommodate larger portraits.) |
(Tag: Undo) |
||
Line 8: | Line 8: | ||
height:250px; | height:250px; | ||
− | width: | + | 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;">{{{ | + | "><span style="font-size:20px;">{{{1|Title| }}}</span></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 40: | Line 40: | ||
overflow-y:auto; | overflow-y:auto; | ||
" | " | ||
− | >{{{ | + | >{{{2|Text|}}}</td> |
</tr> | </tr> | ||
</table></includeonly> | </table></includeonly> | ||
<noinclude> | <noinclude> | ||
− | {{NPCDialog | + | {{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 | + | You can also use the template by going: <nowiki>{{NPCDialog|Sharan|Blahblahblah}}</nowiki>}} |
</noinclude> | </noinclude> |