Jump to content

Template:Navbox: Difference between revisions

From Pact Wiki
Default (talk | contribs)
m 4 revisions
 
Monk-moo (talk | contribs)
m 1 revision: Please work this time
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| style="width:100%; margin-top:1em; border:1px solid #999; font-size:90%; text-align:center;"
<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude>
|-
{{Documentation}}
! style="background-color:#3366CC; color:#FFFFFF; padding:0.2em 0.5em;" nowrap="nowrap" | {{{header}}}
</noinclude>
|-
| style="padding:0.2em 0.5em;" | {{{body}}}
|}<noinclude>
{{documentation}}</noinclude>

Latest revision as of 03:14, December 21, 2018


Description
This template is used to create a basic navbox.
Syntax
Type {{navbox{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} somewhere, with parameters as shown below.
Sample output
{{navbox
|header=Land of Bob
|body=This [[place]] and that [[place]].
}}

Results in...

{{#invoke:Navbox|navbox}}