Template:PortalBox

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
(cat)
Current revision (00:05, November 3, 2016) (edit) (undo)
m (adding in margin auto to the wrapper)
 
(14 intermediate revisions not shown.)
Line 1: Line 1:
-
<div style="clear: both; position: relative; border: 1px solid {{{headerframe-color|#ababab}}}; border-width:1px; background:{{{header-bgcolor}}}; color:{{{header-textcolor|#000}}}; padding: 0.1em; text-align:center; margin-bottom: 0px;"><h2 style="font-size:100%; font-weight:bold; border: none; margin: 0; padding:0; padding-bottom:0.1em; color:#000;">{{{headertext}}}</h2></div><div style="display:block; border: 1px solid {{{contentframe-color}}}; border-top-width:1px; vertical-align: top;background:{{{content-bgcolor}}}; color:{{{content-textcolor|#000}}}; text-align:left; margin: 0 0 10px; padding:1em; padding-top:0.3em;">{{{{{content}}}}}<div style="text-align:right; margin:0.3em 0.2em 0em 0.3em; padding:0.3em 0.2em 0em 0.3em; font-size:smaller"><b>{{{footer|}}}</b></div></div><div style="clear:both;"></div>
+
<div style="text-align: left; margin: auto;">
-
<noinclude>
+
<div class="header" style="border: 1px solid {{{headerframe-color|#ababab}}}; background:{{{header-bgcolor}}}; color:{{{header-textcolor|#000}}}; padding: {{{headerpadding|0.25}}}em; padding-bottom:0.1em; margin-bottom: 0px; font-weight:bold;"><span style="margin-left:10px;">{{{headertext}}}</span></div>
 +
<div class="content" style="border: 1px solid {{{contentframe-color|#eeeeee}}}; vertical-align: top; background:{{{content-bgcolor}}}; color:{{{content-textcolor|#000}}}; margin: 0 0 10px; padding: 0.3em 1em 0.2em;">{{{{{content}}}}}</div>
 +
<div style="text-align:right; margin:0.3em 0.2em 0em 0.3em; padding:0.3em 0.2em 0em 0.3em; font-size:smaller"><b>{{{footer|}}}</b></div>
 +
</div><noinclude>
 +
__NOTOC__
{{documentation}}
{{documentation}}
[[Category:Portal templates|{{PAGENAME}}]]
[[Category:Portal templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Current revision

{{{headertext}}}
{{{{{content}}}}}
Personal tools
language