Jump to content

Template:DialogueBox: Difference between revisions

From Cult of Flight Wiki
No edit summary
Tag: Manual revert
testing this using div class
Line 1: Line 1:
<includeonly> {| class="mw-customtoggle-{{{id}}}" style="width: 500px;padding: 16px;border: 2px solid white;margin: 15px;text-align: justify;color: white; background-color: black;"
<includeonly> <div class="mw-customtoggle-{{id}}" style="width: 500px;padding: 16px;border: 2px solid white;margin: 0;text-align: justify;color: white; background-color: black;'''> {{{name}}}''' <br> {{line|}}
|'''> {{{name}}}''' <br>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{id}}"" style="color:white;">
|-
{{content|}}</div>
|   {{{line|}}}
</div> </includeonly>
{| class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{id}}}" style="color:white;padding: 1px;"
|{{{content|}}}
|}
|} </includeonly>


<noinclude>
<noinclude>

Revision as of 02:19, 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