Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
m ("Basic" Wikipedia Templates) |
m (Test) |
||
Line 1: | Line 1: | ||
− | {{ | + | <table cellspacing="0" style="border:1px solid #aaa; width:100%; margin:auto; clear:both; font-size:88%; text-align:center; padding:2px; background:#fdfdfd;"><tr><td style="padding:2px;"> |
− | {{{ | + | <table cellspacing="0" class="nowraplinks ;;"> |
− | {{ | + | <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={{tlnavbox}}|else= }}</div> |
− | {{{ | + | <span style="font-size:110%;">{{{title|}}}</span> |
+ | </th></tr> | ||
+ | <tr style="height:2px;"><td></td></tr> | ||
+ | {{if|test={{{abovetext|}}}|then=<tr><td style="text-align:center; padding-left:1em; padding-right:1em; background:#ddddff; background:#e6e6ff;;" colspan="3">{{{abovetext|}}}</td></tr>}} | ||
+ | <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|}}};">{{{group1|}}}</td> | ||
+ | <td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px; background:transparent;;;" class="navbox-list navbox-odd"> | ||
+ | <div style="padding:0em 0.25em">{{{list1|}}}</div> | ||
+ | </td> | ||
+ | <td style="width:0%;padding:0px 0px 0px 2px;" rowspan=3>{{{image|}}}</td> | ||
+ | </tr> | ||
+ | <!-----Remaining groups/lists-----> | ||
+ | {{if|test={{{group2|}}}{{{list2|}}}|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|}}};">{{{group2|}}}</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">{{{list2|}}}</div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{if|test={{{group3|}}}{{{list3|}}}|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|}}};">{{{group3|}}}</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">{{{list3|}}}</div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{if|test={{{group4|}}}{{{list4|}}}|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|}}};">{{{group4|}}}</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">{{{list4|}}}</div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{if|test={{{group5|}}}{{{list5|}}}|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|}}};">{{{group5|}}}</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">{{{list5|}}}</div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{if|test={{{group6|}}}{{{list6|}}}|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|}}};">{{{group6|}}}</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">{{{list6|}}}</div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{if|test={{{group7|}}}{{{list7|}}}|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|}}};">{{{group7|}}}</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">{{{list7|}}}</div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | }} | ||
+ | <!-----Below-----> | ||
+ | {{if|test={{{belowtext|}}}|then=<tr style="height:2px;"><td></td></tr> | ||
+ | <tr><td style="text-align:center; padding-left:1em; padding-right:1em; background:#ddddff; background:#e6e6ff;" colspan="3">{{{belowtext|}}}</td></tr>}} | ||
+ | |||
+ | </table> | ||
+ | </td></tr></table><noinclude>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.[[Category:Wikipedia Templates]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | {{Navbox | ||
+ | |nav=1 | ||
+ | |title=[[Movement]] | ||
+ | |group1=[[Movement]] | ||
+ | |list1=[[WaveSurfing]]{{dot}}[[PatternMovement]]{{dot}}[[CornerMovement]] | ||
+ | }} | ||
− | + | </noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 04:47, 21 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.
|