Template:Chat: Difference between revisions

From VNDev Wiki
Simplify code and add example
Partially undo my last edit as it didn't seem to work on mobile
Line 1: Line 1:
<div>
<div style="display: flex; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap;">
<div style="display: inline-block; vertical-align: top;" class="circular"><p style="margin:2px;">
<div style="flex-grow: 0; flex-wrap: wrap;" class="circular"><p style="margin:2px;">
{{#switch: {{{name|{{{1|}}}}}}
{{#switch: {{{name|{{{1|}}}}}}
| Plum = [[File:Plum PFP 2024.png|60px|alt=""]]
| Plum = [[File:Plum PFP 2024.png|60px|alt=""]]
Line 9: Line 9:
}}<noinclude>[[File:Lime PFP 2024.png|60px|alt=""]]</noinclude></p>
}}<noinclude>[[File:Lime PFP 2024.png|60px|alt=""]]</noinclude></p>
</div>
</div>
<div style="display: inline-block; max-width: 80%; padding-left: 1ex;">
<div style="flex-shrink: 0; flex-grow: 1; flex-wrap: wrap; padding-left: 1em; padding-right: 1em; padding-bottom: 1ex; max-width: 70%;">
<div><p style="margin:0;">
<div><p style="margin:0;">
{{#switch: {{{name|{{{1|}}}}}}
{{#switch: {{{name|{{{1|}}}}}}

Revision as of 01:17, 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.

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