Difference between revisions of "Template:S2 Dialogue"
Jump to navigation
Jump to search
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|Sample dialog.png}}}]]<div id="portraitframe"><a | + | <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"><a href="/index.php/File:{{{PORTRAIT FILE NAME|Sample dialog.png}}}"><img width="76" height="76" src="/images/blank.png" /></a></div></div>{{{DIALOGUE}}}</div></includeonly> |
<noinclude> | <noinclude> | ||
{| | {| |
Revision as of 19:15, 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!}} File:Sample dialog.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!<a href="/index.php/File:Sample dialog.png"><img width="76" height="76" src="/images/blank.png" /></a> |
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!}} File:Expelled Leper dialog.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!<a href="/index.php/File:Expelled Leper dialog.png"><img width="76" height="76" src="/images/blank.png" /></a> |