Template:PopitBoxRow: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) (Created page with "<includeonly><div style="background-color: #fff; background-image: linear-gradient(#ffffffd0 20%, #ffffff40 100%); padding: 8px; min-height:{{{min-height|160px}}}; {{#if:{{{height|}}}|height:{{{height|500px}}};|}} {{#if:{{{width|}}}|width:{{{width|100%}}};|}} margin: 8px; text-align: {{{text-align|center}}}; border-radius:20px; -moz-border-radius:20px; -webkit-border-radius:20px; box-shadow:0px 0px 5px #ffffffd0; -moz-box-shadow:0px 0px 5px #ffffffd0; -webkit-box-shad...") |
DokkeFyxen (talk | contribs) m (padding) |
||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div | ||
style="background-color: #fff; background-image: linear-gradient(#ffffffd0 20%, #ffffff40 100%); padding: 8px; min-height:{{{min-height|160px}}}; {{#if:{{{height|}}}|height:{{{height|500px}}};|}} {{#if:{{{width|}}}|width:{{{width|100%}}};|}} | style="background-color: #fff; background-image: linear-gradient(#ffffffd0 20%, #ffffff40 100%); padding: {{{padding|8px}}}; min-height:{{{min-height|160px}}}; {{#if:{{{height|}}}|height:{{{height|500px}}};|}} {{#if:{{{width|}}}|width:{{{width|100%}}};|}} | ||
margin: 8px; text-align: {{{text-align|center}}}; | margin: {{{margin|8px}}}; text-align: {{{text-align|center}}}; | ||
border-radius:20px; -moz-border-radius:20px; -webkit-border-radius:20px; | border-radius:20px; -moz-border-radius:20px; -webkit-border-radius:20px; | ||
box-shadow:0px 0px 5px #ffffffd0; -moz-box-shadow:0px 0px 5px #ffffffd0; -webkit-box-shadow:0px 0px 5px #ffffffd0;"> | box-shadow:0px 0px 5px #ffffffd0; -moz-box-shadow:0px 0px 5px #ffffffd0; -webkit-box-shadow:0px 0px 5px #ffffffd0;"> | ||
{{#if:{{{no-head|}}}||<font face="Omnes SemiBold" size="+1">{{{header|Row Header}}}</font>}} | {{#if:{{{no-head|}}}||<font face="Omnes SemiBold" size="+1">{{{header|Row Header}}}</font><br>}}{{{content|Hello, this is the main content section.}}}</div></includeonly><noinclude> | ||
{{{content|Hello, this is the main content section.}}}</div></includeonly><noinclude> | |||
{{PopitBox|content= | {{PopitBox|content= | ||
Line 19: | Line 17: | ||
==Usage== | ==Usage== | ||
<pre>{{PopitBoxRow | <pre>{{PopitBoxRow | ||
| padding= Specified padding; defaults to 8px on all sides. | |||
| width= Specified width; defaults to fit the page. | | width= Specified width; defaults to fit the page. | ||
| height= Specified height. | | height= Specified height. |
Revision as of 18:11, 1 January 2024
Title
Header description. | |||
|
Creates a subsection for the PopitBox template.
Usage
{{PopitBoxRow | padding= Specified padding; defaults to 8px on all sides. | width= Specified width; defaults to fit the page. | height= Specified height. | min-height= Minimum height; used to set a minimum height for the box. | text-align= Text alignment. | no-head= if set to true, will remove the Header from the PopitBox. | header= Header text | content= Content of the main section below the header. }}