Difference between revisions of "Template:Border"

From Wiki - RemoteFieldView
Jump to navigation Jump to search
(BORDER)
 
(New Border)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{border|noinline=<anytext>|width=2px|color=red}}
+
<div style="display:{{{display|block}}};background:{{{background|Gainsboro}}};color:{{{color|black}}};
 +
font-weight:normal;
 +
border:1px solid DimGray;
 +
padding:{{{padding|0.5em 1.5em 0.5em 1.5em}}};
 +
line-height:{{{lh|1.4em}}};
 +
font-family:{{{ff|'Verdana', Arial, sans-serif ,fixedsys, monospace}}};
 +
 
 +
font-size:{{{fs|9pt}}};
 +
text-align:{{{ta|left}}};">
 +
 
 +
{{{content|{{{1}}}}}}
 +
 
 +
</div>
 +
<noinclude>
 +
 
 +
===Options===
 +
----
 +
;display: display mode, default block, can be set to inline for wrapped text sections.
 +
;background:  background color, pale blue
 +
;color:  font color, black
 +
;ff:  font family or face, Courier
 +
;fs:  font size, 10pt
 +
;ta:  text alignment, center
 +
;lh:  line height, 1.4em
 +
;padding: content padding.
 +
The defaults produce a pale ivory band in the page for a centered text entry, in a monospaced font.

Latest revision as of 10:44, 20 February 2020

{{{1}}}


Options


display
display mode, default block, can be set to inline for wrapped text sections.
background
background color, pale blue
color
font color, black
ff
font family or face, Courier
fs
font size, 10pt
ta
text alignment, center
lh
line height, 1.4em
padding
content padding.

The defaults produce a pale ivory band in the page for a centered text entry, in a monospaced font.