Шаблон:Pageframe: различия между версиями

Материал из Chaotic Onyx
Перейти к навигацииПерейти к поиску
Строка 1: Строка 1:
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: .35em 1em 1em 0em; border: .2em solid {{{color|#444}}}; background: {{{color|#444}}}; width: {{{width|100%}}}; heigth: 100vh">
+
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: .35em 1em 1em 0em; border: .2em solid {{{color|#444}}}; background: {{{color|#444}}}; width: {{{width|100%}}};">
 
<div style="background: {{{color|#444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>[[file:{{{image}}}|left|24px]]'''{{{title}}}'''[[file:{{{image}}}|right|24px]]</center></div>
 
<div style="background: {{{color|#444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>[[file:{{{image}}}|left|24px]]'''{{{title}}}'''[[file:{{{image}}}|right|24px]]</center></div>
 
<div style="border: .2em solid {{{color|#444}}}; border-radius: .5em; background: #FFFFFF;">
 
<div style="border: .2em solid {{{color|#444}}}; border-radius: .5em; background: #FFFFFF;">

Версия от 19:37, 27 ноября 2023

[[file:{{{image}}}|left|24px]]{{{title}}}[[file:{{{image}}}|right|24px]]

{{{content}}}

How to use this template

This template has several parameters and all of them will be displayed in the example below.

{{Pageframe
| color = #005C53
| title = Test1
| content = Test2
| width = 80%
}}

These parameters will result in the following:
[[file:{{{image}}}|left|24px]]Test1[[file:{{{image}}}|right|24px]]

Test2