Template:Chat: Difference between revisions

From VNDev Wiki
added shorthand for dogboy plum.
added {{{size}}} parameter with "small" size, to replace the former "large" parameter
Line 34: Line 34:
}}</strong></span></p>
}}</strong></span></p>
</div>
</div>
{{#if:{{{large|}}}|<div style="font-size: 1.7em;">|<div>}}{{{message|{{{2|}}}}}}<noinclude>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.</noinclude></div>
<div style="font-size:
{{#switch: {{{size|}}}
| l
| L
| large = 1.7em;
| s
| S
| small = 0.8em;
}}">{{{message|{{{2|}}}}}}<noinclude>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.</noinclude></div>
</div>
</div>
</div><noinclude>
</div><noinclude>

Revision as of 11:33, 7 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.