Template:Chat: Difference between revisions

From VNDev Wiki
mention short names in the documentation section, and also give it a heading
m why is the color broken now
Line 12: Line 12:
<div><p style="margin:0;">
<div><p style="margin:0;">
{{#switch: {{{name|{{{1|}}}}}}
{{#switch: {{{name|{{{1|}}}}}}
| Plum|P = <span style="color:purple">
| Plum = <span style="color:purple">
| Lemon|Le = <span style="color:goldenrod">
| Lemon = <span style="color:goldenrod">
| Cherry|C = <span style="color:crimson">
| Cherry = <span style="color:crimson">
| Lime|Li = <span style="color:lightgreen">
| Lime = <span style="color:lightgreen">
| #default = <span style="color:{{{color|}}}">
| #default = <span style="color:{{{color|}}}">
}}
}}

Revision as of 08:53, 5 December 2024

""

Unknown User

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla tincidunt consectetur dolor non sodales. Sed egestas varius posuere. Aenean id accumsan risus, in aliquam odio. Praesent id nisl mi. Pellentesque eu tellus at diam suscipit accumsan.

Template documentation

Example: {{Chat|name=Lemon|message=Is anyone here?}}

There's also abbreviations that can be used instead of the names:

  • Plum can be shorted to P.
  • Lemon can be shorted to Le.
  • Cherry can be shorted to C.
  • Lime can be shorted to Li.