Difference between revisions of "Template:BannerHeader"
Jump to navigation
Jump to search
m (added missing charactername field to template) |
|||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | <includeonly> | ||
<div id="contentHeader" style="margin:0;padding:0;border-color:{{{basecolor|#00000}}};border-style:solid;border-width:1px 1px 0 1px;display:block;background-color:{{{basecolor|#000000}}};min-height:120px;font-family:{{{font|'Helvetica Neue', Helvetica, Arial, sans-serif}}};font-size:{{{fontsize|14px}}};color:{{{titlecolor|#fff}}}"> | <div id="contentHeader" style="margin:0;padding:0;border-color:{{{basecolor|#00000}}};border-style:solid;border-width:1px 1px 0 1px;display:block;background-color:{{{basecolor|#000000}}};min-height:120px;font-family:{{{font|'Helvetica Neue', Helvetica, Arial, sans-serif}}};font-size:{{{fontsize|14px}}};color:{{{titlecolor|#fff}}}"> | ||
<div class="headerLogo" style="float:left;height:100%;width:100px;margin-top:3px;margin-left:5px"> | <div class="headerLogo" style="float:left;height:100%;width:100px;margin-top:3px;margin-left:5px"> | ||
| − | [[ | + | [[Image:{{#if: {{{bannerimageleft|}}} | {{{bannerimageleft}}} | Transparent.png}}|{{#if: {{{bannerimageleftwidth|}}} | {{{bannerimageleftwidth}}} | 100}}px]] |
</div> | </div> | ||
<div class="headerLogo" style="float:right;height:100%;width:100px;margin-top:3px;margin-right:5px"> | <div class="headerLogo" style="float:right;height:100%;width:100px;margin-top:3px;margin-right:5px"> | ||
| − | [[ | + | [[Image:{{#if: {{{bannerimageright|}}} | {{{bannerimageright}}} | Transparent.png}}|{{#if: {{{bannerimagerightwidth|}}} | {{{bannerimagerightwidth}}} | 100}}px]] |
</div> | </div> | ||
<div class="headerContent" style="width:100%;text-align:center;"> | <div class="headerContent" style="width:100%;text-align:center;"> | ||
| Line 13: | Line 14: | ||
background-image: -o-linear-gradient(left, {{{basecolor|#000000}}}, {{{titlecolor|#fff}}}, {{{basecolor|#000000}}});" /> | background-image: -o-linear-gradient(left, {{{basecolor|#000000}}}, {{{titlecolor|#fff}}}, {{{basecolor|#000000}}});" /> | ||
<div style="display:inline-block;position:relative;top:-13px;line-height:1px;padding:0;color:#fff;font-size:25px;-webkit-transform: rotate(90deg);-moz-transform: rotate(90deg);transform: rotate(90deg);">§</div> | <div style="display:inline-block;position:relative;top:-13px;line-height:1px;padding:0;color:#fff;font-size:25px;-webkit-transform: rotate(90deg);-moz-transform: rotate(90deg);transform: rotate(90deg);">§</div> | ||
| − | <div class="quote" style="margin-top:-12px;font-variant:small-caps;letter-spacing:4px;font-size:16px;text-shadow:3px 3px 0px #2c2e38, 5px 5px 0px #5c5f72">{{{quote| | + | <div class="quote" style="margin-top:-12px;font-variant:small-caps;letter-spacing:4px;font-size:16px;text-shadow:3px 3px 0px #2c2e38, 5px 5px 0px #5c5f72">{{{quote|}}}</div> |
</div> | </div> | ||
</div> | </div> | ||
| + | </includeonly><noinclude> | ||
| + | {{Arcane-template-syntax}} | ||
| + | Use this template to create a top banner for a character with a title and quote. Optional pictures can be added. | ||
| + | ===Syntax=== | ||
| + | |||
| + | <nowiki>{{</nowiki>BannerHeader | ||
| + | | '''basecolor''' = #0487BD ''The background and border color, defaults to black.'' | ||
| + | | '''secondarycolor''' = #B4D8E7 ''The highlight color, defaults to dark gray'' | ||
| + | | '''font''' = 'Helvetica Neue', Helvetica, Arial, sans-serif ''Default font'' | ||
| + | | '''fontsize''' = 14px ''Default Font size'' | ||
| + | | '''charactername''' = 'Palatino Linotype', 'Book Antiqua', Palatino, serif ''Put your character name here'' | ||
| + | | '''titlefont''' = 'Palatino Linotype', 'Book Antiqua', Palatino, serif ''Font face for the character name'' | ||
| + | | '''titlesize''' = 35px ''Font-size for the Character Name'' | ||
| + | | '''titlecolor'''= #FFF ''Font color for the title and quote'' | ||
| + | | '''bannerimageleft''' (optional) = ImageName | ||
| + | | '''bannerimageleftwidth''' (optional) = 100 ''Pixel size for left image'' | ||
| + | | '''bannerimageright''' (optional) = ImageName | ||
| + | | '''bannerimagerightwidth''' (optional) = 100 ''Pixel size for right image'' | ||
| + | <nowiki>}}</nowiki> | ||
| + | |||
| + | ===Copy-paste=== | ||
| + | <nowiki>{{</nowiki>BannerHeader | ||
| + | |basecolor= | ||
| + | |secondarycolor= | ||
| + | |font= | ||
| + | |fontsize= | ||
| + | |charactername= | ||
| + | |titlefont= | ||
| + | |titlesize= | ||
| + | |titlecolor= | ||
| + | |bannerimageleft = | ||
| + | |bannerimageright = | ||
| + | <nowiki>}}</nowiki> | ||
| + | |||
| + | [[Category:Template]] | ||
| + | </noinclude> | ||
Latest revision as of 06:33, 26 December 2016
Warning! This template uses arcane features of template syntax, such as parser functions, or is particularly complex. Please don't edit it unless you know exactly what you're doing.
Use this template to create a top banner for a character with a title and quote. Optional pictures can be added.
Syntax
{{BannerHeader
| basecolor = #0487BD The background and border color, defaults to black.
| secondarycolor = #B4D8E7 The highlight color, defaults to dark gray
| font = 'Helvetica Neue', Helvetica, Arial, sans-serif Default font
| fontsize = 14px Default Font size
| charactername = 'Palatino Linotype', 'Book Antiqua', Palatino, serif Put your character name here
| titlefont = 'Palatino Linotype', 'Book Antiqua', Palatino, serif Font face for the character name
| titlesize = 35px Font-size for the Character Name
| titlecolor= #FFF Font color for the title and quote
| bannerimageleft (optional) = ImageName
| bannerimageleftwidth (optional) = 100 Pixel size for left image
| bannerimageright (optional) = ImageName
| bannerimagerightwidth (optional) = 100 Pixel size for right image
}}
Copy-paste
{{BannerHeader
|basecolor=
|secondarycolor=
|font=
|fontsize=
|charactername=
|titlefont=
|titlesize=
|titlecolor=
|bannerimageleft =
|bannerimageright =
}}