Jump to content

Template:Textbox: Difference between revisions

From Detective Conan Wiki
BOBO (talk | contribs)
No edit summary
BOBO (talk | contribs)
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display: inline-block; background-color: rgba(250, 250, 250, 0.9); border: 1px dotted #ccc; padding: 8px; 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; {{#if:{{{offset|}}}|margin-left: {{{offset}}};}} {{#if:{{{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="white-space: normal;">
     {{{1}}}
     {{{1}}}
   </div>
   </div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
'''Note:''' Can be used for references in staff pages <u>or</u> quotes in anime pages
This template can be used for references in staff pages <u>or</u> quotes in anime pages:
<pre>
<pre>
{{textbox|
{{textbox|
Line 10: Line 10:
}}
}}
</pre>
</pre>
'''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>

Latest revision as of 13:50, 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.