Difference between revisions of "Template:✓"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
|</noinclude>data-sort-value="{{{sort|Yes}}}" style="background: {{{color|#D2FFD2}}}; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-yes2" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} |{{{text|✓}}}<noinclude> | |</noinclude>data-sort-value="{{{sort|Yes}}}" style="background: {{{color|#D2FFD2}}}; color: black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-yes2" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} |{{{text|✓}}}<noinclude> | ||
|} | |} | ||
+ | If you want to use other attributes for the table cells, e.g. colspan or rowspan, they need to be put before the template call and there must be no vertical bar <code>|</code> in between them: | ||
+ | <pre> | ||
+ | This: |colspan=2 {{✓}} | ||
+ | Not: |colspan=2|{{✓}} | ||
+ | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 18:26, 28 December 2019
✓ |
If you want to use other attributes for the table cells, e.g. colspan or rowspan, they need to be put before the template call and there must be no vertical bar |
in between them:
This: |colspan=2 {{✓}} Not: |colspan=2|{{✓}}