Difference between revisions of "Template:S2 Dialogue"
Line 36: | Line 36: | ||
== Basic Dialogue Box == | == Basic Dialogue Box == | ||
<div class="whitebox"> | <div class="whitebox"> | ||
− | <nowiki>{{S2 Dialogue|</nowiki>NPC NAME=<span class="WoodElf">'''Expelled Leper'''</span>|PORTRAIT FILE NAME=<span class="WoodElf">'''dialog635'''</span>.png|DIALOGUE=<span class="WoodElf">'''Go to General Denyiw and report to him! < | + | <nowiki>{{S2 Dialogue|</nowiki>NPC NAME=<span class="WoodElf">'''Expelled Leper'''</span>|PORTRAIT FILE NAME=<span class="WoodElf">'''dialog635'''</span>.png|DIALOGUE=<span class="WoodElf">'''Go to <nowiki>[[Sacred 2:General Denyiw|]]</nowiki> and report to him!'''</span> |
+ | |||
+ | <span class="WoodElf">'''That's all what I saw. You should hurry. More <nowiki>[[Sacred 2:undead|]]</nowiki> come every night. It will be too late once they've flooded the city!'''</span><nowiki>}}</nowiki> | ||
</div> | </div> | ||
{{S2 Dialogue|NPC NAME=Expelled Leper|PORTRAIT FILE NAME=dialog635.png|DIALOGUE=Go to [[Sacred 2:General Denyiw|General Denyiw]] and report to him! | {{S2 Dialogue|NPC NAME=Expelled Leper|PORTRAIT FILE NAME=dialog635.png|DIALOGUE=Go to [[Sacred 2:General Denyiw|General Denyiw]] and report to him! | ||
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!}} | 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!}} | ||
− | |||
− | |||
− | |||
− | |||
== Change The Page That The NPC's Name Links To== | == Change The Page That The NPC's Name Links To== |
Revision as of 07:10, 23 February 2014
![]() |
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. ![]() |
Find the NPC portrait image you need from the NPC Dialogue Portraits page:
- Go to the page you want to put the Dialogue box and click the Edit button near the top right of the page
- Click within the text of the page in the area where you want to put the Dialogue box and then click the Dialogue button
- After clicking
, the following text will appear:
{{S2 Dialogue|NPC NAME=NPCNAME|PORTRAIT FILE NAME=NoPicDialog.png|DIALOGUE=TYPEtextHERE}} - Replace NPCNAME with the exact name of the NPC
- Replace NoPicDialog with the name of the NPC image
- Replace TYPEtextHERE with the NPC's dialogue
Basic Dialogue Box
{{S2 Dialogue|NPC NAME=Expelled Leper|PORTRAIT FILE NAME=dialog635.png|DIALOGUE=Go to [[Sacred 2:General Denyiw|]] and report to him!
That's all what I saw. You should hurry. More [[Sacred 2:undead|]] come every night. It will be too late once they've flooded the city!}}
Change The Page That The NPC's Name Links To
If the NPC NAME is different from the page name created for whatever NPC you are creating a template for then you can change the NPC NAME link by adding
|NPC PAGE=YOUR TEXT to the template. Example:
{{S2 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!}}
Change Text in Button
To change the "Ok" button text, add |BUTTON1=YOUR TEXT to the template. Example:
{{S2 Dialogue
|NPC NAME=Kastagir
|PORTRAIT FILE NAME=dialog4057.png
|BUTTON1=Go ahead, make my day!
|DIALOGUE=What are you doing here! You're out to steal the Great Machine!<br /><br />
This area is off limits to all except the guardians There can be only FOUR!}}
This area is off limits to all except the guardians There can be only FOUR!
Add a Button and Change Text of Both Buttons
To change the "Ok" button text AND add a second button with custom text, add |BUTTON1=YOUR TEXT and |BUTTON2=YOUR TEXT to the template. Example:
{{S2 Dialogue
|NPC NAME=Malak, Priest of Forens
|PORTRAIT FILE NAME=dialog420.png
|BUTTON1=Accept
|BUTTON2=Decline
|DIALOGUE=Sacrifice to Forens and receive my blessing.<br /><br />
Here at the Rock Temple the goddesses presence can be felt, don't you agree? No? Then you must sacrifice to Forens so you can feel her presence again. Find things that will please her like clean water and maybe a beetle wing. Bring them to me and I shall bless you.}}
Here at the Rock Temple the goddesses presence can be felt, don't you agree? No? Then you must sacrifice to Forens so you can feel her presence again. Find things that will please her like clean water and maybe a beetle wing. Bring them to me and I shall bless you.