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; {{#if:{{{width|}}}|width: 100%;|max-width: 100%;}}; overflow-x: auto; box-sizing: border-box;">
+
<includeonly><div style="display: inline-block; background-color: rgba(250, 250, 250, 0.9); border: 1px dotted #ccc; padding: 8px; {{#ifeq:{{{width|}}}|100%|width: 100%;|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}}}

Revision as of 00:13, 14 April 2025

Note: Can be used for references in staff pages or quotes in anime pages

{{textbox|
{{{1}}}
}}