Difference between revisions of "Template:Rule"

From Nynorn
Jump to navigation Jump to search
(new; documentation to follow)
 
m (49 revisions imported: Import templates for formatting Jakobsen snippets)
 
(48 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<div align="center"><hr style="background-color:#000; color:#000; {{#if|{{{width|}}}|width:{{{width}}}}}"/></div>
+
<hr class="__rule" style="{{#if:{{{color|}}}|border-color: {{{color}}};}} background-color: {{{color|#000}}}; color: #000; width: {{{width|{{{1|auto}}}}}}; max-width: 100%; {{#switch:{{{align}}}|left=margin: 2px auto 2px 0px|right=margin: 2px 0px 2px auto|#default=margin: 2px auto 2px auto}}; height: {{{height|1px}}}; {{#if:{{{style|}}}|{{{style}}};|}}" /><noinclude>{{documentation}}</noinclude>
<noinclude>
 
<!--
 
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
 
<nowiki>{{rule}}</nowiki>
 
produces
 
{{rule}}
 
 
 
A width may optionally be provided, in which case a black horizontal rule of that width is centered on the line.
 
 
 
For example
 
<nowiki>{{rule|width=12em}}</nowiki>
 
or
 
<nowiki>{{rule|12em}}</nowiki>
 
produce
 
{{rule|12em}}
 
 
 
Dingbats can be included by use of a table. For example
 
{|
 
|-
 
<nowiki>|{{rule|4em}}|| ||{{rule|4em}}</nowiki>
 
|}
 
produces
 
{|
 
|-
 
|{{rule|4em}}|| ||{{rule|4em}}
 
|}
 
-->
 

Latest revision as of 22:43, 11 March 2021


Co dovran ins quest model?
La chascha alva cuntegna infurmaziuns davart il scopo ed il diever da quest model.

Fin ussa n'existan anc naginas instrucziun per quest model.
Agiunscha ina descripziun da sias funcziuns.

Questa bordura na cumpara betg en l'artitgel.
Ils editurs pon experimentar sin la pagina da provas.
Per plaschair agiunscha las categorias sin la sutpagina da documentaziun ed ils interwikis sin Wikidata. Sutpaginas da quest model.