Template:Resize box/doc: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
(Created Template Documentation: Resize Box)
 
m (Kator278 moved page Template:Doc to Template:Resize box/doc)
 
(No difference)

Latest revision as of 17:56, 2 January 2023

Description

A container to provide a rescaleable preview for resizeable contents.

Preview

Drag the triangle on bottom-right corner to see the effect...

I'm a box.

Usage

Simple usage:

{{Resize box| {{template_name}} }}

For contents containing reserved characters (e.g. =):

{{Resize box/start}}
    Preview contents...
    <div class="mw-collapsible">I contain some reserved characters...</div>
{{Resize box/end}}