Template:BigTable: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly><div class="tc-big-table {{#ifeq: {{{is_header|}}} | 1 | is-article-header }}"><div class="inner"><table><tr class="header">{{{header_rows|}}}</tr><tr class="separator"><td colspan="999"></td></tr><tr class="section"><td></td><td colspan="999">{{{title|}}}</td></tr>{{{rows|}}}</table></div></div>{{#ifeq: {{{inline_backdrop|}}} | 1 | <div class="inline-backdrop"></div> }}</includeonly><noinclude>Big table that sits at the top of the page. Only use this if you..." |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="tc-big-table {{#ifeq: {{{is_header|}}} | 1 | is-article-header }}"><div class="inner"><table><tr class="header">{{{header_rows|}}}</tr><tr class="separator"><td colspan="999"></td></tr><tr class="section"><td></td><td colspan="999">{{{title|}}}</td></tr>{{{rows|}}}</table></div></div>{{#ifeq: {{{inline_backdrop|}}} | 1 | <div class="inline-backdrop"></div> }}</includeonly><noinclude>Big table that sits at the top of the page. Only use this if you know what you're doing since it requires some special HTML and CSS classes to look right. | <includeonly><div data-default-sort="{{{default_sort|}}}" class="tc-big-table {{#ifeq: {{{is_header|}}} | 1 | is-article-header }}"><div class="inner"><table><tr class="header">{{{header_rows|}}}</tr><tr class="separator"><td colspan="999"></td></tr><tr class="section"><td></td><td colspan="999">{{{title|}}}</td></tr>{{{rows|}}}</table></div></div>{{#ifeq: {{{inline_backdrop|}}} | 1 | <div class="inline-backdrop"></div> }}</includeonly><noinclude>Big table that sits at the top of the page. Only use this if you know what you're doing since it requires some special HTML and CSS classes to look right. | ||
== Usage == | == Usage == | ||
Line 10: | Line 10: | ||
| is_header = 1 | | is_header = 1 | ||
| inline_backdrop = 1 | | inline_backdrop = 1 | ||
| default_sort = slug | |||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 09:31, 2 June 2025
Big table that sits at the top of the page. Only use this if you know what you're doing since it requires some special HTML and CSS classes to look right.
Usage
{{BigTable | title = Content of the title section | header_rows = <th>1</th><th>2</th> | rows = <tr><td>Hello</td><td>World</td></tr> | is_header = 1 | inline_backdrop = 1 | default_sort = slug }}