Template:Box: Difference between revisions

From Plover Wiki
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly><div style="border:1px solid {{{border|#ccc}}};background:{{{background|transparent}}};padding:8px 4px 8px 56px;min-height:48px;position:relative">
<includeonly><div style="border:1px solid {{{border|#ccc}}};background:{{{background|transparent}}};padding:8px 4px 8px 4px;min-height:48px;position:relative">
<div style="position:absolute;left:4px;top:8px">
<div style="position:absolute;left:4px;top:8px">
[[File:{{{image|Dialog-information.svg}}}|format=frameless|left|48px]]
[[File:{{{image|Dialog-information.svg}}}|format=frameless|left|48px]]

Revision as of 16:42, 20 March 2026


This template is used to give a info in a box. It is a base template used to create other.

Attributes

border (default #ccc)

Color in hexcode.

background (default transparent)

Entire box's CSS background attribute. Can use shorthand property, or at simplest, a color in hexcode.

image (default Dialog-information.svg)

Name of file uploaded to this wiki.

text (default Lorem ipsum dolor sit amet.)

Text to display in the box.

Sample

format=frameless
format=frameless

Lorem ipsum dolor sit amet.