Template:Break lines/doc
This is a documentation subpage for Template:Break lines. It may contain usage information, categories and other content that is not part of the original template page. |
This template transforms line breaks into <br />
tags. It is very similar to the {{poem}} template, except that it does not invoke the <poem>
MediaWiki extension.
Usage
lembaManuscript:
{{Break lines|Arma virumque cano, Troiae qui primus ab oris
Italiam, fato profugus, Laviniaque venit
litora, multum ille et terris iactatus et alto
vi superum saevae memorem Iunonis ob iram;
multa quoque et bello passus, dum conderet urbem,
inferretque deos Latio, genus unde Latinum,
Albanique patres, atque altae moenia Romae.}}
HTML generated:
Arma virumque cano, Troiae qui primus ab oris<br />Italiam, fato profugus, Laviniaque venit<br />litora, multum ille et terris iactatus et alto<br />vi superum saevae memorem Iunonis ob iram;<br />multa quoque et bello passus, dum conderet urbem,<br />inferretque deos Latio, genus unde Latinum,<br />Albanique patres, atque altae moenia Romae.
Effect:
Arma virumque cano, Troiae qui primus ab oris
Italiam, fato profugus, Laviniaque venit
litora, multum ille et terris iactatus et alto
vi superum saevae memorem Iunonis ob iram;
multa quoque et bello passus, dum conderet urbem,
inferretque deos Latio, genus unde Latinum,
Albanique patres, atque altae moenia Romae.
If the |doublets=p
parameter is given, double line breaks will be parsed as <p>
, otherwise as <br /><br />
.
See also
lemba- {{poem}}