Template:GenericNonSortable/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{MessageBox | |||
|DON'T USE THIS ANYMORE, ITS VERY OUT OF DATE. YOU'VE BEEN WARNED.}} | |||
===This is out of date and shouldn't be used anymore, unless you REALLY like doing more work then necessary.=== | |||
= | |||
==Syntax== | ==Syntax== | ||
To make an entry for a generic NON SORTABLE table, use the Template call <pre>{{GenericNonSortable}}</pre> | To make an entry for a generic NON SORTABLE table, use the Template call <pre>{{GenericNonSortable}}</pre> | ||
Line 43: | Line 41: | ||
|row1cell3=Do! | |row1cell3=Do! | ||
}} | }} | ||
</pre> | |||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 23:15, 15 August 2025
This is out of date and shouldn't be used anymore, unless you REALLY like doing more work then necessary.
Syntax
To make an entry for a generic NON SORTABLE table, use the Template call
{{GenericNonSortable}}
Inside of the template you'll enter parameters to fill in the template with the appropriate information.
GenericNonSortable Template Variables
- columns - Number of columns in the table (default: 3)
- tableStyle=text-align:{n} - Alignment for the whole table
- row{n}cell{n}style=text-align:{n} - Alignment of a specific row/cell
- heading{n} - Text for each column header
- heading{n}colspan - Colspan attribute (if needed)
- row{n}cell{n} - Content for each cell in each row
Example
Below is an example of the syntax, and the resulting table that is created.
{{GenericNonSortable |tableStyle=text-align:right |columns=3 |heading1=I |heading2=Love |heading3=August! |row1cell1=Yes |row1cell2=I |row1cell3=Do! }}
I | Love | August! |
---|---|---|
Yes | I | Do! |