Difference between revisions of "Template:Rule"

From Nynorn
Jump to navigation Jump to search
(documentation)
(expand documentation)
Line 6: Line 6:
 
  <nowiki>{{rule}}</nowiki>
 
  <nowiki>{{rule}}</nowiki>
 
produces
 
produces
  {{rule}}
+
{{rule}}
 +
 
 +
The common case of a double-rule can be achieved by
 +
  <nowiki>{{rule}}{rule}}</nowiki>
 +
which produces
 +
{{rule}}{{rule}}
  
 
A width may optionally be provided, in which case a black horizontal rule of that width is centered on the line.
 
A width may optionally be provided, in which case a black horizontal rule of that width is centered on the line.
Line 13: Line 18:
 
  <nowiki>{{rule|width=12em}}</nowiki>
 
  <nowiki>{{rule|width=12em}}</nowiki>
 
produces
 
produces
{{rule|width=12em}}
+
{{rule|width=12em}}
  
 +
For an example of its use in an actual transcription, see [[The Perth gazette and Western Australian journal/Volume 1/Number 9]].
 
</noinclude>
 
</noinclude>

Revision as of 06:05, 4 October 2008


This template inserts a black horizontal rule. It should be used in transcriptions in preference to wiki syntax "----", which inserts a rule but in a lighter colour

For example

{{rule}}

produces



The common case of a double-rule can be achieved by

{{rule}}{rule}}

which produces




A width may optionally be provided, in which case a black horizontal rule of that width is centered on the line.

For example

{{rule|width=12em}}

produces



For an example of its use in an actual transcription, see The Perth gazette and Western Australian journal/Volume 1/Number 9.