Template:DialogueBox: Difference between revisions
testing this using div class |
accidentally used 2 curly brackets instead of 3 |
||
| Line 1: | Line 1: | ||
<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|}} | <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|}}} | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{id}}"" style="color:white;"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{id}}}"" style="color:white;"> | ||
{{content|}}</div> | {{{content|}}}</div> | ||
</div> </includeonly> | </div> </includeonly> | ||
<noinclude> | <noinclude> | ||
Example usage: <pre> | Example usage: <pre> | ||
{{DialogueBox | {{{DialogueBox | ||
|id=ExampleID | |id=ExampleID | ||
|name=ExampleName | |name=ExampleName | ||