Difference between revisions of "Template:S2 Dialogue"

From SacredWiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<includeonly>
+
<includeonly><div id="dialogue"><div class="name-tag">[[Sacred 2:{{{NPC NAME}}}|{{{NPC NAME}}}]]</div><div class="portrait">[[File:{{{PORTRAIT FILE NAME|Sample dialog.png}}}]]<div id="portraitframe"></div></div>{{{DIALOGUE}}}</div></includeonly>
<div id="dialogue">
 
<div class="name-tag">[[Sacred 2:{{{NPC NAME}}}|{{{NPC NAME}}}]]</div>
 
<div class="portrait">[[File:{{{PORTRAIT FILE NAME|Sample dialog.png}}}]]<div id="portraitframe"></div></div>
 
 
 
{{{DIALOGUE}}}
 
</div></includeonly>
 
 
<noinclude>
 
<noinclude>
 +
{|
 +
|[[File:Sample dialog.png]]||This template needs to use a 76px wide by 76px high PNG Transparent PORTRAIT image of the NPC from the dialog box in the game.  If you do not have a PORTRAIT image to use with this template, the template will automatically put a default "question mark" image as a place holder until someone else can come along and put the NPC's PORTRAIT image into the template.  Contributers who do not have knowledge editing graphics can simply type the dialogue into the template without the need to provide a PORTRAIT image.  This is how the template looks like when no PORTRAIT image is supplied:
 +
|}
  
  
[[File:Expelled Leper dialog.png]] This template needs to use a 76px wide by 76px high PORTRAIT image of the NPC from the dialog box in the game.
 
  
 +
{|
 +
|Use this template if you '''do not''' have a PORTRAIT image:
 +
<pre>
 +
{{S2 Dialogue
 +
|NPC NAME=
  
 
+
|DIALOGUE=
 
+
}}
Blank template:
+
</pre>
 +
|Use this template if you '''DO''' have a PORTRAIT image:
 
<pre>
 
<pre>
 
{{S2 Dialogue
 
{{S2 Dialogue
Line 22: Line 24:
 
}}
 
}}
 
</pre>
 
</pre>
 
+
|-
 
+
|Example of the template if you '''do not''' have a PORTRAIT image:
2 examples of the template:
 
 
<pre>
 
<pre>
 
{{S2 Dialogue
 
{{S2 Dialogue
 
|NPC NAME=Expelled Leper
 
|NPC NAME=Expelled Leper
|PORTRAIT FILE NAME=
+
 
 
|DIALOGUE=Go to [[Sacred 2:General Denyiw|]] and report to him!
 
|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  
+
That's all what I saw.  You should hurry.  More [[Sacred 2:undead|]]  
they've flooded the city!}}
+
come every night.  It will be too late once they've flooded  
 +
the city!}}
 
</pre>
 
</pre>
 
  
 
{{S2 Dialogue
 
{{S2 Dialogue
 
|NPC NAME=Expelled Leper
 
|NPC NAME=Expelled Leper
|PORTRAIT FILE NAME
+
 
 
|DIALOGUE=Go to [[Sacred 2:General Denyiw|General Denyiw]] and report to him!
 
|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!}}
 
+
|Example of the template if you '''DO''' have a PORTRAIT image:
 
<pre>
 
<pre>
 
{{S2 Dialogue
 
{{S2 Dialogue
|NPC NAME=Senator Nimorean
+
|NPC NAME=Expelled Leper
|PORTRAIT FILE NAME=Nimorean dialog.png
+
|PORTRAIT FILE NAME=Expelled Leper dialog.png
|DIALOGUE=Find the spot the undead are infiltrating the [[Sacred 2:Old Naval Port|navel port]] from!
+
|DIALOGUE=Go to [[Sacred 2:General Denyiw|]] and report to him!
  
The situation seems very threateningIt could even be connected to the problems that we've been having here for a
+
That's all what I sawYou should hurryMore [[Sacred 2:undead|]]  
few daysRecently a few [[Sacred 2:undead|]] were spotted in the old naval port.  It's a dangerous neighbourhood
+
come every night.  It will be too late once they've flooded
that used to be a place of refuge for cutthroats and criminals, but since undead have been spotted not even the
+
the city!}}
meanest thief will set foot in there.  Please go to the old naval port and find out where the undead are entering
 
that area from.  When you have some information, report to [[Sacred 2:General Denyiw|]] in the military camp.}}
 
 
</pre>
 
</pre>
 
  
 
{{S2 Dialogue
 
{{S2 Dialogue
|NPC NAME=Senator Nimorean
+
|NPC NAME=Expelled Leper
|PORTRAIT FILE NAME=Nimorean dialog.png
+
|PORTRAIT FILE NAME=Expelled Leper dialog.png
|DIALOGUE=Find the spot the undead are infiltrating the [[Sacred 2:Old Naval Port|navel port]] from!
+
|DIALOGUE=Go to [[Sacred 2:General Denyiw|General Denyiw]] and report to him!
  
The situation seems very threateningIt could even be connected to the problems that we've been having here for a few daysRecently a few [[Sacred 2:undead|undead]] were spotted in the old naval port.  It's a dangerous neighbourhood that used to be a place of refuge for cutthroats and criminals, but since undead have been spotted not even the meanest thief will set foot in there.  Please go to the old naval port and find out where the undead are entering that area from.  When you have some information, report to General Denyew in the [[Sacred 2:Thylysium|military camp]].}}
+
That's all what I sawYou should hurryMore [[Sacred 2:undead|undead]] come every night.  It will be too late once they've flooded the city!}}
</noinclude>
+
|}</noinclude>

Revision as of 18:49, 26 October 2013


File:Sample dialog.png This template needs to use a 76px wide by 76px high PNG Transparent PORTRAIT image of the NPC from the dialog box in the game. If you do not have a PORTRAIT image to use with this template, the template will automatically put a default "question mark" image as a place holder until someone else can come along and put the NPC's PORTRAIT image into the template. Contributers who do not have knowledge editing graphics can simply type the dialogue into the template without the need to provide a PORTRAIT image. This is how the template looks like when no PORTRAIT image is supplied:


Use this template if you do not have a PORTRAIT image:
{{S2 Dialogue
|NPC NAME=

|DIALOGUE=
}}
Use this template if you DO have a PORTRAIT image:
{{S2 Dialogue
|NPC NAME=
|PORTRAIT FILE NAME=
|DIALOGUE=
}}
Example of the template if you do not have a PORTRAIT image:
{{S2 Dialogue
|NPC NAME=Expelled Leper

|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!}}
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!
Example of the template if you DO have a PORTRAIT image:
{{S2 Dialogue
|NPC NAME=Expelled Leper
|PORTRAIT FILE NAME=Expelled Leper dialog.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!}}
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!