Difference between revisions of "Template:Textbox"

From Detective Conan Wiki
 
(One intermediate revision 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; {{#if:{{{margin|}}}|margin-left: auto; margin-right: {{{margin}}};}} {{#if:{{{width|}}}|width: {{{width}}};|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="white-space: normal;">
 
   <div style="white-space: normal;">
 
     {{{1}}}
 
     {{{1}}}

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.