Difference between revisions of "Template:hline"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "{{img|Nutshell.svg|45|45|float=left}}")
 
m
Line 1: Line 1:
−
{{img|Nutshell.svg|45|45|float=left}}
+
{{img|Nutshell.svg|45|45|float=left}}<noinclude>{{doc2}}</noinclude>

Revision as of 14:19, 16 September 2018

[edit] Documentation

<< Template:hline

Small dual-purpose template to draw either a simple horizonal line, or text with a line on either side.
The simple line has a default width of 250px, but can be any length. Accepts %ages, eg. 50%.

Usage

Text within Line

{{hline|text=Patons & Baldwins}}

Simple Line

Here is a line of text.
{{hline}}
And here's another line.
{{hline|w=50%}}
Lines of text are good.
{{hline|w=150px}}

Here is a line of text. And here's another line. Lines of text are good.