Difference between revisions of "User:Aggelakis/NPC Text"
From Paragon Wiki Archive
m (testing) |
m |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Hidden|header={{{title|NPC Text}}} | + | <includeonly>{{Hidden|header={{{title|NPC Text}}} |
|content={{{text|'''Please supply text. See [[Template:NPC Text]] for usage.'''}}} | |content={{{text|'''Please supply text. See [[Template:NPC Text]] for usage.'''}}} | ||
− | |headercss = padding:1em; border-radius:1em; -moz-border-radius:1em; background: | + | |headercss = padding:1em; border-radius:1em; -moz-border-radius:1em; margin:0px auto; width:78%; background: |
− | {{#switch: {{{type|}}} | hero=# | + | {{#switch: {{{type|}}} | hero=#C1D9FF | villain=#D0A0A1 | #default=#C6C6E0}}; |
border: solid 1px | border: solid 1px | ||
− | {{#switch: {{{type|}}} | hero=# | + | {{#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:78%; border: solid 1px |
− | {{#switch: {{{type|}}} | hero=# | + | {{#switch: {{{type|}}} | hero=#424A9A | villain=#990000 | #default=#6868A3}};}}</includeonly><noinclude> |
+ | |||
+ | 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''' | ||
+ | {{User:Aggelakis/NPC Text|type=hero}} | ||
+ | |||
+ | |||
+ | '''type=villain''' | ||
+ | {{User:Aggelakis/NPC Text|type=villain}} | ||
+ | |||
+ | |||
+ | '''default''' | ||
+ | {{User:Aggelakis/NPC Text}} | ||
+ | </noinclude> |
Latest revision as of 01:54, 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
NPC Text
type=villain
NPC Text
default
NPC Text