Шаблон:Pageframecollapse: различия между версиями
Перейти к навигации
Перейти к поиску
imported>Quacks м Small tweak because im dumb |
imported>Quacks м Grammer fix |
||
| (не показано 7 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 1; border: .2em solid | <div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 1; border: .2em solid {{{color|#444}}}; background: {{{color|#444}}}; width: {{{width|100%}}}"> | ||
<div style="background: | <div style="background: {{{color|#444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>'''{{{title}}}'''</center></div> | ||
<div style="border: .2em solid | <div style="border: .2em solid {{{color|#444}}}; border-radius: .5em; background: #FFFFFF;"> | ||
<div style="padding: .5em; background: | <div style="padding: .5em; background: {{{color|#444}}}2e; margin:.25em; border-radius: .5em;"> | ||
<div class="mw-collapsible mw-collapsed" data-expandtext="Expand"> | |||
{{{header}}} | {{{header}}} | ||
< | <div class="mw-collapsible-content">{{{content}}} | ||
</div></div> | |||
</div></div></div> | </div></div></div> | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]][[Category:Misc Styling Templates]] | ||
==How to use this template== | |||
This template has several parameters and all of them will be displayed in the example below. The result for the example parameters of this template will also be shown below. | |||
<pre>{{Pageframecollapse | |||
| color = #005C53 | |||
| title = Test1 | |||
| header = Test2 | |||
| content = Test3 | |||
| width = 80% | |||
}} | |||
These parameters will result in the following: | |||
</pre> | |||
{{Pageframecollapse | |||
| color = #005C53 | |||
| title = Test1 | |||
| header = Test2 | |||
| content = Test3 | |||
| width = 80% | |||
}} | |||
</noinclude> | |||
Текущая версия от 18:52, 11 мая 2022
{{{header}}}
{{{content}}}
How to use this template
This template has several parameters and all of them will be displayed in the example below. The result for the example parameters of this template will also be shown below.
{{Pageframecollapse
| color = #005C53
| title = Test1
| header = Test2
| content = Test3
| width = 80%
}}
These parameters will result in the following:
Test2
Test3