Template:Navbox: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) Created page with "<includeonly><templatestyles src="Template:Navbox/styles.css" /> <table class="navbox {{{bodyclass|}}}" style="{{{basestyle|}}}"> {{#if: {{{title|}}}| <caption class="navbox-title"> {{{title}}} </caption> }} {{#if: {{{above|}}}| <tr> <td class="navbox-above" colspan="2"> {{{above}}} </td> </tr> }} {{#if: {{{group1|}}}| <tr> <th class="navbox-group" scope="row">{{{group1}}}</th> <td class="navbox-list">{{{list1}}}</td> </t..." |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Navbox/styles.css" /> | <includeonly><templatestyles src="Template:Navbox/styles.css" /> | ||
<div class="navbox-container"> | |||
<table class="navbox {{{bodyclass|}}}" style="{{{basestyle|}}}"> | <table class="navbox {{{bodyclass|}}}" style="{{{basestyle|}}}"> | ||
{{#if: {{{title|}}}| | |||
<caption class="navbox-title"> | <caption class="navbox-title"> | ||
{{{title}}} | {{{title}}} | ||
</caption> | </caption> | ||
}} | |||
{{#if: {{{above|}}}| | |||
<tr> | <tr> | ||
<td class="navbox-above" colspan="2"> | <td class="navbox-above" colspan="2"> | ||
| Line 13: | Line 15: | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group1|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group1}}}</th> | <th class="navbox-group" scope="row">{{{group1}}}</th> | ||
<td class="navbox-list">{{{list1}}}</td> | <td class="navbox-list">{{{list1}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group2|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group2}}}</th> | <th class="navbox-group" scope="row">{{{group2}}}</th> | ||
<td class="navbox-list">{{{list2}}}</td> | <td class="navbox-list">{{{list2}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group3|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group3}}}</th> | <th class="navbox-group" scope="row">{{{group3}}}</th> | ||
<td class="navbox-list">{{{list3}}}</td> | <td class="navbox-list">{{{list3}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group4|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group4}}}</th> | <th class="navbox-group" scope="row">{{{group4}}}</th> | ||
<td class="navbox-list">{{{list4}}}</td> | <td class="navbox-list">{{{list4}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group5|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group5}}}</th> | <th class="navbox-group" scope="row">{{{group5}}}</th> | ||
<td class="navbox-list">{{{list5}}}</td> | <td class="navbox-list">{{{list5}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group6|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group6}}}</th> | <th class="navbox-group" scope="row">{{{group6}}}</th> | ||
<td class="navbox-list">{{{list6}}}</td> | <td class="navbox-list">{{{list6}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group7|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group7}}}</th> | <th class="navbox-group" scope="row">{{{group7}}}</th> | ||
<td class="navbox-list">{{{list7}}}</td> | <td class="navbox-list">{{{list7}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group8|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group8}}}</th> | <th class="navbox-group" scope="row">{{{group8}}}</th> | ||
<td class="navbox-list">{{{list8}}}</td> | <td class="navbox-list">{{{list8}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group9|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group9}}}</th> | <th class="navbox-group" scope="row">{{{group9}}}</th> | ||
<td class="navbox-list">{{{list9}}}</td> | <td class="navbox-list">{{{list9}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group10|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group10}}}</th> | <th class="navbox-group" scope="row">{{{group10}}}</th> | ||
<td class="navbox-list">{{{list10}}}</td> | <td class="navbox-list">{{{list10}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{group11|}}}| | |||
<tr> | <tr> | ||
<th class="navbox-group" scope="row">{{{group11}}}</th> | <th class="navbox-group" scope="row">{{{group11}}}</th> | ||
<td class="navbox-list">{{{list11}}}</td> | <td class="navbox-list">{{{list11}}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if: {{{below|}}}| | |||
<tr> | <tr> | ||
<td class="navbox-below" colspan="2"> | <td class="navbox-below" colspan="2"> | ||
| Line 98: | Line 100: | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | |||
</table></includeonly><noinclude> | |||
</table> | |||
</div></includeonly><noinclude> | |||
Basic navbox template for Landrace.Wiki. | Basic navbox template for Landrace.Wiki. | ||
Parameters: | |||
* <code>|title=</code> – heading shown at the top. | * <code>|title=</code> – heading shown at the top. | ||
* <code>|bodyclass=</code> – extra classes for the table (optional). | * <code>|bodyclass=</code> – extra classes for the table (optional). | ||
| Line 111: | Line 115: | ||
* <code>|below=</code> – optional row below all groups. | * <code>|below=</code> – optional row below all groups. | ||
See [[Template:Basic information]] for an example | See [[Template:Basic information]] for an example. | ||
</noinclude> | </noinclude> | ||
Revision as of 12:01, 20 November 2025
Basic navbox template for Landrace.Wiki.
Parameters:
|title=– heading shown at the top.|bodyclass=– extra classes for the table (optional).|basestyle=– extra inline styles for the table (optional).|above=– optional row above the groups.|group1=…|group11=– left column headers.|list1=…|list11=– right column lists.|below=– optional row below all groups.
See Template:Basic information for an example.