Template:Style P-Separator custom/sandbox: Difference between revisions
(тест нейтрального адаптивного разделителя) |
(добавлены настраиваемые отступы разделителя) |
||
| Line 4: | Line 4: | ||
Optional parameters: <code><nowiki>{{Style P-Separator custom/sandbox|width=15%|space=1em}}</nowiki></code> | Optional parameters: <code><nowiki>{{Style P-Separator custom/sandbox|width=15%|space=1em}}</nowiki></code> | ||
</noinclude><includeonly><hr role="separator" style="box-sizing: border-box; width: {{{width|4em}}}; max-width: 100%; height: 0; margin: {{{space| | |||
Independent spaces: <code><nowiki>{{Style P-Separator custom/sandbox|top=1em|bottom=0.5em}}</nowiki></code> | |||
</noinclude><includeonly><hr role="separator" style="box-sizing: border-box; width: {{{width|4em}}}; max-width: 100%; height: 0; margin: {{{top|{{{space|0.75em}}}}}} auto {{{bottom|{{{space|0.75em}}}}}}; border: 0; border-top: 1px solid currentColor;"></includeonly> | |||
Latest revision as of 20:14, 21 August 2026
Test version of Template:Style P-Separator custom.
Default: {{Style P-Separator custom/sandbox}}
Optional parameters: {{Style P-Separator custom/sandbox|width=15%|space=1em}}
Independent spaces: {{Style P-Separator custom/sandbox|top=1em|bottom=0.5em}}