Difference between revisions of "Template:S2 Dialogue"

From SacredWiki
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly><div id="dialogue"><div class="name-tag">[[Sacred 2:{{{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><p>{{{DIALOGUE}}}</p><div id="botrightdialog"></div><div id="botleftdialog"></div><div id="toprightdialog"></div><div id="topleftdialog"></div></div></includeonly>
 
 
<noinclude>
 
<noinclude>
 
{|
 
{|
Line 48: Line 47:
 
That's all what I saw.  You should hurry.  More [[Sacred 2:undead|undead]] come every night.  It will be too late once they've flooded the city!}}<br />
 
That's all what I saw.  You should hurry.  More [[Sacred 2:undead|undead]] come every night.  It will be too late once they've flooded the city!}}<br />
 
</noinclude>
 
</noinclude>
 +
<includeonly><div id="dialogue"><div class="name-tag">[[Sacred 2:{{{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><p>{{{DIALOGUE}}}</p><div id="botrightdialog"></div><div id="botleftdialog"></div><div id="toprightdialog"></div><div id="topleftdialog"></div></div></includeonly>

Revision as of 22:21, 14 November 2013

NoPicDialog.png This template uses 76px wide by 76px high PNG Transparent PORTRAIT images of the NPC's from the dialog box in the game. All of the PORTRAIT images of quest related NPC's have been uploaded in advance for use with this template only. You can find all of the NPC portraits on the NPC Dialogue Portraits page. That page has been organized into sub categories to make it easier to find the NPC Portrait you need for your Dialogue box. To create a new Dialogue box just go to the page where you want to add it, click once to place your cursor where you want to put the Dialogue box within the page you are editing, then press the Dialogue box button. dialogue.png Please type the NPC's text exactly as it was originally typed. It is possible that not all the NPC portrait images have been uploaded. If you can not find the portrait you need within the NPC Dialogue Portraits page, please let Schot know at DarkMatters.


Find the NPC portrait image you need from the NPC Dialogue Portraits page:

  1. Got to the page you want to put the Dialogue box and click the Edit button near the top right of the page
  2. Click within the text of the page in the area where you want to put the Dialogue box and then click the Dialogue button dialogue.png
  3. After clicking dialogue.png, the following text will appear:
{{S2 Dialogue|NPC NAME=NPCNAME|PORTRAIT FILE NAME=NoPicDialog.png|DIALOGUE=TYPEtextHERE}}


  1. Replace NPCNAME with the exact name of the NPC
  2. Replace NoPicDialog with the name of the NPC image
  3. Replace TYPEtextHERE with the NPC's dialogue


{{S2 Dialogue|NPC NAME=NPCNAME|PORTRAIT FILE NAME=NoPicDialog.png|DIALOGUE=TYPEtextHERE}}


Example of a completed Dialogue box:


{{S2 Dialogue|NPC NAME=Expelled Leper|PORTRAIT FILE NAME=dialog635.png|DIALOGUE=Go to General Denyiw and report to him!
That's all what I saw. You should hurry. More undead come every night. It will be too late once they've flooded the city!
}}



Dialog635.png
blank.png

Go to General Denyiw and report to him!

That's all what I saw. You should hurry. More undead come every night. It will be too late once they've flooded the city!

Ok


Personal tools
Namespaces

Variants
Actions
Navigation
Diablo 2 Fallen
sacred 2
sacred
Unbended
Tools