Template:Box: Difference between revisions

From Plover Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="border:1px solid {{{border|#ccc}}};background:{{{background|transparent}}};padding:8px 4px;min-height:48px;position:relative">[[File:{{{image|Dialog-information.svg}}}|format=frameless|left|48px]]
<includeonly><div style="border:1px solid {{{border|#ccc}}};background:{{{background|transparent}}};padding:8px 4px 8px 56px;min-height:48px;position:relative">
<div>
<div style="position:absolute;left:4px;top:8px">
{{{text|Lorem ipsum dolor sit amet wwww wwwww wwwww wwwww wwww.}}}
[[File:{{{image|Dialog-information.svg}}}|format=frameless|left|48px]]
</div>
</div>
</div>
{{{text|Lorem ipsum dolor sit amet.}}}
</div></includeonly>
<noinclude>
This template is used to give a info in a box. It is a base template used to create other [[Category:Box templates|Box templates]].
==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==
{{Box}}
[[Category:Box templates]]
</noinclude>

Latest revision as of 23:55, 21 May 2025


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.