Template:Pageframecollapse: Difference between revisions

From Skyrat
Jump to navigation Jump to search
For use in SOP stuff, wanting to make it look fancy, like paradise's stuff since thats what im most used to looking at.
 
m Grammer fix
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;">
<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: #{{{color|888}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;">
<div style="background: {{{color|#444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>'''{{{title}}}'''</center></div>
  <center>
<div style="border: .2em solid {{{color|#444}}}; border-radius: .5em; background: #FFFFFF;">
  [[file:{{{image}}}|left|24px]]'''{{{title}}}'''[[file:{{{image}}}|right|24px]]
<div style="padding: .5em; background: {{{color|#444}}}2e; margin:.25em; border-radius: .5em;">
  </center>
<div class="mw-collapsible mw-collapsed" data-expandtext="Expand">
</div>
{{{header}}}
<div style="padding: 1em; background: #{{{color}}}4e">
<div class="mw-collapsible-content">{{{content}}}
  <div class="wikitable mw-collapsible mw-collapsed">
</div></div>
  {{{header}}}
</div></div></div>
    <div class="mw-collapsible-content">{{{content}}}
<noinclude>[[Category:Templates]][[Category:Misc Styling Templates]]
    </div>
==How to use this template==
  </div>
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.
</div>
<pre>{{Pageframecollapse
</div>
| color = #005C53
<noinclude>
| title = Test1
[[Category:Templates]]
| 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>
</noinclude>

Latest revision as of 18:52, 11 May 2022

{{{title}}}

{{{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:
Test1

Test2

Test3