Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:NPC Text"

From Paragon Wiki Archive
Jump to: navigation, search
m (missed a /)
(adding option to specify title)
Line 1: Line 1:
<includeonly>{{Hidden|NPC Text|{{{1}}}|headercss = background: #ccccff;|contentcss = border: #ccccff solid 1px;}}</includeonly><noinclude>This template is used for adding NCP text to a mission article.
+
<includeonly>{{Hidden|{{{title|}}}|NPC Text|{{{text|{{{1}}}}}}|headercss = background: #ccccff;|contentcss = border: #ccccff solid 1px;}}</includeonly><noinclude>This template is used for adding NCP text to a mission article.
  
 
This:
 
This:
Line 8: Line 8:
 
{{NPC Text|Person A: This is an example.<br />Person B: That's so cool!}}
 
{{NPC Text|Person A: This is an example.<br />Person B: That's so cool!}}
  
 +
You can also specify a title.
 +
:<nowiki>{{NPC Text|title=Example Dialog|Person A: This is an example.<br />Person B: That's so cool!}}</nowiki>
 +
 +
Result:
 +
{{NPC Text|title=Example Dialog|Person A: This is an example.<br />Person B: That's so cool!}}
 +
 +
And you can also call it like this if you want:
 +
 +
:<nowiki>{{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}}</nowiki>
 +
 +
Result:
 +
{{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 15:33, 18 December 2007

This template is used for adding NCP text to a mission article.

This:

{{NPC Text|Person A: This is an example.<br />Person B: That's so cool!}}

Results in this:

You can also specify a title.

{{NPC Text|title=Example Dialog|Person A: This is an example.<br />Person B: That's so cool!}}

Result:

And you can also call it like this if you want:

{{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}}

Result: