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 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; |
− | + | color:#f8d8a8; | |
− | padding-top:5px; | + | |
− | padding-bottom: | + | margin:5px; |
− | + | padding-top:5px; | |
− | box-shadow: | + | padding-bottom:0px; |
− | + | ||
− | + | height:270px; | |
− | <tr> | + | width:650px; |
− | <td rowspan="2" | + | |
− | + | border-radius:0.5em; | |
− | + | box-shadow: | |
− | + | 0 0 0 1px #a38d72, | |
− | + | 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> |