Template:DialogueBox: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="mw-customtoggle-{{{id}}}" style="width: 500px;padding: 16px;border: 2px solid white;margin: 0;text-align: justify;color: white; background-color: black;" | <includeonly> {| 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> | |'''> {{{name}}}''' <br> | ||
|- | |- | ||
| Line 6: | Line 6: | ||
|{{{content}}} | |{{{content}}} | ||
|} | |} | ||
|} </includeonly> | |||
<noinclude> | |||
Example usage: <pre> | |||
{{DialogueBox | |||
|id=1 | |||
|name=BOOK 1 | |||
|line=first line | |||
|content=huge text | |||
|} | |} | ||
</pre> | |||
'''Note''': the 'id' parameter is to ensure that the boxes won't open at the same time | |||
</noinclude> | |||
Revision as of 10:25, 7 April 2026
Example usage:
{{DialogueBox
|id=1
|name=BOOK 1
|line=first line
|content=huge text
|}
Note: the 'id' parameter is to ensure that the boxes won't open at the same time