Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
Zachary Yan (talk | contribs) m (credits) |
(if nav option is not provided, don't take up 6em of the top bar with a blank space; this way the title is centered) |
||
Line 2: | Line 2: | ||
<table cellspacing="0" class="nowraplinks ;;"> | <table cellspacing="0" class="nowraplinks ;;"> | ||
<tr><th style="text-align:center; padding-left:1em; padding-right:1em; background:#ccccff; background:#ddddff;;{{{titlestyle|}}}" colspan=3> | <tr><th style="text-align:center; padding-left:1em; padding-right:1em; background:#ccccff; background:#ddddff;;{{{titlestyle|}}}" colspan=3> | ||
− | <div style="float:left; width:6em;text-align:left;"> | + | {{if|test={{{nav|}}}|then=<div style="float:left; width:6em;text-align:left;">{{tnavbar|{{{nav|}}}}}</div>}} |
<span style="font-size:110%;">{{{title|}}}</span> | <span style="font-size:110%;">{{{title|}}}</span> | ||
</th></tr> | </th></tr> |
Revision as of 13:52, 11 August 2018
|
This template is not the same as wikipedia:Template:Navbox, even though the use is similar.
This template has been edited to use pure-wiki code, and not requiring any specific extension found on Wikipedia.
It has also been heavily simplified. Expand with more parameters if you (really) want to.
Courtesy of Robowiki
|
{{Navbox |title=[[Movement]] |group1=[[Movement]] |list1=[[WaveSurfing]]{{dot}}[[PatternMovement]]{{dot}}[[CornerMovement]] }}
Other parameters are:
- |nav={{{MAINPAGENAME}}} (Set if you want to include {{tnavbar}}
to the left of the title)
- |abovetext= (Additional text below title but above groups)
- |belowtext= (Additional text below groups)
- |image= (Image to the right of the groups)
- |groupstyle= (Customizable the style of the groupboxen)
- |titlestyle= (Customizable the style of the titlebox)
See wikipedia:Template:Navbox for examples.