Template:Textbox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (14 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"><div style=" | <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;"> | |||
{{{1}}} | |||
</div> | |||
</div></includeonly><noinclude> | |||
This template can be used for references in staff pages <u>or</u> quotes in anime pages: | |||
<pre> | |||
{{textbox| | |||
{{{1}}} | |||
}} | |||
</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.