Template:PopitBoxRow: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) m (padding) |
DokkeFyxen (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div | ||
style=" | class="popitboxrow" style="overflow-wrap: break-word; | ||
background-color:#fff; padding: {{{padding|8px}}}; min-height:{{{min-height|160px}}}; {{#if:{{{height|}}}|height:{{{height|500px}}};|}} {{#if:{{{width|}}}|width:{{{width|100%}}};|}} | |||
margin: {{{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; | ||
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; "> | ||
{{#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> | {{#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> | ||
Line 15: | 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 | ||
Line 27: | 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. }}