Шаблон:Pre
Материал из Metrostroi
Версия от 02:27, 9 сентября 2016; Курритто (обсуждение | вклад) (Новая страница: «<div style="padding: 1em;border-left: 6px solid {{{bdcolor}}};color: {{{txtcolor}}};background-color: {{{bgcolor}}};line-height: 1.1em;font-size: 100%;overflow: a…»)
{{{1}}}
Usage
Adds more functionality to the existing message box obtainable by adding one space before text.
This is the default box. This is produced by adding one space to the beginning of this line.
It also works by adding an HTML <code><pre></code> tag.
The syntax for the {{pre}}
template is:
{{pre |bgcolor=background color |bdcolor=border color |txtcolor=text color |message }}
In this example the bgcolor is #555 bdcolor is #FFF and txtcolor is yellow.