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

Материал из Chaotic Onyx
Перейти к навигацииПерейти к поиску
Строка 2: Строка 2:
 
<div style="background: {{{color|#444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>[[file:{{{image}}}|left|32px]]'''{{{title}}}'''[[file:{{{image}}}|right|32px]]</center></div>
 
<div style="background: {{{color|#444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>[[file:{{{image}}}|left|32px]]'''{{{title}}}'''[[file:{{{image}}}|right|32px]]</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;">
<div style="padding: .5em; background: {{{color|#444}}}2e; margin:.50em; border-radius: .5em;">
+
<div style="padding: .5em; background: {{{color|#444}}}2e; margin:.500em; border-radius: .5em;">
 
{{{content}}}
 
{{{content}}}
 
</div></div></div><noinclude>[[Category:Templates]][[Category:Misc Styling Templates]]
 
</div></div></div><noinclude>[[Category:Templates]][[Category:Misc Styling Templates]]

Версия от 13:29, 26 ноября 2023

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

{{{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|32px]]Test1[[file:{{{image}}}|right|32px]]

Test2