Difference between revisions of "Template:S2a Dialogue"

From SacredWiki
Jump to navigation Jump to search
m
m (Replaced content with "<includeonly><div id="dialogue"><div style="width:410px;">{{{DIALOGUE}}}</div></div></includeonly>")
Line 1: Line 1:
<noinclude>This:
+
<includeonly><div id="dialogue"><div style="width:410px;">{{{DIALOGUE}}}</div></div></includeonly>
 
 
<nowiki>{{S2a Dialogue|NPC NAME=Kobold Chieftain|NPC PAGE=Kobold Chieftain - Happy Cow Farm|PORTRAIT FILE NAME=Kobold-Chieftain-dialog.png|DIALOGUE=Stop, hold! No hurting! You can have the Human women, take them. They wanted to clean up... ARGH! CLEAN UP! Make everything tidy! No, no, no, me no want that!}}</nowiki>
 
 
 
Or this:
 
 
 
<nowiki>{{S2a Dialogue</nowiki> <br />
 
<nowiki>|NPC NAME=Kobold Chieftain</nowiki> <br />
 
<nowiki>|NPC PAGE=Kobold Chieftain - Happy Cow Farm</nowiki> <br />
 
<nowiki>|PORTRAIT FILE NAME=Kobold-Chieftain-dialog.png</nowiki> <br />
 
<nowiki>|DIALOGUE=Stop, hold! No hurting! You can have the Human women, take them. They wanted to clean up... ARGH! CLEAN UP! Make everything tidy! No, no, no, me no want that!}}</nowiki>
 
 
 
 
 
Will create this:
 
{{S2a Dialogue|NPC NAME=Kobold Chieftain|NPC PAGE=Kobold Chieftain - Happy Cow Farm|PORTRAIT FILE NAME=Kobold-Chieftain-dialog.png|DIALOGUE=Stop, hold! No hurting! You can have the Human women, take them. They wanted to clean up... ARGH! CLEAN UP! Make everything tidy! No, no, no, me no want that!}}
 
 
 
 
 
This:
 
 
 
<nowiki>{{S2a Dialogue|NPC NAME=Toren|BUTTON1=I'll look into it.|BUTTON2=I'll Pass.|PORTRAIT FILE NAME=dialog341.png|DIALOGUE=I couldn't help overhearing - he was talking about The Great Machine, wasn't he?  I know something about it!
 
 
 
I've seen it with my own eyes.  You see, I come from Bluestonebury.  You may have heard of it.  It's in a cave north of town.  But beware of the guardians.  They're a nasty lot.  I snuch in there once to see if they had any treasure.  But they ran me off.  Maybe you might have better luck...}}</nowiki>
 
 
 
Or this:
 
 
 
<nowiki>{{S2a Dialogue</nowiki> <br />
 
<nowiki>|NPC NAME=Toren</nowiki> <br />
 
<nowiki>|BUTTON1=I'll look into it.</nowiki> <br />
 
<nowiki>|BUTTON2=I'll Pass.</nowiki> <br />
 
<nowiki>|PORTRAIT FILE NAME=dialog341.png</nowiki> <br />
 
<nowiki>|DIALOGUE=I couldn't help overhearing - he was talking about The Great Machine, wasn't he?  I know something about it!
 
 
 
I've seen it with my own eyes.  You see, I come from Bluestonebury.  You may have heard of it.  It's in a cave north of town.  But beware of the guardians.  They're a nasty lot.  I snuch in there once to see if they had any treasure.  But they ran me off.  Maybe you might have better luck...}}</nowiki>
 
 
 
 
 
Will create this:
 
 
 
{{S2a Dialogue|NPC NAME=Toren|BUTTON1=I'll look into it.|BUTTON2=I'll Pass.|PORTRAIT FILE NAME=dialog341.png|DIALOGUE=I couldn't help overhearing - he was talking about The Great Machine, wasn't he?  I know something about it!
 
 
 
 
 
I've seen it with my own eyes.  You see, I come from Bluestonebury.  You may have heard of it.  It's in a cave north of town.  But beware of the guardians.  They're a nasty lot.  I snuch in there once to see if they had any treasure.  But they ran me off.  Maybe you might have better luck...}}
 
</noinclude>
 
<includeonly><div id="dialogue"><div class="name-tag">[[Sacred 2:{{{NPC PAGE|{{{NPC NAME}}}}}}|{{{NPC NAME}}}]]</div><div class="portrait">[[File:{{{PORTRAIT FILE NAME|NoPicDialog.png}}}]]<div id="portraitframe">[http://www.sacredwiki.org/index.php/File:{{{PORTRAIT FILE NAME|NoPicDialog.png}}} http://www.sacredwiki.org/images/blank.png]</div></div><div style="display:inline-block;width:410px;">{{{DIALOGUE}}}</div><div class="buttons">{{#if: {{{BUTTON2|}}}|<div class="button2">{{{BUTTON2}}}</div>}} {{#if: {{{BUTTON1|}}}|<div class="button1">{{{BUTTON1}}}</div>|<div class="button1">Ok</div>}}</div><div id="botrightdialog"></div><div id="botleftdialog"></div><div id="toprightdialog"></div><div id="topleftdialog"></div></div></includeonly>
 

Revision as of 10:19, 25 February 2014