Difference between revisions of "Template:NavRow"
From Golly.Life Wiki
					|  (Created page with "<includeonly> <!-- Variable definitions --> {{#vardefine: rowcount | -1}} {{#fornumargs: | argno | _noname | {{#vardefine: rowcount | {{#expr: {{#var:argno}} - 1}}}} }}  {{#sw...") | 
| (No difference) | 
Latest revision as of 02:21, 5 February 2021
| Template documentation | 
|---|
| Note: portions of the template sample may not be visible without values provided. | 
| View or edit this documentation. (About template documentation) | 
| Editors can experiment in this template's sandbox and test case pages. | 
Description
Used to declare a new row for navboxes.
If called with no parameters (as {{NavRow}}), inserts an empty row.
If called with one anonymous parameter (as {{NavRow|<blah blah>}}), inserts a header row.
If called with multiple positional parameters, the first one will be used as the row header, and the rest will be used as sub rows, eg:
<table>{{NavboxRow|header}}</table>
creates a table like
| header | 
|---|
<table>{{NavboxRow|header|row1|row2|row1_title=row1}}</table>
creates a table like
| header | row1 | row1 | 
|---|---|---|
| row2 | ||
