Jump to content

Template:DialogueBox: Difference between revisions

From Cult of Flight Wiki
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly> {| class={{#if: {{{content|}}} | "mw-customtoggle-{{{id}}}" | }} style="width: 500px;padding: 16px;border: 2px solid white;margin: 15px;text-align: justify;color: white; background-color: black;"  
<includeonly> {| class={{#if: {{{conten}}} | "mw-customtoggle-{{{id}}}" | }} style="width: 500px;padding: 16px;border: 2px solid white;margin: 15px;text-align: justify;color: white; background-color: black;"  
|'''> {{{name}}}''' <br>
|'''> {{{name}}}''' <br>
|-
|-
|   {{{line|}}}
|   {{{line|}}}
{| class={{#if: "mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{id}}}" | }}style="color:white;padding: 1px;"
{| class={{#if: {{#if: {{{content|}}} | "mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{id}}}" | }}style="color:white;padding: 1px;"
|{{{content|}}}
|{{{content|}}}
|}
|}
Line 21: Line 21:


</noinclude>
</noinclude>
| Cell 1
|}

Revision as of 01:54, 8 April 2026


Example usage:

{{DialogueBox
|id=ExampleID
|name=ExampleName
|line=ExampleLine
|content=ExampleContent 
|}

Note: the 'id' parameter is to ensure that the boxes won't open at the same time



| Cell 1 |}