Difference between revisions of "Template:✗"

From Emulation General Wiki
Jump to navigation Jump to search
(Undo revision 23002 by 95.1.16.0 (talk) ditto)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>{| class="wikitable"
 
<noinclude>{| class="wikitable"
 
|-
 
|-
|</noinclude>data-sort-value="{{{sort|No}}}" style="background: {{{color|#FFD2FF}}}; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-no2" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} | {{{text|✗}}}<noinclude>
+
|</noinclude>data-sort-value="{{{sort|No}}}" style="background: {{{color|#FFD2D2}}}; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-no2" {{#if:{{{rowspan|}}}|rowspan="{{{rowspan}}}"}} | {{{text|✗}}}<noinclude>
 
|}
 
|}
 +
 +
If you want to use other attributes in the cell, 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:
 +
 +
{|
 +
|'''This:''' || <code><nowiki>|colspan=2 {{✗}}</nowiki></code>
 +
|-
 +
|'''Not:'''  || <code><nowiki>|colspan=2|{{✗}}</nowiki></code>
 +
|}
 +
 +
[[Category:Table cell templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:52, 18 September 2021

If you want to use other attributes in the cell, 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|{{✗}}