Template:GraphicalBox: Difference between revisions

From MiiWiki
Jump to navigationJump to search
(Created page with "<includeonly><div style="flex: 1; background: linear-gradient({{{color1|#fff}}}, {{{color2|#b5f5f5}}}); border-radius: 15px; text-align: center; display: flex; flex-wrap: wrap; flex-direction: column; justify-content: center; padding: 5px"> <div>[[File:{{{image|Needed.png}}}|{{{size|x120px}}}|link={{{link|}}}]]</div> <div>{{{text|}}}</div> </div></includeonly><noinclude> {{Doc}}category:Graphic box templates</noinclude>")
(No difference)

Revision as of 22:54, 21 September 2022


Usage

Use this template with {{GraphicalBoxContainer}}

{{GraphicalBox
|color1 = first color of the box gradient (optional, default #fff)
|color2 = second color of the box gradient (recommended, default #b5f5f5)
|image = image to be displayed in the box (required)
|text = text underneath the image (recommended)
}}