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) mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div | ||
style=" | class="popitboxrow" style="overflow-wrap: break-word; | ||
margin: 8px; text-align: {{{text-align|center}}}; | background-color:#fff; padding: {{{padding|8px}}}; min-height:{{{min-height|160px}}}; {{#if:{{{height|}}}|height:{{{height|500px}}};|}} {{#if:{{{width|}}}|width:{{{width|100%}}};|}} | ||
border-radius:20px; - | margin: {{{margin|8px}}}; text-align: {{{text-align|center}}}; | ||
box-shadow:0px 0px 5px #ffffffd0; - | -moz-border-radius:20px; -webkit-border-radius:20px; border-radius:20px; | ||
{{#if:{{{no-head|}}}||<font face="Omnes SemiBold" size="+1">{{{header|Row Header}}}</font>}} | -moz-box-shadow:0px 0px 5px #ffffffd0; -webkit-box-shadow:0px 0px 5px #ffffffd0; box-shadow:0px 0px 5px #ffffffd0; "> | ||
{{#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 17: | Line 16: | ||
Creates a subsection for the PopitBox template. | Creates a subsection for the PopitBox template. | ||
[[Special:WhatLinksHere/Template:PopitBoxRow|Pages that use this template]] | |||
==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. | ||
Line 28: | Line 31: | ||
}}</pre> | }}</pre> | ||
[[Category: | [[Category:Content box templates]]</noinclude> |
Latest revision as of 17:45, 18 June 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. }}