Difference between revisions of "Template:Textbox"
From Detective Conan Wiki
| Line 1: | Line 1: | ||
| − | <includeonly><div style="display: inline-block; background-color: rgba(250, 250, 250, 0.9); border: 1px dotted #ccc; padding: 8px; {{#ifeq:{{{width|}}} | + | <includeonly><div style="display: inline-block; background-color: rgba(250, 250, 250, 0.9); border: 1px dotted #ccc; padding: 8px; {{#ifeq:{{{width|}}}|width:{{{width}}};|max-width: 100%;}}; overflow-x: auto; box-sizing: border-box;"> |
<div style="display: flex; flex-wrap: nowrap; overflow: auto; white-space: nowrap; width: auto;"> | <div style="display: flex; flex-wrap: nowrap; overflow: auto; white-space: nowrap; width: auto;"> | ||
{{{1}}} | {{{1}}} | ||
| Line 10: | Line 10: | ||
}} | }} | ||
</pre> | </pre> | ||
| − | '''Note:''' You can also | + | '''Note:''' You can also take advantage of the parameter <code><nowiki>{{{width}}}</nowiki></code> so as to designate a specific width for the textbox. If left blank, the textbox will adjust its width accordingly. |
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:24, 14 April 2025
This template can be used for references in staff pages or quotes in anime pages:
{{textbox|
{{{1}}}
}}
Note: You can also take advantage of the parameter {{{width}}} so as to designate a specific width for the textbox. If left blank, the textbox will adjust its width accordingly.