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 "User:Aggelakis/NPC Text"

From Paragon Wiki Archive
Jump to: navigation, search
m
m
Line 5: Line 5:
 
border: solid 1px
 
border: solid 1px
 
{{#switch: {{{type|}}} | hero=#424A9A | villain=#990000 | #default=#6868A3}};
 
{{#switch: {{{type|}}} | hero=#424A9A | villain=#990000 | #default=#6868A3}};
|contentcss = padding:1em; border-radius:1em; -moz-border-radius:1em; border: solid 1px
+
|contentcss = padding:1em; border-radius:1em; -moz-border-radius:1em; margin:0px auto; width:88%; border: solid 1px
 
{{#switch: {{{type|}}} | hero=#424A9A | villain=#990000 | #default=#6868A3}};}}</includeonly><noinclude>
 
{{#switch: {{{type|}}} | hero=#424A9A | villain=#990000 | #default=#6868A3}};}}</includeonly><noinclude>
  

Revision as of 01:21, 7 October 2010


NPC dialogue. Two required parameters, one technically optional:

  • title = description of who is talking. Required.
  • text = dialogue. Required.
  • type = takes values hero or villain; use 'villain' if it is all enemy text, use 'hero' if it is all ally text. Leave out if mixed (e.g. rescue/kidnap dialogue includes both enemy and ally text).

type=hero


type=villain


default