Template:MainBlueHeader: Difference between revisions
Content added Content deleted
(Created page with "<includeonly>{| style="margin-bottom:.5em; width:99%; font-size:95%; text-align:left; padding:-2px; background:none" cellpadding="0" cellspacing="0" | rowspan="2" width="100%" style="background:#FFF; border:2px solid #{{Switch|{{{1|}}}| case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| }}; border-bottom:0; padding-right:1em; -moz-border-radius-topright:5em;border-right:0" | [[Image:Headerbox_{{{1|}}}.png]] <div style="font-size:130%; margin-t...") |
(Replaced content with "style="width: 33%; background: #FCFCFC; border: 1px solid #AAA; vertical-align: top;" | <div style="background: #7EB6FF; border: 1px solid #778899; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 103%;">") Tag: Replaced |
||
Line 1: | Line 1: | ||
⚫ | |||
<includeonly>{| style="margin-bottom:.5em; width:99%; font-size:95%; text-align:left; padding:-2px; background:none" cellpadding="0" cellspacing="0" |
|||
<div style="background: #7EB6FF; border: 1px solid #778899; padding: 5px; margin: 3px; font-weight: bold; text-align: center; font-size: 103%;"> |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}; border-bottom:0; padding-right:1em; -moz-border-radius-topright:5em;border-right:0" | [[Image:Headerbox_{{{1|}}}.png]] <div style="font-size:130%; margin-top:-33px; padding-left:43px"> '''{{{title}}}'''</div><div style="font-size:130%; margin-top:-15px; padding-left:11px; cursor:default"> {{click-inline| image = {{{image}}} | link = {{FULLPAGENAME}} | width = {{{px|22}}}px | height = {{{px|22}}}px}}</div> |
|||
|- |
|||
| style="border-right:2px solid #{{Switch|{{{1|}}}| |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}; border-top:2px solid #{{Switch|{{{1|}}}| |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}" | |
|||
|- |
|||
⚫ | |||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}; border-top:0; border-bottom:0;" colspan="3" valign="top" | |
|||
{{{content}}} |
|||
|- |
|||
| colspan="3" style="padding-top:4px;background:#FFF; border:2px solid #{{Switch|{{{1|}}}| |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}; border-top:0; border-bottom:0" valign="top" | <span style="float:right; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 80%; padding:0 .5em 0 2em">{{{footer}}}</span> |
|||
|- |
|||
| colspan="3" style="padding:0;margin:0" | <div style="-moz-border-radius-bottomright:1em; -moz-border-radius-bottomleft:1em; background:#{{Switch|{{{1|}}}| |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}; height:10px; border:1px solid #{{Switch|{{{1|}}}| |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}; border-right:2px solid #{{Switch|{{{1|}}}| |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}; border-left:2px solid #{{Switch|{{{1|}}}| |
|||
case: blue=63A4FF|case: green=94CF1A|case: yellow=F1B80D|case: default=63A4FF| |
|||
}}"> |
|||
</div> |
|||
|}</includeonly> |
|||
<noinclude> |
|||
==Using the Template== |
|||
This template provides an easy on the eyes box of a number of colors where the color fades to white behind the title (see below). |
|||
<div style="width: 20em; padding:0.5em 1em; border: 1px dotted gray; background: #EFE; font-size:90%"> |
|||
<tt>'''<nowiki>{{Headerbox|Color</nowiki>'''</tt><br /> |
|||
<tt>'''|title='''</tt><br /> |
|||
<tt>'''|image='''</tt><br /> |
|||
<tt>'''|px='''</tt><br /> |
|||
<tt>'''|link='''</tt><br /> |
|||
<tt>'''|footer='''</tt><br /> |
|||
<tt>'''<nowiki>}}</nowiki>'''</tt></div> |
|||
Colors you can use are blue, green and yellow. |
|||
---- |
|||
{|style="background:none" width="100%" cellspacing="8" cellpadding="0" |
|||
|- |
|||
|width="33%"|{{Headerbox|blue|title=title |
|||
|link= |
|||
|image=Best-of-Fun-Stuff-Book.png |
|||
|content=''<nowiki>{{blue|content}}</nowiki>'' |
|||
|footer=''<nowiki>{{footer}}</nowiki>'' |
|||
}} |
|||
|width="33%"|{{Headerbox|green|title=title |
|||
|link= |
|||
|image=Best-of-Fun-Stuff-Book.png |
|||
|content=''<nowiki>{{green|content}}</nowiki>'' |
|||
|footer=''<nowiki>{{footer}}</nowiki>'' |
|||
}} |
|||
|width="33%"|{{Headerbox|yellow|title=title |
|||
|link= |
|||
|image=Best-of-Fun-Stuff-Book.png |
|||
|content=''<nowiki>{{yellow|content}}</nowiki>'' |
|||
|footer=''<nowiki>{{footer}}</nowiki>'' |
|||
}} |
|||
|}[[Category:Main Page]]</noinclude> |
Latest revision as of 00:41, 30 May 2022
style="width: 33%; background: #FCFCFC; border: 1px solid #AAA; vertical-align: top;" |