Template:Navbar-table
Jump to navigation
Jump to search
Template documentation
Navigation bar for table templates, positioned above the table.
Usage:
{{navbar-table|{{subst:PAGENAME}}}}
{{navbar-table|{{subst:PAGENAME}}|
heading}}
Optionally you can also use named parameters:
{{navbar-table|template={{subst:PAGENAME}}}}
{{navbar-table|template={{subst:PAGENAME}}|heading=
heading}}
Note: Popular table cell templates (e.g. yes, no, tba, n/a) can cause issues when using the VisualEditor. The reason is that these templates contain a pipe character to separate formatting and text, but the VisualEditor isn't aware of this. As a result, table operations which change the table structure, such as merging/splitting cells or inserting/deleting/moving rows or columns, may not work properly.
Possible work-arounds for this issue:
- Using plain text instead of a table cell template (e.g.
TBA
). This could also be done temporarily until visual editing is complete. - Adding subst: in front of the template name (e.g.
{{subst:tba}}
), so the table cell formatting is inserted into the source. The downside of this method is that future changes to the table cell templates won't be applied.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |