Difference between revisions of "Template:Navbox"

From Emulation General Wiki
Jump to navigation Jump to search
m (1 revision)
Line 1: Line 1:
{| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;"
+
<includeonly><div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 0em 1em 1em 0; padding: 1px;">
|-
+
<div style="background: {{{color|}}}; border-radius: .2em; color: #282828; font-size:140%; padding: .4em .8em .5em;"><span style="opacity: .7;"></span> '''{{{header|}}}''' </div>
! style="background-color:#3366CC; color:#FFFFFF; padding:0.2em 0.5em;" nowrap="nowrap" | {{{header}}}
+
{{{body|}}}
|-
+
</div></includeonly><noinclude>
| style="padding:0.2em 0.5em;" | {{{body}}}
 
|}<noinclude>
 
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 07:14, 7 March 2016

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Navbox/doc to edit this documentation. (How does this work?)
Description
This template is used to create a basic navbox.
Syntax
Type {{navbox|<...>}} somewhere, with parameters as shown below.
Sample output
{{navbox
|header=Land of Bob
|body=This [[place]] and that [[place]].
|color=#EFECCA
}}

Results in...

Land of Bob

This [[place]] and that [[place]].