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

Материал из Chaotic Onyx
Перейти к навигацииПерейти к поиску
(Новая страница: «<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: {...»)
 
Строка 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%}}};">
+
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0.2em 1em 0.2em; padding: 1px;">
<div style="background: {{{color|#444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>'''{{{title}}}'''</center></div>
+
<div style="background: #{{{color|888}}}; 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="padding: 1em; background: #{{{color}}}3e">{{{content}}}</div></div>
<div style="padding: .5em; background: {{{color|#444}}}2e; margin:.25em; border-radius: .5em;">
+
 
{{{content}}}
 
</div></div></div><noinclude>[[Category:Templates]][[Category:Misc Styling Templates]]
 
 
==How to use this template==
 
==How to use this template==
 
This template has several parameters and all of them will be displayed in the example below.
 
This template has several parameters and all of them will be displayed in the example below.

Версия от 13:10, 26 ноября 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

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:

Обнаружена петля в шаблонах: Шаблон:Pageframe </noinclude>