Difference between revisions of "Template:Navbox"

From Robowiki
Jump to navigation Jump to search
m (Minor Adjustment)
m (Expanding to 15 rows)
 
Line 67: Line 67:
 
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:transparent;;;" class="navbox-list navbox-even">
 
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:transparent;;;" class="navbox-list navbox-even">
 
<div style="padding:0em 0.25em">{{{list7|}}}</div>
 
<div style="padding:0em 0.25em">{{{list7|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group8|}}}{{{list8|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group8|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:#f7f7f7;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list8|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group9|}}}{{{list9|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group9|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:transparent;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list9|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group10|}}}{{{list10|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group10|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:#f7f7f7;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list10|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group11|}}}{{{list11|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group11|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:transparent;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list11|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group12|}}}{{{list12|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group12|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:#f7f7f7;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list12|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group13|}}}{{{list13|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group13|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:transparent;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list13|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group14|}}}{{{list14|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group14|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:#f7f7f7;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list14|}}}</div>
 +
</td>
 +
</tr>
 +
}}
 +
{{if|test={{{group15|}}}{{{list15|}}}|then=
 +
<tr style="height:2px"><td></td></tr>
 +
<tr>
 +
<td style="white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em;  background:#ddddff;  background:#e6e6ff;;{{{groupstyle|}}};">{{{group15|}}}</td>
 +
<td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;  background:transparent;;;" class="navbox-list navbox-even">
 +
<div style="padding:0em 0.25em">{{{list15|}}}</div>
 
</td>
 
</td>
 
</tr>
 
</tr>

Latest revision as of 14:14, 26 September 2008

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.

{{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.