Difference between revisions of "Template:S2 Dialogue"
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: | ||
+ | |} | ||
− | |||
+ | {| | ||
+ | |Use this template if you '''do not''' have a PORTRAIT image: | ||
+ | <pre> | ||
+ | {{S2 Dialogue | ||
+ | |NPC NAME= | ||
− | + | |DIALOGUE= | |
− | + | }} | |
− | + | </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: | |
− | |||
<pre> | <pre> | ||
{{S2 Dialogue | {{S2 Dialogue | ||
|NPC NAME=Expelled Leper | |NPC NAME=Expelled Leper | ||
− | + | ||
|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 | ||
− | + | ||
|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= | + | |NPC NAME=Expelled Leper |
− | |PORTRAIT FILE NAME= | + | |PORTRAIT FILE NAME=Expelled Leper dialog.png |
− | |DIALOGUE= | + | |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!}} | |
− | |||
− | |||
</pre> | </pre> | ||
− | |||
{{S2 Dialogue | {{S2 Dialogue | ||
− | |NPC NAME= | + | |NPC NAME=Expelled Leper |
− | |PORTRAIT FILE NAME= | + | |PORTRAIT FILE NAME=Expelled Leper dialog.png |
− | |DIALOGUE= | + | |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!}} | |
− | </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!
|