Template:NavTable
From Golly.Life Wiki
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
This template is used to create Navboxes.
You start by setting some named parameters to configure the table, then add rows to it using the {{NavRow}} or {{NavFooterRow}} templates.
Example:
{{NavTable | name = Richmond <!-- add state=mw-collapsible for the [Collapse] button to show up --> | state = mw-collapsible <!-- set the header text with `header` and color with `headercolor` --> | header = [[Richmond Harrison|Richmond Harrison]] | headercolor = #BADA55 <!-- Each positional parameter must be a {{NavRow}} or {{NavFooterRow}}. --> | {{NavRow |[[Richmond Harrison|Richmond Harrison]] |row1_title=is |my |row2_title=best |friend.}} | {{NavRow|Richmond Harrison is my best friend. Reply if he is your best friend also. }} | {{NavRow |Reply if |row1_title=he |is}} | {{NavRow |your |best}} | {{NavFooterRow |friend}} | {{NavFooterRow |also.}} }}
Richmond Harrison | is | my |
---|---|---|
best | friend. | |
Richmond Harrison is my best friend. Reply if he is your best friend also. | ||
Reply if | he | is |
your | best | |
friend | ||
also. |