Difference between revisions of "Template:BannerHeader"

From RPC Library
Jump to navigation Jump to search
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">
Line 16: Line 17:
 
</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''
 +
| '''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=
 +
|titlefont=
 +
|titlesize=
 +
|titlecolor=
 +
|bannerimageleft =
 +
|bannerimageright =
 +
<nowiki>}}</nowiki>
 +
 +
[[Category:Template]]
 +
</noinclude>

Revision as of 22:49, 11 October 2015

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 | 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= |titlefont= |titlesize= |titlecolor= |bannerimageleft = |bannerimageright =

}}