Difference between revisions of "Template:Navbox"

From Morloch Wiki
Jump to: navigation, search
Line 1: Line 1:
{| style="width:100%; margin-top:1em; border:1px solid #{{{999}}}; font-size:90%; text-align:center;"
+
{| style="width:100%; margin-top:1em; border:1px solid #{{{999}}}; font-size:90%; text-align:center;border-top-left-radius: 30px;-moz-border-radius-bottomleft: 30px;border-bottom-right-radius: 30px;-moz-border-radius-bottomleft: 30px;margin: 15px 0px 7px 0px;"
 
|-
 
|-
! class="color1" style="padding:0em 0em; background:{{{bgcolor}}}; color:{{{textcolor}}}" nowrap="nowrap"| {{{header}}}
+
!style="background-color: #{{{bgcolor}}}; padding:0px; font-size:18px;border-top-left-radius: 30px;-moz-border-radius-topleft: 30px;border-bottom-right-radius: 30px;-moz-border-radius-bottomleft: 30px;color:#{{{textcolor}}};font-weight:bold;"|<span style="text-shadow: 2px 2px 3px black; color:white; font-family:Helvetica; font-size:12px;">{{{header}}}</span>
 
|-
 
|-
 
| colspan="2" style="padding:0.1em 0.1em;" | {{{body}}}
 
| colspan="2" style="padding:0.1em 0.1em;" | {{{body}}}

Revision as of 18:31, 21 September 2017

{{{header}}}
{{{body}}}

Template:T

Parameters

header: header content
body: body content
bgcolor: header background color
textcolor: header text color
wt: border weight

Copyable

{{Navbox
|header=
|body=
|bgcolor=
|textcolor=
|wt=
}}

Example

{{Navbox
|header=Navbars R Cool
|body=See what I mean?
|bgcolor=orange
|textcolor=red
|wt=999
}}

Yields:

Navbars R Cool
See what I mean?